Hello,

And to answer to my question...:D

Was a little, let's say mistake, in my query.
Instead of
fl=[child parentFilter="cat:PARENT" childFilter="cat:CHILD"]
should be
fl=id,[child parentFilter="cat:PARENT" childFilter="cat:CHILD"]

Awkward, because if you put the query and the filter in URL or in the solr
queries tool, both methods works very well. But when you want to make the
query from java, with Solrj, the library appends that parser section, and it
crashes if it cannot find parent fields in the results.

Instead of the id, you could put what field name do you want from the
parent.

Regards,
Andrei



--
View this message in context: 
http://lucene.472066.n3.nabble.com/SOLRJ-query-with-ChildDocTransformerFactory-crash-because-of-the-javabin-parser-tp4167183p4167218.html
Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to