I am trying to write a streaming expression in solrj. Following is the
query that I want to implement in Java.

having(
> gatherNodes(collection1,
> search(collection1,q="*:*",fl="conceptid",sort="conceptid
> asc",fq=storeid:"524efcfd505637004b1f6f24",fq=tags:"Company",fq=tags:"Prospects2",
> qt="/export"),
> walk=conceptid->eventParticipantID,
> gather="eventID",
> trackTraversal="true", scatter="leaves",
> count(*)
> ),
> gt(count(*),1)
> )


Using this article (
http://joelsolr.blogspot.com/2015/04/the-streaming-api-solrjio-basics.html)
I could implement and run single streaming expression,

search(collection1,q="*:*",fl="conceptid",sort="conceptid
asc",fq=storeid:"524efcfd505637004b1f6f24",fq=tags:"Company",fq=tags:"Prospects2",
qt="/export")

But I can not find a way to create a nested query. How can I do that?

Thanks,
Pratik

Reply via email to