Versions Compared

Key

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

Sometimes you might need to modify a document's location. For example, if your website runs on HTTPS but your SSL offloading is performed by a load balancer in front of your server, In a case like this, indexing a website with the HTTP URLs is not possible. You have to change them to httpHTTP. The wmasolrsearch bundle in XperienCentral defines a UrlProvider service in the nl.gx.product.wmasolrsearch.api package for just this purpose.

...

To add your own set of URLs to the Solr index, you can define a new service that implements theĀ UrlProvider theĀ UrlProvider interface and implements the method List<String> getUrlList(boolean includeAll). Using the OSGi dependency mechanism in XperienCentral, this new UrlProvider service is automatically picked up by the SearchService and its list of URLs is appended to the default list in XperienCentral.

...