Solr 'text' fields not accepting wild-cards
Posted
by MarcoPolo
on Stack Overflow
See other posts from Stack Overflow
or by MarcoPolo
Published on 2010-04-15T15:41:43Z
Indexed on
2010/04/15
15:43 UTC
Read the original article
Hit count: 188
Hi,
I am trying to search on a field declared as 'text'
using the wildcard '*'
but am getting mixed results. Basically, it seems to me that it's stripping off the '*'
character and isn't handling numbers or spaces well.
I'm using the 'text'
field type for case insensitive fields but after running an analysis, am starting to think itmight be the wrong type to use as it runs a lot more filters when compared with the string field. Basically all I want is a field type that can index or search on lowercase only with spaces stripped out (and works with wildcards). Is such a type available?
Thanks MARCO
© Stack Overflow or respective owner