For example the streaming expression significantTerms:
https://lucene.apache.org/solr/guide/8_4/stream-source-reference.html#significantterms
significantTerms(collection1,
q="body:Solr",
field="author",
limit="50",
minDocFreq="10",
maxDocFreq=".20",
minTermLength="5")
Solr supports querying multiple collections at once, but I can’t figure out
how I can do that with streaming expressions.
When I try enclosing them in quotes like:
significantTerms(“collection1, collection2”,
q="body:Solr",
field="author",
limit="50",
minDocFreq="10",
maxDocFreq=".20",
minTermLength="5")
It gives the error: "EXCEPTION":"java.io.IOException: Slices not found for \"
collection1, collection2\""
I think Solr thinks quotes as part of the collection names, hence it can’t find
slices for it.
When I just use it without quotes:
significantTerms(collection1, collection2,…
It gives the error: "EXCEPTION":"invalid expression
significantTerms(collection1, collection2, …
I tried single quotes, escaping the quotation mark but nothing Works…
Any ideas?
Best, ufuk
Windows 10 için Posta ile gönderildi