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
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
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
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
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