You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Hoss Man (JIRA)" <ji...@apache.org> on 2015/02/04 22:13:36 UTC

[jira] [Updated] (SOLR-7070) Issue when using "fl" with field names that start with numbers

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

Hoss Man updated SOLR-7070:
---------------------------
      Description: 
field names starting with numbers aren't working properly in fl, specific example from original bug report related to dynamic field suffixes using a numeric prefix...

----

In solr 4.6, I used to select dynamic fields by exact match, e.g. the below query used to work with me:
fl=123_PART

But in solr 4.10.3, the above query doesn't work any more, so I am forced to use a wildcards, such as to be begin with match, e.g. the below query:
fl=*_PART

The above query works but returns all dynamic fields that end with "_PART", and that results in bad performance as our dynamic fields are stored.

Is there any way to be able to select a dynamic field exactly like in version 4.6?

  was:
Issue when using "fl" with dynamic fields without setting wildcards, such as:

In solr 4.6, I used to select dynamic fields by exact match, e.g. the below query used to work with me:
fl=123_PART

But in solr 4.10.3, the above query doesn't work any more, so I am forced to use a wildcards, such as to be begin with match, e.g. the below query:
fl=*_PART

The above query works but returns all dynamic fields that end with "_PART", and that results in bad performance as our dynamic fields are stored.

Is there any way to be able to select a dynamic field exactly like in version 4.6?

    Fix Version/s:     (was: 4.6)
          Summary: Issue when using "fl" with field names that start with numbers  (was: Issue when using "fl" with dynamic filelds without setting wilcards)

> Issue when using "fl" with field names that start with numbers
> --------------------------------------------------------------
>
>                 Key: SOLR-7070
>                 URL: https://issues.apache.org/jira/browse/SOLR-7070
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.10.3
>            Reporter: Khalid Galal
>              Labels: dynamic, fields
>
> field names starting with numbers aren't working properly in fl, specific example from original bug report related to dynamic field suffixes using a numeric prefix...
> ----
> In solr 4.6, I used to select dynamic fields by exact match, e.g. the below query used to work with me:
> fl=123_PART
> But in solr 4.10.3, the above query doesn't work any more, so I am forced to use a wildcards, such as to be begin with match, e.g. the below query:
> fl=*_PART
> The above query works but returns all dynamic fields that end with "_PART", and that results in bad performance as our dynamic fields are stored.
> Is there any way to be able to select a dynamic field exactly like in version 4.6?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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