Re: leading wildcard characters

2014-01-14 Thread Peter Keegan
I created SOLR-5630. Although WildcardQuery is much much faster now with AutomatonQuery, it can still result in slow queries when used in multiple keywords. From my testing, I think I will need to disable all WildcardQuerys and only allow PrefixQuery. Peter On Sat, Jan 11, 2014 at 4:17 AM, Ahmet

Re: leading wildcard characters

2014-01-11 Thread Ahmet Arslan
Hi Peter, Yes you are correct. There is no way to disable it.  Weird thing is javadoc says default is false but it is enabled by default in  SolrQueryParserBase.  boolean allowLeadingWildcard = true; http://search-lucene.com/jd/solr/solr-core/org/apache/solr/parser/SolrQueryParserBase.html#setA

Re: leading wildcard characters

2014-01-10 Thread Peter Keegan
Removing ReversedWildcardFilterFactory had no effect. On Fri, Jan 10, 2014 at 10:48 AM, Ahmet Arslan wrote: > Hi Peter, > > Can you remove any occurrence of ReversedWildcardFilterFactory in > schema.xml? (even if you don't use it) > > Ahmet > > > > On Friday, January 10, 2014 3:34 PM, Peter Ke

Re: leading wildcard characters

2014-01-10 Thread Ahmet Arslan
Hi Peter, Can you remove any occurrence of ReversedWildcardFilterFactory in schema.xml? (even if you don't use it) Ahmet On Friday, January 10, 2014 3:34 PM, Peter Keegan wrote: How do you disable leading wildcards in 4.X? The setAllowLeadingWildcard method is there in the parser, but nothi

leading wildcard characters

2014-01-10 Thread Peter Keegan
How do you disable leading wildcards in 4.X? The setAllowLeadingWildcard method is there in the parser, but nothing references the getter. Also, the Edismax parser always enables it and provides no way to override. Thanks, Peter