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

Jan Høydahl commented on SOLR-2618:
-----------------------------------

You might want to talk to Chris Male who held a talk about improving SolrJ for 
interacting with domain objects at Berlin Buzzwords: 
http://berlinbuzzwords.de/sites/berlinbuzzwords.de/files/IntegratingSolrJEEApplications.pdf

I think your idea about storing a class name with the document and using 
reflection to pick the right domain object is interesting..

> Indexing and search on more then one type (Mapping)
> ---------------------------------------------------
>
>                 Key: SOLR-2618
>                 URL: https://issues.apache.org/jira/browse/SOLR-2618
>             Project: Solr
>          Issue Type: Improvement
>          Components: clients - java
>    Affects Versions: 3.2
>            Reporter: Monica Storfjord
>            Priority: Minor
>
> It would be very beneficial for a project that I am currently working on to 
> have the ability to index and search on various subclasses of an object and 
> map the objects directly to the actual domain-object. This functionality 
> exist in Hibernate search for instance. Is this something that future 
> releases have in mind? I would think that this is something that will make 
> the value of Solr more efficient to a lot of users. 
> We are testing SolrJ 3.2 with the use of the SolrJ client and the web 
> interface to index change and search. It should be possible to make a 
> solution that map against a special type field(like <field name="classtype" 
> type="class">) in schemas.xml that are indexed every time and use reflection 
> against the actual class?
> - Monica
>  

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira



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

Reply via email to