ReversedWildcardFilterFactory question

2016-05-04 Thread Susheel Kumar
Hello, I wanted to confirm that using below type for fields where user *may also* search for leading wildcard, is a good solution and edismax query parser would automatically reverse the query string in case of leading wildcard search e.g. q:"text:*plane" would automatically be reversed by

ReversedWildcardFilterFactory Question

2012-01-18 Thread Jamie Johnson
I'm trying to determine when it is appropriate to use the solr.ReversedWildcardFilterFactory, specifically if I have a field content of type text (from default schema) which I want to be able to search with leading wildcards do I need to index this information into both a text field and a text_rev

Re: ReversedWildcardFilterFactory Question

2012-01-18 Thread Dmitry Kan
You can store both the non-reverted and reverted terms in one field, so that you can do leading wildcard and other searches against one field. So your schema may look something like this: fieldType name=text class=solr.TextField positionIncrementGap=100 omitNorms=true analyzer type=index