lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ahmet Arslan <iori...@yahoo.com>
Subject Re: Solr TermsComponent: space in term
Date Sun, 14 Nov 2010 14:32:46 GMT
> I'm using Solr 1.4.1 and I'm willing to use TermsComponent
> for AutoComplete.
> The problem is, I can't get it to match strings with spaces
> in them. So to
> say,
> 
> terms.fl=name&terms.lower=david&terms.prefix=david&terms.lower.incl=false&indent=true&wt=json
> 
> matches all strings starting with "david" but if I change
> it to:
> 
> terms.fl=name&terms.lower=david%20&terms.prefix=david%20&terms.lower.incl=false&indent=true&wt=json
> 
> it doesn't match all strings starting with "david ". Is it
> meant to be that
> way? 

This is about fielyType of name? What is it? If it does have ShingleFilterFactory in it, then
this is expected.


      

Mime
View raw message