Re: Solr - ORM like layer

2013-06-05 Thread Tuğcem Oral
Sorry for opening a new thread. As i sent first message w/o subscribing the mailing list, i couldn't find a possible solution to reply original thread. The messaging stream is attached below. Actually the requirement came up from such a scenario: We collect some xml documents from some external r

Re: Solr - ORM like layer

2013-06-04 Thread Guido Medina
If by ORM you mean Object Relational Mapping, Hibernate has annotations for Lucene and if my memory doesn't betray me I think you can configure a Solr server at Hibernate config. I have successfully mapped POJO's to Lucene and done text search, it all happens like magic once your annotations a

Re: Solr - ORM like layer

2013-06-04 Thread Jack Krupansky
Solr doesn't support complex objects directly - you must flatten and otherwise denormalize them. If you do want to store something like a graph in Solr, make each node a separate document (and try to avoid the temptation to play games with dynamic and multivalued fields). But if you have a too