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 Pierre-Yves LANDRON <pl...@hotmail.com> on 2009/07/07 17:02:21 UTC
Browse indexed terms in a field
Hello,
Here is what I would like to achieve : in an indexed document there's a fulltext indexed field ; I'd like to browse the terms in this field, ie. get all the terms that match the begining of a given word, for example.
I can get all the field's facets for this document, but that's a lot of terms to process ; is there a way to constraint the returned facets ?
Thank you for your highlights.
Kind regards,
Pierre.
_________________________________________________________________
More than messages–check out the rest of the Windows Live™.
http://www.microsoft.com/windows/windowslive/
RE: Browse indexed terms in a field
Posted by Pierre-Yves LANDRON <pl...@hotmail.com>.
Thanks !
it seems that can do the trick...
> Date: Tue, 7 Jul 2009 11:10:15 -0400
> Subject: Re: Browse indexed terms in a field
> From: bill.w.au@gmail.com
> To: solr-user@lucene.apache.org
>
> You can use facet.perfix to match the beginning of a given word:
>
> http://wiki.apache.org/solr/SimpleFacetParameters#head-579914ef3a14d775a5ac64d2c17a53f3364e3cf6
>
> Bill
>
> On Tue, Jul 7, 2009 at 11:02 AM, Pierre-Yves LANDRON
> <pl...@hotmail.com>wrote:
>
> >
> > Hello,
> >
> > Here is what I would like to achieve : in an indexed document there's a
> > fulltext indexed field ; I'd like to browse the terms in this field, ie. get
> > all the terms that match the begining of a given word, for example.
> > I can get all the field's facets for this document, but that's a lot of
> > terms to process ; is there a way to constraint the returned facets ?
> >
> > Thank you for your highlights.
> > Kind regards,
> > Pierre.
> >
> > _________________________________________________________________
> > More than messages–check out the rest of the Windows Live™.
> > http://www.microsoft.com/windows/windowslive/
_________________________________________________________________
Windows Live™: Keep your life in sync. Check it out!
http://windowslive.com/explore?ocid=TXT_TAGLM_WL_t1_allup_explore_012009
Re: Browse indexed terms in a field
Posted by Bill Au <bi...@gmail.com>.
You can use facet.perfix to match the beginning of a given word:
http://wiki.apache.org/solr/SimpleFacetParameters#head-579914ef3a14d775a5ac64d2c17a53f3364e3cf6
Bill
On Tue, Jul 7, 2009 at 11:02 AM, Pierre-Yves LANDRON
<pl...@hotmail.com>wrote:
>
> Hello,
>
> Here is what I would like to achieve : in an indexed document there's a
> fulltext indexed field ; I'd like to browse the terms in this field, ie. get
> all the terms that match the begining of a given word, for example.
> I can get all the field's facets for this document, but that's a lot of
> terms to process ; is there a way to constraint the returned facets ?
>
> Thank you for your highlights.
> Kind regards,
> Pierre.
>
> _________________________________________________________________
> More than messages–check out the rest of the Windows Live™.
> http://www.microsoft.com/windows/windowslive/