Closed GoogleCodeExporter closed 8 years ago
Can you post the test?
Original comment by mauricio...@gmail.com
on 14 Nov 2011 at 12:22
See attached
Many Thanks
Kevin
Original comment by kevin.fa...@gmail.com
on 14 Nov 2011 at 3:15
Attachments:
Sorry, you will need a field in the schema called Value, or alter the Mappings
method to use an existing field.
Original comment by kevin.fa...@gmail.com
on 14 Nov 2011 at 3:17
Thanks, fixed in
https://github.com/mausch/SolrNet/commit/2ba800a17b1a18812d60eba6c4cc01da75f423c
6
However see the comment in
https://github.com/mausch/SolrNet/blob/2ba800a17b1a18812d60eba6c4cc01da75f423c6/
NHibernate.SolrNet.Tests/IntegrationTests2.cs#L13
Original comment by mauricio...@gmail.com
on 14 Nov 2011 at 9:41
Many Thanks :-)
Yeah in this case of Parent-<Children we would want to flatten into the parent
object. However it was our intention to store >1 entity type in the same index
initially also storing entity type name in the index to allow searching only
specific types. I think this is how NHIbernate.Search works, not sure? Have
you ever done this, our application needs to search across many types at the
same time ?
Original comment by kevin.fa...@gmail.com
on 15 Nov 2011 at 10:25
In Solr you should almost always flatten your object graph. Different unrelated
types means separate cores. Please use the google group for further questions.
Original comment by mauricio...@gmail.com
on 15 Nov 2011 at 12:20
Original issue reported on code.google.com by
kevin.fa...@gmail.com
on 14 Nov 2011 at 10:14Attachments: