You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Joe Calderon <ca...@gmail.com> on 2009/10/20 19:53:26 UTC

max words/tokens

i have a pretty basic question, is there an existing analyzer that
limits the number of words/tokens indexed from a field? let say i only
wanted to index the top 25 words...

thx much

--joe

Re: max words/tokens

Posted by Joe Calderon <ca...@gmail.com>.
cool np, i just didnt want to duplicate code if that already existed.

On Tue, Oct 20, 2009 at 12:49 PM, Yonik Seeley
<yo...@lucidimagination.com> wrote:
> On Tue, Oct 20, 2009 at 1:53 PM, Joe Calderon <ca...@gmail.com> wrote:
>> i have a pretty basic question, is there an existing analyzer that
>> limits the number of words/tokens indexed from a field? let say i only
>> wanted to index the top 25 words...
>
> It would be really easy to write one, but no there is not currently.
>
> -Yonik
> http://www.lucidimagination.com
>

Re: max words/tokens

Posted by Yonik Seeley <yo...@lucidimagination.com>.
On Tue, Oct 20, 2009 at 1:53 PM, Joe Calderon <ca...@gmail.com> wrote:
> i have a pretty basic question, is there an existing analyzer that
> limits the number of words/tokens indexed from a field? let say i only
> wanted to index the top 25 words...

It would be really easy to write one, but no there is not currently.

-Yonik
http://www.lucidimagination.com