[GeoNetwork-users] How to use "main.search.suggest" service

Hi All,

Can someone help me how to use "main.search.suggest" service. The following
is declared in config.xml.

             <service name="main.search.suggest">
<class name=".services.main.SearchSuggestion">
<!-- Minimum frequency for a term value to be proposed in suggestion. -->
<param name="threshold" value="1" />
<!--
Max number of term's values to look in the index. For large catalogue
this value should be increased in order to get better results. If this
value is too high, then looking for terms could take more times. The use
of good analyzer should allow to reduce the number of useless values like
(a, the, ...).
-->
<param name="max_number_of_terms" value="100000" />
<!-- Default field to search in. any is full-text search field. -->
<param name="default_search_field" value="any" />
</class>

<output sheet="search-suggestions.xsl" contentType="application/json;
charset=UTF-8" />
</service>

1) When I fire '
http://localhost:9081/geonetwork/srv/swe/main.search.suggest?field=title’,
I get all the titles from metadata table.
2) When I fire '
http://localhost:9081/geonetwork/srv/swe/main.search.suggest?field=title&q=BaTman
- portal', I get only that title which matches with 'q=BaTman - portal'. So
far fine.

Question:
1) But I want to have a query that uses 'like' operator (similar to wild
card used in database).
2) Do we have any other query parameter to control the output. for example,
'like' operator, 'sorting the output ASC/DESC before it comes to UI side.

Please let me know if more information is required.

--
Either we all are Fools or undiscovered Geniuses.
Jitendra......