bq: Was a little, let's say mistake, in my query

Been there, done that ;) Thanks for closing this out.

Best,
Erick

On Mon, Nov 3, 2014 at 3:25 AM, andreic9203 <andreic9...@gmail.com> wrote:
> 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