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

Robert Muir commented on SOLR-1982:
-----------------------------------

{quote}
and then (here's my suggestion) getWildCardQuery() can let a simple '*' through 
as equivalent to a [* TO *] range query.
{quote}

Curious, what is the reasoning here. In trunk wildcard query already "rewrites" 
to just passing thru the underlying TermsEnum in this case (as the DFA is 
Total). So solr doesn't need to do anything here.


> 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.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to