--- On Thu, 3/1/12, PeterKerk <vettepa...@hotmail.com> wrote:

> From: PeterKerk <vettepa...@hotmail.com>
> Subject: Re: Need tokenization that finds part of stringvalue
> To: solr-user@lucene.apache.org
> Date: Thursday, March 1, 2012, 6:59 PM
> @iorixxx: yes, that is what I need.
> But also when its IN the text, not
> necessarily at the beginning.
> 
> So using the * character like: 
> q=smart* 
> the product is found, but when I do this: 
> q=*mart* 
> it isnt...why is that?

In example schema.xml there is a field type named text_rev that makes use of 
ReversedWildcardFilterFactory. It is designed to enable leading star operator. 
e.g. q=*mart

Didn't used by myself but may be you can use both leading and trailing wildcard 
(at the same time) with this type.
q=*mart*&df=title_search&defType=lucene

Reply via email to