Re: How to avoid space on facet field

2009-06-03 Thread Marc Sturlese
> pattern="([^a-z])" replacement="" replace="all" > /> > > > > > > Thanks > > Boney > > > ________________ > From: Marc Sturlese > To: solr-user@lucene.apac

Re: How to avoid space on facet field

2009-06-03 Thread Bny Jo
. Thanks Boney From: Marc Sturlese To: solr-user@lucene.apache.org Sent: Wednesday, June 3, 2009 3:45:49 AM Subject: Re: How to avoid space on facet field You can configure a "facet_text&quo

Re: How to avoid space on facet field

2009-06-03 Thread Marc Sturlese
You can configure a "facet_text" instead of the normal "text" type. There you use KeyWordTokenizer instead of StandardTokenizer. One of the advantages of using it instead of "string" is that it will allow you to use synonyms, stopwords and filters and all the properties from an analyzer. Anshuma

Re: How to avoid space on facet field

2009-06-02 Thread Anshuman Manur
Hey, >From what you have written I'm guessing that in your schema.xml file, you have defined the field manu to be of type "text", which is good for keyword searches, as the text type indexes on whitespace, i.e. Dell Inc. is indexed as dell, inc. so keyword searches matches either dell or inc. But