Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Lucene: Java-Dev

[jira] [Commented] (SOLR-2446) org.apache.solr.client.solrj.beans.DocumentObjectBinder customization



Lucene java-dev RSS feed   Index | Next | Previous | View Threaded

jira at apache

Aug 2, 2012, 1:53 PM

Post #1 of 1 (109 views)
[jira] [Commented] (SOLR-2446) org.apache.solr.client.solrj.beans.DocumentObjectBinder customization

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

Michael Andrews commented on SOLR-2446:

This would be very helpful.

> org.apache.solr.client.solrj.beans.DocumentObjectBinder customization
> ---------------------------------------------------------------------
> Key: SOLR-2446
> URL: https://issues.apache.org/jira/browse/SOLR-2446
> Project: Solr
> Issue Type: Improvement
> Components: clients - java
> Affects Versions: 1.4.1
> Reporter: Alexander Suslov
> Priority: Minor
> Fix For: 3.1.1
> Attachments: patch.zip
> Original Estimate: 1h
> Remaining Estimate: 1h
> I suggest adding a way to customize DocumentObjectBinder behavior. It is not always possible to perform mapping between SolrInputDocument and beans using the default implementation. And SolrServer doesn't have a way to change the default binder for a different implementation. My suggestion is very simple: introduce an interface for binder, and add the ability to set the custom binder for the SolrServer. Please find suggested changes in the attached file. Such an addition will make the solr4J library more flexible.

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: dev-unsubscribe [at] lucene
For additional commands, e-mail: dev-help [at] lucene

Lucene java-dev RSS feed   Index | Next | Previous | View Threaded

Interested in having your list archived? Contact Gossamer Threads
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.