Try our conversational search powered by Generative AI!

EPiServer Search: Error message from search on my front end servers

Vote:
 

Hi

I see this error in my log file on front end webserver. The search is working. 

2015-12-23 00:00:09,521 [25] ERROR EPiServer.Search.IndexingService.IndexingService: Failed to search index 'default'. Index seems to be corrupt! Message: minimumSimilarity >= 1
   at Lucene.Net.Search.FuzzyQuery..ctor(Term term, Single minimumSimilarity, Int32 prefixLength) in d:\Lucene.Net\FullRepo\trunk\src\core\Search\FuzzyQuery.cs:line 80
   at Lucene.Net.QueryParsers.QueryParser.NewFuzzyQuery(Term term, Single minimumSimilarity, Int32 prefixLength) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 877
   at Lucene.Net.QueryParsers.QueryParser.GetFuzzyQuery(String field, String termStr, Single minSimilarity) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 1064
   at EPiServer.Search.IndexingService.PerFieldQueryParserWrapper.GetFuzzyQuery(String field, String termStr, Single minSimilarity)
   at Lucene.Net.QueryParsers.QueryParser.Term(String field) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 1705
   at Lucene.Net.QueryParsers.QueryParser.Clause(String field) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 1417
   at Lucene.Net.QueryParsers.QueryParser.Query(String field) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 1342
   at Lucene.Net.QueryParsers.QueryParser.Clause(String field) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 1417
   at Lucene.Net.QueryParsers.QueryParser.Query(String field) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 1342
   at Lucene.Net.QueryParsers.QueryParser.Clause(String field) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 1417
   at Lucene.Net.QueryParsers.QueryParser.Query(String field) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 1342
   at Lucene.Net.QueryParsers.QueryParser.Clause(String field) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 1417
   at Lucene.Net.QueryParsers.QueryParser.Query(String field) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 1342
   at Lucene.Net.QueryParsers.QueryParser.Clause(String field) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 1417
   at Lucene.Net.QueryParsers.QueryParser.Query(String field) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 1342
   at Lucene.Net.QueryParsers.QueryParser.TopLevelQuery(String field) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 1290
   at Lucene.Net.QueryParsers.QueryParser.Parse(String query) in d:\Lucene.Net\FullRepo\trunk\src\core\QueryParser\QueryParser.cs:line 224
   at EPiServer.Search.IndexingService.IndexingServiceHandler.SingleIndexSearch(String q, NamedIndex namedIndex, Int32 maxHits, Int32& totalHits)
2015-12-23 00:00:09,537 [22] ERROR SearchSettings: Could not get search results for uri 'http://localhost/IndexingService/IndexingService.svc/search/?q=(EPISERVER_SEARCH_DEFAULT%3a(fripoliser%7e1))+AND+((EPISERVER_SEARCH_VIRTUALPATH%3a(43f936c9%5c-9b23%5c-4ea3%5c-97b2%5c-61c538ad07c9%7cd3cc140a%5c-3065%5c-4590%5c-b150%5c-42ddd0db26c5*))+OR+(EPISERVER_SEARCH_VIRTUALPATH%3a(43f936c9%5c-9b23%5c-4ea3%5c-97b2%5c-61c538ad07c9%7ca5ad6895%5c-f288%5c-44b2%5c-b6ea%5c-e25b630a9ad6*))+OR+(EPISERVER_SEARCH_VIRTUALPATH%3a(43f936c9%5c-9b23%5c-4ea3%5c-97b2%5c-61c538ad07c9%7c117d12cf%5c-5a01%5c-41c5%5c-9000%5c-f9306919d32a*)))&namedindexes=&offset=0&limit=20&format=xml&accesskey=local'. Message: The remote server returned an error: (500) Internal Server Error.   at System.Net.HttpWebRequest.GetResponse()
   at EPiServer.Search.RequestHandler.MakeHttpRequest(String url, NamedIndexingServiceElement namedIndexingServiceElement, String method, Stream postData, Action`1 responseHandler)
   at EPiServer.Search.RequestHandler.GetSearchResults(String query, String namedIndexingService, Collection`1 namedIndexes, Int32 offset, Int32 limit)

The front end server does not have access to write to index files. Only edit server has write access.

Anybody knows how to fix this

web.config on front end

  
    
      
    
    
      
        
      
    
  
    
      
        
      
    
    
      
    
  

Anybody?

#142787
Dec 23, 2015 15:19
Vote:
 

Do you have both nodes trying to look at the same index location? I believe the standard practice is for both nodes to have their own separate index to access. Please see this forum post for more information - http://world.episerver.com/forum/developer-forum/EPiServer-CMS-6-CTP-2/Thread-Container/2010/10/EPiServer-Full-Text-Search-Service-in-a-load-balanced-environment/

#142790
Dec 23, 2015 20:39
Vote:
 

You should only need the episerver.search.indexingservice node in the web.config on the 1 server you do your editing on.

If you want to use the Search API and hit that same server from the public servers... then they should have the episerver.search node with the baseUri set to the URL of your editing server.

#142884
Jan 04, 2016 18:00
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.