All Questions
Tagged with faceted-search lucene.net
15 questions
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 ...
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 ...
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 = ...
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 ...
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 ...
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 ...
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[] { "...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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....
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 ...