RE: Searching two words

2013-07-12 Thread raghavendra.k.rao
Uwe, Thank you very much for your suggestions! Raghu -Original Message- From: Uwe Schindler [mailto:u...@thetaphi.de] Sent: Friday, July 12, 2013 2:02 AM To: java-user@lucene.apache.org Subject: RE: Searching two words Hi, - if you want to search for those both words next to each othe

Re: NRT + static rank based sorting

2013-07-12 Thread Sriram Sankar
Thanks! On Tue, Jul 9, 2013 at 2:13 PM, Adrien Grand wrote: > Hi Sriram, > > On Tue, Jul 9, 2013 at 5:06 AM, Sriram Sankar wrote: > > I've finally got something running and will send you some performance > > numbers as promised shortly. In the meanwhile, I've a question regarding > > the use

Re: posting list strings

2013-07-12 Thread Sriram Sankar
Thanks! On Tue, Jul 9, 2013 at 2:34 PM, Uwe Schindler wrote: > Hi, > > You can replace the term by their hash directly in the analyzer chain. > Just write a custom TermToBytesRef attribute that hashes the term to a > constant-length byte[] (using a AttributeFactory)! :-) This would give you > a

Injecting custom synonyms in Lucene

2013-07-12 Thread gtkesh
Hi everyone! I tried to inject the synonyms during indexing. I created a custom analyzer. It pretty much does the same as a standard analyzer with an addition of having synonym filter. During indexing and searching, I pass this custom analyzer to both indexwriter and indexsearcher, but the result