lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <>
Subject Re: Phrase query given a word
Date Thu, 23 Apr 2015 19:52:18 GMT

May be LUCENE-5317 relevant?


On Thursday, April 23, 2015 8:33 PM, Shashidhar Rao <> wrote:

I have a large text and from that I need to calculated the top frequencies
of words ,
say 'Driving' occurs the most.

Now , I need to find phrase containing 'Driving' in the given text and the
frequency count of that phrase. The phrase could be three words where
driving could be in the middle or the first text with two words after that
or it could be the last text with two words before the given text.

I would appreciate if someone could post the source code , I am using
lucene4.10 ,
please let me know if this is possible.

Currently, I am doing a brute force but that isn't helping me much.

Please help


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message