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

Erik Hatcher commented on SOLR-1280:
------------------------------------

I've added a patch that I'll commit to trunk and 4_x (with the script update 
processor chain commented out just like dedupe and langid is now) that 
implements this field used trick as a few (not so elegant, but straightforward 
standard JavaScript) lines using a regexes pattern (/attr_.*/).
                
> Fields used update processor
> ----------------------------
>
>                 Key: SOLR-1280
>                 URL: https://issues.apache.org/jira/browse/SOLR-1280
>             Project: Solr
>          Issue Type: New Feature
>          Components: update
>            Reporter: Erik Hatcher
>            Assignee: Erik Hatcher
>            Priority: Trivial
>         Attachments: FieldsUsedUpdateProcessorFactory.java, 
> FieldsUsedUpdateProcessorFactory.java, SOLR-1280.patch
>
>
> When dealing with highly heterogeneous documents with different fields per 
> document, it can be very useful to know what fields are present on the result 
> documents from a search.  For example, this could be used to determine which 
> fields make the best facets for a given query.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to