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

[jira] [Updated] (SOLR-4559) add fqDefType to enable not needing to specify local params syntax for fq parser

     [ https://issues.apache.org/jira/browse/SOLR-4559?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Ernst updated SOLR-4559:
-----------------------------

    Attachment: SOLR-4559.patch

This patch adds the suggested fqDefType to QueryComponent. I opted not to change the MoreLikeThisHandler, because the semantics of fq are slightly different there, and digging into the tests was...hairy.  If someone feels strongly, they can file another jira for that.  Also note the patch shows some import reorg in files I touched because my editor (intellij) automatically organizes imports (undoing wildcard imports and putting java lang imports first).  If that is an issue I can disable it and fix the diff.
                
> add fqDefType to enable not needing to specify local params syntax for fq parser
> --------------------------------------------------------------------------------
>
>                 Key: SOLR-4559
>                 URL: https://issues.apache.org/jira/browse/SOLR-4559
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Ryan Ernst
>         Attachments: SOLR-4559.patch
>
>
> People using fq= are generally sending structured queries (like facet drilldowns etc), and it is useful to be able to set the default parser in solrconfig.xml. Today fq uses the lucene parser, which means if your solr clients arent properly escaping lucene syntax, facet drilldowns could broken. It is just as tricky to ensure all clients are properly using localparams in their fqs.

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