You should lowercase by creating a field of a new type, with an analysis
chain. The KeywordTokenizerFactory will spit out the whole string as a
single token. You can then use the LowerCaseFilterFactory to do the real
work. The end result is a single token, which is effectively the same
things as is achieved by a Field of type string.

Upayavira

On Mon, Dec 31, 2012, at 01:08 PM, Tomás Fernández Löbbe wrote:
> It can't be *really* case independent. You could lowercase everything,
> but
> you'd see the facet value in lowercase too. If you really need to search
> in
> lowercase and display the original content on the facet value you could
> use
> two fields, one for faceting (of type string) and one for filtering (of a
> type that uses KeywordTokenizer and LowercaseFilter). This has the
> disadvantage of growing the size of your index, make sure you really need
> to search in lowercase.
> 
> Tomás
> 
> 
> On Mon, Dec 31, 2012 at 9:56 AM, PeterKerk <vettepa...@hotmail.com>
> wrote:
> 
> > The quoting with casing works indeed :). How can I make it case
> > independent?
> >
> >
> >
> > --
> > View this message in context:
> > http://lucene.472066.n3.nabble.com/Filter-on-multiple-word-field-of-type-string-not-showing-any-results-tp4029765p4029771.html
> > Sent from the Solr - User mailing list archive at Nabble.com.
> >

Reply via email to