You need to remove EdgeNGramFilterFactory from your analyzer chain.
--- On Thu, 3/3/11, shrinath.m <shrinat...@webyog.com> wrote: > From: shrinath.m <shrinat...@webyog.com> > Subject: Re: Solr TermsComponent: space in term > To: solr-user@lucene.apache.org > Date: Thursday, March 3, 2011, 1:41 PM > > Markus Jelsma-2 wrote: > > > > http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ShingleFilterFactory > > > well, thank you Markus, > > Now My schema has the following : > > > > > > > > > > > > > > > if I run a query like this : > > http://localhost:8983/solr/select?rows=0&q=c&facet=true&facet.field=text&facet.mincount=1&facet.prefix=com > > I get output saying : > .... > > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 1 > 1 > > .... > > how do I restrict it to only those words present in the > documents and not > something like "compliance w" ? > > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Solr-TermsComponent-space-in-term-tp1898889p2624547.html > Sent from the Solr - User mailing list archive at > Nabble.com. >