Re: Leading Wildcard query strangeness

2010-07-02 Thread Chris Hostetter
: 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&in

Re: Leading Wildcard query strangeness

2010-07-02 Thread Ahmet Arslan
> that's how SolrQueryParser works at the moment, yes. 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_e

Re: Leading Wildcard query strangeness

2010-07-02 Thread Chris Hostetter
: Does this mean leading * operator can only be used with fields whose : fieldType definition has ReversedWildcardFilterFactory at index time? that's how SolrQueryParser works at the moment, yes. -Hoss

Re: Leading Wildcard query strangeness

2010-07-02 Thread Ahmet Arslan
> that's not correct  what SolrQueryParser does is > check which field > types use ReversedWildcardFilterFactory at indexing time, > and then when > parsing queries, it allows fields that use field types to > be parsed with a leading wildcard. Does this mean leading * operator can only be u

Re: Leading Wildcard query strangeness

2010-07-02 Thread Chris Hostetter
: > I'm going to guess that is what you meant, that the very : > presence of the : > filter in the schema, whether it is used or not, allows you : > to do wildcard : > searches. : : Exactly. that's not correct what SolrQueryParser does is check which field types use ReversedWildcardFilterFa

Re: Leading Wildcard query strangeness

2010-06-30 Thread Ahmet Arslan
> I'm going to guess that is what you meant, that the very > presence of the > filter in the schema, whether it is used or not, allows you > to do wildcard > searches. Exactly. > Is that documented anywhere and I just missed it?  I'm > sure it is. I knew it from source code of SolrQueryParser. p

Re: Leading Wildcard query strangeness

2010-06-30 Thread dbashford
-- View this message in context: http://lucene.472066.n3.nabble.com/Leading-Wildcard-query-strangeness-tp931809p933600.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Leading Wildcard query strangeness

2010-06-29 Thread Ahmet Arslan
> We've got an app in production that executes leading > wildcard queries just > fine. > > >   0 >   1298 >   >     title:*news >   > > > > The same app in dev/qa has undergone a major > schema/solrconfig overhaul, > including introducing multiple cores, and leading wildcard > queries no lon

Leading Wildcard query strangeness

2010-06-29 Thread dbashford
ssfully executing Wildcard queries. Is there another way without QueryParser.setAllowLeadingWildcard(true)? (Running 1.4 in all environments, although "newer" versions of 1.4 (downloaded more recently) in dev and qa.) Thoughts? -- View this message in context: http://lucene.