cancel
Showing results for 
Search instead for 
Did you mean: 

Search not working

newadmin
Champ in-the-making
Champ in-the-making
I have an Alfresco installation which has been running for months now. The "recently modified" widget and the search functionality have never worked. I understand that this has something to do with solr and lucene indexes, but the documentation is not very beginner friendly, or very clear on how to configure this. A few questions:

1) What is the difference between Solr and Lucene? I have read that you can switch between the two, but have not idea how to or what the pro/cons are of using one or the other.
2) How do I configure my system to enable to search functionality?
3) Given that my installation was done using defaults why does this functionality not work "out of the box"?

Any assistance would be greatly appreciated.

Thanks.
2 REPLIES 2

dbas2000
Champ in-the-making
Champ in-the-making
Hello newadmin,

For my own, the search was not working when logged as admin with then english language selectionned in login screen, but worked with the french language !


Pierre-André

newadmin
Champ in-the-making
Champ in-the-making
I think I understand a bit more about indexing within Alfresco now (Lucene vs Solr, etc). I think for my purposes it is fine to use the default Lucene. I believe that the problem is that the Lucene indexes are not being created. In fact by default I don't even have a lucene-indexes directory within alf_data. I have tried creating this folder manually, and setting the index recovery mode to full (as recommended in other topics), but the indexes are not being created. After restarting the alfresco-tomcat service I observe the following errors:

10:32:08,339 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 08170002 Wrapped Exception (with status template): 08170012 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 08170011 Failed to execute search: +ID:"" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")
org.springframework.extensions.webscripts.WebScriptException: 08170002 Wrapped Exception (with status template): 08170012 Failed to execute script 'classpath*:alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/doclist.get.js': 08170011 Failed to execute search: +ID:"" +(TYPE:"content" OR TYPE:"app:filelink" OR TYPE:"folder")


and

10:34:39,888 ERROR [org.alfresco.web.ui.common.Utils] Search failed due to system error: 08170019
org.alfresco.repo.search.impl.lucene.LuceneQueryParserException: 08170019