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

2013-08-18 Thread Ankit Murarka
Hello All, The smallest possible self contained program using RAMDirectory and no external classes is being mentioned below.kindly assist me in what might be wrong. **package example; import org.apache.lucene.analysis.Analyzer; import org.apache.lucene.analysis.standard.StandardAnalyzer; imp

Re: How important is single segment optimization to Search time performance?

2013-08-18 Thread Uwe Schindler
Hi, I would suggest to read: http://www.searchworkings.org/blog/-/blogs/380798 In general, if the index changes often, don't force merges. IndexWriter automatically merges to a suitable number of segments. Uwe Gili Nachum schrieb: >Hi there Lucene samurai! > >*I was wondering how important

How important is single segment optimization to Search time performance?

2013-08-18 Thread Gili Nachum
Hi there Lucene samurai! *I was wondering how important is single segment merging for search time performance compared to a more modest merging goal like merging down to just 4 segment. * Currently my system merges every evening, it takes ~1-2 hours, and invalidates the File-system cache. What wo

BM25F ranker in Lucene 4.4

2013-08-18 Thread Amirhossein Aleyasin
Hi, I found out the BM25 ranker has implemented in new version of Lucene. I want to know is there any implementation for BM25F too or not? if no, how I can implement it in Lucene? Thanks

Re: How to get hits coordinates in Lucene 4.4.0

2013-08-18 Thread Karl Wettin
On Aug 13, 2013, at 12:55 PM, Michael McCandless wrote: > I'm less familiar with the older highlighters but likely it's possible > to get the absolute offsets from them as well. Using vector highlighter I've achieved that by extending and cloning the code of ScoreOrderFragmentsBuilder#makeFrag

Re: SPI class of type org.apache.lucene.codecs.Codec error

2013-08-18 Thread Amal Kammoun
Hi Uwe, Please find here the two links http://lesimisped.free.fr/servo/servicesP1.png http://lesimisped.free.fr/servo/servicesP2.png When we open org.apache.lucene.codecs.Codec, the both have the same content org.apache.lucene.codecs.lucene40.Lucene40Codec org.apache.lucene.codecs.lucene3x.Lucene