I am reading the api on https://github.com/jaeksoft/opensearchserver/wiki to start testing this api (new user). Does this site have the full schema so that I can see what it supports for fields. The help pages on the right for specific things (e.g. search) are great ...., however if I want to see how to do specific things it is time-consuming to try find an example. I have resorted to running queries and seeing the errors:-(.
Specifically, I am trying to test filters added to a JSON POST data. Is this right , as it passed OK but returns no data when it expected it to.
"term": "search data",
Is there a button on the main console that can pop up the JSON POST data for whatever query I am testing manually, that would help me analyse the specific calls I need to make in my JSON
ps. I saw 1 filter example but not exactly what i wanted so i guessed.
Here is a simple way to know the JSON syntax.
First, build the query in the user interface.
Then use this API to retrieve the JSON structure:
Finally, reuse this syntax to build your own JSON query.
Thanks, great, exactly what I was looking for. although the link is bad,:-), but https://github.com/jaeksoft/opensearchserver/wiki/Search-template-get has relevant details.
By the way, in regards to terminology, template basically means a query template including entire definition of the query, right ? There are no other sorts of templates, right?
In ESP/MS search it only referred to the "returnedFields" bit of the query with other fields applied on the fly.
You're right, we just changed the documentation framework :) I fixed the link.
You can have both approaches, with or without template. "On the fly" APIs are described here:
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.