Skip to main content

All Questions

Filter by
Sorted by
Tagged with
1 vote
0 answers
135 views

lucene.net DoubleRangeFacetCounts doesn't handle multi value fields

We create a price facet for a lot of our customers and generally we put sale price and list price both into the facet. Example Items: Hat, Sale: $5 List $11 We enter both of those into the document ...
Brandon West's user avatar
1 vote
1 answer
275 views

Lucene.net 4.8: Order of adding facetfields of importance?

Lets say I have 2 documents with 2 tags each. Doc 1: Tag 1, Tag 2 Doc 2: Tag 2, Tag 1 I'm building a document in lucene like this: var doc = new Document { new ...
brechtvhb's user avatar
  • 1,048
1 vote
2 answers
731 views

Lucene.net 4.8: Search by facet field

I am trying to write a filter in lucene.net which matches all blog posts who have at least one tag from a set of tags. I'm trying the following but this always returns 0 results: var bq = ...
brechtvhb's user avatar
  • 1,048
2 votes
0 answers
65 views

Best search technologies for .NET faceted results with calculated fields

I am developing a search app that needs to return faceted results depending on certain criteria. Some of the criteria are used for calculating computed fields which should also be filtered on. The ...
Fanie Reynders's user avatar
0 votes
0 answers
118 views

Why does SimpleFacetedSearch result in a OutOfMemory exception in lucene.net?

I am using Lucene.net to perform faceted searches for a MVC based web app hosted on Azure. The index consists of approx. 2 million entries. Each entry has 1 Analysed field and about 25 Non Analysed ...
DaliChord's user avatar
2 votes
1 answer
1k views

Get all facets in lucene.net using SimpleFacetedSearch

I am trying to implement faceted search by using the SimpleFacetedSearch example that was added to Lucene 2.9.4 and I want to know whether is it possible to get all the facets in Lucene.NET using ...
Hardik Dobariya's user avatar
8 votes
0 answers
1k views

How to do sorting in Lucene.Net faceted search

Currently I am doing Faceted search on indexes created by Lucene.NET. Below is my code. var query = new MatchAllDocsQuery(); var factedSearch = new SimpleFacetedSearch(luceneIndexReader,new[] { "...
Bishwaranjan's user avatar
2 votes
1 answer
236 views

Is there a special way to do faceting on numeric fields in Lucene?

In an application using Lucene.Net, I have a numeric field that stores integers. The cardinality of the values is rather low (typically less than 20-30 different values). I'd like to do a faceted ...
Andre Loker's user avatar
  • 8,408
1 vote
1 answer
475 views

What would be the best way to index and search my data using Lucene?

I’ve found multiple questions on SO and elsewhere that ask questions along the lines of “How can I index and then search relational data in Lucene”. Quite rightly these questions are met with the ...
Andy McCluggage's user avatar
2 votes
1 answer
543 views

Solr on a .NET site

I've got an ASP.NET site backed with a SQL Server database. I'm been using Lucene.NET to index and search the database. I'm adding faceted search navigation to the results page (the facets are a ...
Paul's user avatar
  • 6,218
1 vote
2 answers
1k views

Lucene.NET Faceted Search

I am building a faceted search with Lucene.NET, not using Solr. I want to get a list of navigation items within the current query. I just want to make sure I'm pointed in the right direction. I've got ...
Paul's user avatar
  • 6,218
8 votes
1 answer
2k views

Lucene.NET 2.9 and BitArray/DocIdSet

I found a great example on grabbing facet counts on a base query. It stores the bitarray of the base query to improve the performance each time the a facet gets counted. var genreQuery = new ...
Paul Knopf's user avatar
  • 9,766
2 votes
2 answers
4k views

Lucene.NET faceted search

I found a great tutorial on performing a faceted search. http://www.devatwork.nl/articles/lucenenet/faceted-search-and-drill-down-lucenenet/ This article does not explain how to retrieve the ...
Paul Knopf's user avatar
  • 9,766
4 votes
1 answer
2k views

Solr/Lucene: Indexing facet values

For example, say I have the following facet: Colors Red (7825) Orange (2343) Green (843) Blue (5412) In my database, colors would be a table and each color would have a primary key and a name/value....
Jesse MacVicar's user avatar
6 votes
2 answers
3k views

Can someone explain to me what this GetCardinality method is doing?

I've been looking into faceted search with Lucene.NET, I've found a brilliant example here which explains a fair amount, apart from the fact that it completely overlooks the function which checks the ...
John_'s user avatar
  • 2,971