lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zheng Lin Edwin Yeo <edwinye...@gmail.com>
Subject Include JSON facet inside Solr Streaming
Date Fri, 30 Jun 2017 01:44:27 GMT
Hi,

Is it currently possible to include JSON facet inside Solr Streaming?

I am trying out with the following query, which combines JSON facet
together with the hashJoin from Streaming, but we get the error saying that is
not a proper expression clause.

If it is possible, what should be the correct way to include it?

I'm using Solr 6.5.1.

http://localhost:8983/edm/collection1/stream?expr=hashJoin(
  search(collection1,
q="id:1111",
fq="{!child of="contentType_s:collection1Header"}field1a:*&json.facet={
TotalAmount1:"sum(totalAmount1)"}",
fl="field1a,field1b,field1c,field1d",
sort="field1a asc",
qt="/export"),
  hashed=search(collection2,
q"=id:1111",
fq="json.facet={
TotalAmount2:"sum(totalAmount2)"}",
fl="field2a,field2b,field2c,field2d",
sort="field2a asc",
qt="/export"),
  on="field1a=field1b"
)&indent=true


Regards,
Edwin

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message