[opencms-dev] Solr query specific index

Paul-Inge Flakstad flakstad at npolar.no
Mon Sep 14 13:22:21 CEST 2015


Hi,

I'd like to query a couple of OpenCms search indices (on an 8.5.2 instance) "directly" via the handleSolrSelect URI (or equivalent).

But: How do I "select" a specific index?

I have read the doc and tried the "core" parameter, like this:
http://myhost.com:8080/myopencms/opencms/handleSolrSelect?q=something&core=my_index

But that just results in a NPE:  "No Solr index named: my_index configured."

PS: The handleSolrSelect URI works, but so far I can't use it to query anything but the default index.

Med vennlig hilsen,
Paul-Inge Flakstad
Webutvikler, Norsk Polarinstitutt
flakstad at npolar.no<mailto:flakstad at npolar.no>  |  777 50 639

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20150914/5554a5e1/attachment.htm>


More information about the opencms-dev mailing list