lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris Hostetter <hossman_luc...@fucit.org>
Subject Re: Leading Wildcard query strangeness
Date Fri, 02 Jul 2010 22:58:33 GMT

: In the default schema.xml, only text_rev fieldType has 
: ReversedWildcardFilterFactory. The query below (manu_exact:*in) returns 
: two documents (whose manu_exact is Belkin).
: 
: Am i missing something?
: 
: http://localhost:8983/solr/select/?q=manu_exact%3A*in&version=2.2&start=0&rows=10&indent=on&fl=manu_exact

No, i was mistaken -- i'm sorry.  

You were corect before about the behavior: In Solr 1.4, if you have 
ReversedWildcardFilterFactory on any field type in your schema.xml then 
you can use leading wildcard queries on any field -- but i don't believe 
this is intentional, it looks like a buggy side effect of how 
SolrQueryParser subclasses QueryParser.

I've opeend a Jira issue to track how this should be dealt with...

https://issues.apache.org/jira/browse/SOLR-1982




-Hoss


Mime
View raw message