lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jan Høydahl <jan....@cominvent.com>
Subject Re: [jira] [Commented] (SOLR-2970) CSV ResponseWriter returns fields defined as stored=false in schema
Date Sun, 18 Dec 2011 22:23:52 GMT
Dan,

JIRA is open for everyone, you don't need to submit a patch. It's really helpful if you just
submit the feature request. Then others can step in to do the coding, but you will be registered
as the reporter, i.e. the one having a need for the feature.

--
Jan Høydahl, search solution architect
Cominvent AS - www.cominvent.com
Solr Training - www.solrtraining.com

On 17. des. 2011, at 15:01, insight49@gmail.com wrote:

> Jan,
> 
> Would be glad to open a JIRA issue, but I'm a U/X architect not a Java developer, so
wouldn't be able to patch anything.
> 
> Dan
> 
> On 12/16/11 6:05 PM, Jan Høydahl wrote:
>> Dan,
>> 
>> I'm sure it is possible. Perhaps it should even be possible to combine fixed column
positions and wildcard, by fl=fieldA,fieldB,* to "lock" the named fields as first columns
followed by a (sorted) list of the rest of the fields.
>> 
>> Anyway, the first step is for you to create a JIRA issue and next step is to contribute
a patch. See http://wiki.apache.org/solr/HowToContribute
>> 
>> --
>> Jan Høydahl, search solution architect
>> Cominvent AS - www.cominvent.com
>> Solr Training - www.solrtraining.com
>> 
>> On 16. des. 2011, at 22:27, insight49@gmail.com wrote:
>> 
>>> Another useful addition would be to add a csv sort parameter if requesting all
(*) fields -- a way to control the field order on export.
>>> 
>>> E.g.
>>> 
>>> &wt=csv&fl=*&csv.fl.sort=alpha asc
>>> 
>>> I've had cases where:
>>> 
>>> a) I'm returning too many fields to explicitly define fl=field_J,field_Z,field_A,etc.
>>> 
>>> b) WANTED all the fields returned (a great way to dump data to a spreadsheet)
>>> 
>>> but wanted a more orderly csv field structure than the one returned.
>>> 
>>> Is this possible?
>>> 
>>> Thanks,
>>> 
>>> Dan
>>> 
>>> 
>>> 
>>> On 12/16/11 3:02 AM, Jan Høydahl (Commented) (JIRA) wrote:
>>>>     [ https://issues.apache.org/jira/browse/SOLR-2970?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13170876#comment-13170876
]
>>>> 
>>>> Jan Høydahl commented on SOLR-2970:
>>>> -----------------------------------
>>>> 
>>>> Created SOLR-2974 for B)
>>>> 
>>>> I see that today you can explicitly specify non-existing fields in field-list
and they will all end up in the response, e.g.&wt=csv&fl=id,type,foo,nonexisting
>>>> 
>>>> If this is useful in some cases then let's continue to support it - coupled
with the improvement in SOLR-2974
>>>> But the default case when "fl" is not specified, or specified as "*", CSV
writer should output only the stored fields.
>>> 
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>>> For additional commands, e-mail: dev-help@lucene.apache.org
>>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: dev-help@lucene.apache.org
> 


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


Mime
View raw message