Info: The described steps can only be performed on the on-premise version of Studio Server, not on the cloud version.
The following sections provide solutions to common problems when working with Solr.
Changing the port
Port xxxx is already used, how do I change the port?
Start Solr from the command line with a different port:
<solr_install_location>/bin/solr start -p <NEW_PORT>
No results returned
I fill in an ‘a’ in the search field in Studio, but I don’t get any results. I am sure though that I have content containing an ‘a’.
Analysis: The Solr installation contains a file name stopwords.txt. All words that are listed in that file are not indexed.
Solution: Make sure that the stopwords.txt file does not contain any phrases that should be excluded from the indexing process.
Everything seems to be fine: all objects are indexed, Solr is running, the Health Check page says everything is okay and I fill in text that should give results. But still I do not receive any results, let alone facets.
Try re-indexing the objects in Studio Server.
When searching on terms with accents, no results are returned.
Make sure that the URIEncoding=”UTF-8” setting is included in the <tomcat path>/conf/server.xml file.
Entering a search term shorter than 4 characters or longer than 15 characters, no result is returned.
In case of a long search term you can split the term in two separate terms, each shorter than 15 characters.
Another solution can be to change the configuration. For more information, see Configuring Solr to control the search results in Studio Server.
Objects not indexed
Issue: The Health Check page shows OK but objects are not indexed.
Analysis: The Solr plug-in is probably not installed or enabled.
Solution: Verify the Studio Server Plug-ins page.