> @iorixxx
> I tried making my title_search of type text_rev and tried
> adding the
> ReversedWildcardFilterFactory to my existing "text" type,
> but in both cases
> no luck.

I was able to perform *query* types of searches with solr 3.5 distro.
Here is what I did:

Download apache-solr-3.5.0
Edit schema.xml
make text_rev as stored="true" 
add <copyField source="features" dest="text_rev"/>
java -jar start.jar
java -jar post.jar 

http://localhost:8983/solr/select/?q=text_rev:*me*&version=2.2&start=0&rows=10&indent=on&fl=text_rev&hl=true&hl.highlightMultiTerm=true&hl.usePhraseHighlighter=true&hl.fl=text_rev

returns 7 docs, with the following snippets:

<em>SmartMedia</em>, <em>megapixel</em>, <em>document</em>, <em>time</em> etc.

Keep in mind that changes of this kind in schema.xml requires re-indexing and 
restart solr server.

Also you need to be aware of http://wiki.apache.org/solr/MultitermQueryAnalysis


> @Erick Erickson
> "On frequent method of doing leading and trailing wildcards
> is to use ngrams
> (as distinct from edgengrams). That in combination with
> phrase queries might
> work well in this case. "

Erick's suggestion will work faster in terms of QTime (response time)
To get the idea, try "text_ngrm" field type in analysis.jsp and it will display 
generated tokens.

http://lucene.apache.org/solr/api/org/apache/solr/analysis/NGramFilterFactory.html

Reply via email to