Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Fortunately the wmasolrsearch add-on of GX WebManager defines a UrlProvider service in the nl.gx.product.wmasolrsearch.api package just for this purpose.

Adding url's

If you just want to add your own set of url's to the SOLR index, you can define a new Service that implements theĀ UrlProvider interface and implements its method

...

Using the OSGi dependency mechanism in GX WebManager, this new UrlProvider service is automatically picked up by the SearchService in the wmasolrsearch add-on, and its list of url's is appended to the default list of GX WebManager.

Changing or excluding url's

If you want to change the url's determined by the default UrlProviderof GX WebManager, you can do this by first capturing these url's, changing them, and then feeding them to the SearchService in the wmasolrsearch add-on:

...