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

Yonik Seeley commented on SOLR-4559:
------------------------------------

bq. Today fq uses the lucene parser, which means if your solr clients arent 
properly escaping lucene syntax, facet drilldowns could broken.

Right.  That's one reason the term query parser was developed.

bq. It is just as tricky to ensure all clients are properly using localparams 
in their fqs.

Why?  It was designed to be just a prefix so that no escaping was necessary.  
Simply construct the drill-down facet like so in the client:
{code}
"{!term f=category}" + $category_value
{code}

                
> 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-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

Reply via email to