[
https://issues.apache.org/jira/browse/SOLR-6997?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14315777#comment-14315777
]
Pablo Queixalos edited comment on SOLR-6997 at 2/12/15 1:15 PM:
----------------------------------------------------------------
Also, as solr/lucene allows naming fields using hyphen character, attached
patch for identifier parsing in QueryParsing.java, which is basically :
{code}
- if (!Character.isJavaIdentifierPart(ch) && ch != '.') {
+ if (!Character.isJavaIdentifierPart(ch) && ch != '.' && ch != '-' ) {
{code}
was (Author: pqueixalos):
Also, as solr/lucene allows naming fields using dash character, attached patch
for identifier parsing in QueryParsing.java, which is basically :
{code}
- if (!Character.isJavaIdentifierPart(ch) && ch != '.') {
+ if (!Character.isJavaIdentifierPart(ch) && ch != '.' && ch != '-' ) {
{code}
> Support distributed 'facet on same field different ways'
> --------------------------------------------------------
>
> Key: SOLR-6997
> URL: https://issues.apache.org/jira/browse/SOLR-6997
> Project: Solr
> Issue Type: Bug
> Components: faceting
> Affects Versions: 4.10.3
> Reporter: Pablo Queixalos
> Priority: Minor
> Labels: distributed_search
> Fix For: 4.10.4, 5.0
>
> Attachments:
> 0001-SEA-1284-field-facet-local-param-parsing-fails-on-fi.patch,
> 0001-honor-facet-field-local-params.patch
>
>
> SOLR-1351 brought the ability to facet on the same field differently using
> local parameters but distributed process ({{FacetComponent::FieldFacet}})
> does not honor local params from _facet string_.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]