On my GeoNetwork instance I can query search results by using the qi
endpoint:
I wonder, how I can use the lucene query parser syntax for customizing search results?
It is possible to use the ?
or *
operators for wildcard searches, but the other operators does not seem to work as expected.
If I just search for e.g. 'temperature wms'
, it returns all results that contain both, temperature
and wms
keywords. The lucene website on the contrary says, this would work as the OR
operator.
Also, the AND
operator leads to no search results in my case, where it should give the result from the 'temperature wms'
example instead (i.e. only datasets containing both keywords), according to the lucene page.
Is there a way to use the lucene query syntax with this endpoint at all? Or any other way to customize search for datasets by using advanced query syntax?
UPDATE:
I tried to dig a bit into the search classes of GeoNetwork. According to LuceneQueryBuilder
, boolean AND
and OR
operators should actually be supported. Not yet sure, why it does not take effect in the q
-interface search.