lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erick Erickson <erickerick...@gmail.com>
Subject Re: How to fix the number of searched terms for a field
Date Tue, 03 May 2011 12:13:19 GMT
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 <harshcode@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-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message