Re: how to put multiplue proximity search in lucene??

2012-07-26 Thread neerajshah84
also PhraseQuery.setSlop(n). You could also look at the Span > queries e.g. SpanNearQuery. > > > -- > Ian. > > > On Wed, Jul 25, 2012 at 6:13 AM, neerajshah84 <[hidden > email]<http://user/SendEmail.jtp?type=node&node=3997169&i=0>> > wrote: > > >

Re: how can i search multiple words in line and paragraph?

2012-07-26 Thread neerajshah84
lp you. You can do a whole > lot of stuff with spans - see > http://www.lucidimagination.com/blog/2009/07/18/the-spanquery/ for a > good intro. > > Lucene 2.9 is ancient. You should upgrade. > > > -- > Ian. > > > On Wed, Jul 25, 2012 at 6:20 AM, neerajshah84 &

how can i search multiple words in line and paragraph?

2012-07-24 Thread neerajshah84
i have requirement that have to search multiple words in paragraph and in line depending upon the situation. how can i do this in lucene. im using Lucene2.9. -- View this message in context: http://lucene.472066.n3.nabble.com/how-can-i-search-multiple-words-in-line-and-paragraph-tp3997142.html

how to put multiplue proximity search in lucene??

2012-07-24 Thread neerajshah84
how can i put multiplue proximity search in lucene?? example :- i want to search like "fear,dark" in two words and dark adjucent to "tight" and tight,free in 3 words. Query :- fear2dark tight3free how can i do this in lucene?? -- View this message in context: http://lucene.472066.n3.nabb

How to display result like google like display text with search result?

2012-03-19 Thread neerajshah84
im using lucene2.9 and i need display search result like filename,filepath,textContent.. this text content highlight the matched string. When click on the search result ,it will go to the exact file and and the exact line. i tried to do it but my index size is very huge around 250MB, i think im doi