lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hoss Man (JIRA)" <>
Subject [jira] [Commented] (SOLR-7070) Issue when using "fl" with dynamic filelds without setting wilcards
Date Tue, 03 Feb 2015 21:09:34 GMT


Hoss Man commented on SOLR-7070:

Can you please provide more details about your schema, your request URLs, and the exact behavior
you are seeing?

I just used Solr 4.10.3 along with the default example...

bin/solr start -e default
cd example/exampledocs/
java -jar post.jar *.xml

and had no problem getting fl to work with a field name generated from a dynamicField...

curl 'http://localhost:8983/solr/select?q=manu:belkin&fl=manu_id_s&wt=json&indent=true'

> Issue when using "fl" with dynamic filelds without setting wilcards
> -------------------------------------------------------------------
>                 Key: SOLR-7070
>                 URL:
>             Project: Solr
>          Issue Type: Bug
>    Affects Versions: 4.10.3
>            Reporter: Khalid Galal
>              Labels: dynamic, fields
>             Fix For: 4.6
> 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?

This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message