Hi,
Suppose we have a query "balcony table". I want results to be returned by
exact match (first priority) and by single words matching as well (for
"balcony" or for "table"). So currently my solution is:
Analyzer analyzer = new SnowballAnalyzer("English",
StopAnalyzer.ENGLISH_STOP_WORDS_SET);
Hi,
Prior to search I have a concrete list of Lucene Document Ids (different
every time) and I want to limit my search only to those specific documents.
Is there a way to do it? I don't need to check any fields or anything, I
know the possible document ids before so if possible I wouldn't want to u
Hi,
Well, those are Lucene Document Ids I am talking about. And I know it could
be done using a Filter with a Query, but I thought that if I can tell Lucene
to somehow look in a specified set of Documents, it would speed up the
search substantially. Otherwise it's just the same as adding 5000 Claus
Hi,
I try to set the filter but I encounter the following problem - while
overriding Bits method, how do I know the document id from the indexReader I
get in the method?
I can see the documents by indexReader.Documents, but no id there..
--
View this message in context:
http://lucene.472066.n3.
I work with Lucene.Net. , version 2.9
The code is :
Searching:
Filter filter = new PictureIdFilter( allowedResources );
TopDocs docs = searcher.Search( boolQuery, filter, documentCount );
ScoreDoc[] hits = docs.scoreDocs;
And the filter is :
class PictureIdFilter : Filter
+{
+ILog lo
Because that was still way too slow and I am looking whether I can use this
information that I got (document Ids) to speed things up...
--
View this message in context:
http://lucene.472066.n3.nabble.com/Restrict-Lucene-search-in-concrete-document-ids-tp4013905p4015138.html
Sent from the Lucene