geonetwork/core-geonetwork — pull request #86 by fxprunayre (2013-04-23 12:18:01+00:00)
Title: Search suggestion / Add option to place results which starts with reques...

...ted string on top of the results (#1148).

By default alphabetical order is used.

Use * wildward to only request element starting with (using "stat*")

Sample queries:
* main.search.suggest?field=_title&q=sta = contains sta in _title field sort by alphabetical order
* main.search.suggest?field=_title&q=sta* = only starts with sta in _title field
* main.search.suggest?field=_title&startwithfirst=true&q=sta = contains sta but with results starting with it on top