Re: checking index for existance of paths

2013-09-24 Thread Roberto Ragusa
:tmp' , 'filename:test' and 'filename:t1.txt'. Which is _not_ what I > want. > > What can I do to check for a complete file path? Do not use the QueryParser. You do not want an Analyzer, so just create a TermQuery

Re: Strange performance of Lucene 4.4.0

2013-09-08 Thread Roberto Ragusa
nce, which does not sort at all! The > executed query is a simple TermQuery, the index contains about 2'000'000 > documents. This is quite strange.. > Are the results sorted in the first case? (maybe by ranking) -- Roberto Ragusamail at robertoragusa.it -

Re: Boolean Query when indexing each line as a document.

2013-08-21 Thread Roberto Ragusa
ex document by document for > Boolean/Prefix/Wildcard... Sorry, i don't understand this. -- Roberto Ragusamail at robertoragusa.it - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Re: Boolean Query when indexing each line as a document.

2013-08-21 Thread Roberto Ragusa
s complete blocker. I do not know how PhraseSuggestion/InfixSuggestion work, but, assuming there is no better solution, you could try indexing both a Field and a StringField (with different field names) and using the first for searching and the second for suggesti

Re: Boolean Query when indexing each line as a document.

2013-08-19 Thread Roberto Ragusa
On 08/19/2013 08:17 AM, Ankit Murarka wrote: > doc.add(new StringField("contents",line,Field.Store.YES)); Did you try with: doc.add(new Field("contents",line,Field.Store.YES)); ? -- Roberto Ragusam

Re: Regarding Lucene Highlighting feature.

2013-07-05 Thread Roberto Ragusa
works beautifully. And the performance is not bad at all. Well, I actually do this for each _field_ in a document I want to highlight (for reasons I will not go to explain). Best regards. -- Roberto Ragusamail at robertoragusa.it --

Re: how to fetch qyery feild + other feild related results in Lucene3.6

2013-06-24 Thread Roberto Ragusa
killing you. Do you see disk activity or is it entirely cached? What operating system are you running on? -- Roberto Ragusamail at robertoragusa.it - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Re: how to fetch qyery feild + other feild related results in Lucene3.6

2013-06-22 Thread Roberto Ragusa
to understand if I had misread seconds for milliseconds or MB for GB... -- Roberto Ragusamail at robertoragusa.it - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Re: how to fetch qyery feild + other feild related results in Lucene3.6

2013-06-22 Thread Roberto Ragusa
search for "field4:ABC". If the first search returns many results, I suppose you may want to add them all to the second search. -- Roberto Ragusamail at robertoragusa.it - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For additional commands, e-mail: java-user-h...@lucene.apache.org

Doing concurrent searches efficiently

2013-06-19 Thread Roberto Ragusa
ion 3.0, but I would be really interested to hear if newer versions have different characteristics. Thanks. -- Roberto Ragusamail at robertoragusa.it - To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org For add