You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "David Smiley (JIRA)" <ji...@apache.org> on 2013/02/09 08:07:13 UTC

[jira] [Commented] (SOLR-1982) Leading wildcard queries work for "all" fields if ReversedWildcardFilterFactory is used for "any" field

    [ https://issues.apache.org/jira/browse/SOLR-1982?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13575102#comment-13575102 ] 

David Smiley commented on SOLR-1982:
------------------------------------

It appears that this issue has been addressed, probably by inadvertent side-effect of something else.  It doesn't matter any more if ReversedWildcardFilterFactory is in the schema for any field or not; {{field:\*}} now works.  I tried this on 4.1 just now.  I know this used to be a problem back in Solr 3 when I wrote about it in my book.
                
> Leading wildcard queries work for "all" fields if ReversedWildcardFilterFactory is used for "any" field
> -------------------------------------------------------------------------------------------------------
>
>                 Key: SOLR-1982
>                 URL: https://issues.apache.org/jira/browse/SOLR-1982
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 1.4, 1.4.1
>            Reporter: Hoss Man
>
> As noted on the mailing list...
> http://search.lucidimagination.com/search/document/8064e6877f49e4c4/leading_wildcard_query_strangeness
> ...SolrQueryParse supports leading wild card queries for *any* field as long as at least one field type exists in the schema.xml which uses ReversedWildcardFilterFactory -- even if that field type is never used.
> This is extremely confusing, and ost likely indicates a bug in how SolrQueryParser deals with ReversedWildcardFilterFactory

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org