Why do you want to do this? I'm wondering if this is an XY problem...

See: http://people.apache.org/~hossman/#xyproblem

Best
Erick

On Tue, May 3, 2011 at 7:55 AM, harsh srivastava <harshc...@gmail.com> wrote:
> Hi All,
>
>
> I want to know any inbuilt method in lucene that can help me to fix the
> number of searched terms for a given field e.g.
> Suppose I have given content:(text1 text2 text3 text4 text5) to search and
> want to limit it to 3 words only i.e. content:(text1 text2 text3)
>
> Please help.
>
> Thanks,
> Harsh
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org
For additional commands, e-mail: java-user-h...@lucene.apache.org

Reply via email to