I have indexed my projects but search turns up empty #4675
Replies: 4 comments 2 replies
-
The log message means that the suggester did not find its data. Even if the suggester was not initialized, it would not impact searching. Does your OpenGrok data root include indexes for the 3 projects ? How was indexer run and are there any relevant messages in the indexer logs ? What happens if you restart Tomcat ? |
Beta Was this translation helpful? Give feedback.
-
Hi, I restarted tomcat and the log of the deployment of opengrok webapp is below :
I also did a tail -f on the opengrok specific log and in the startup process it didnt write anything. In the opengrok installation under data/index I have a subdirectory for each one of the projects with some files having lucene in their name. I also have a directory data/suggester with a subdirectory for each project. But the only file in those is named version.txt. I have a script that runs the indexer on the tomcat server : java -jar /portabledrive/javaapps/opengrok-1.13.23/lib/opengrok.jar -s /portabledrive/javaapps/opengrok-1.13.23/src/ -d /portabledrive/javaapps/opengrok-1.13.23/data/ -R /var/opengrok/etc/configuration.xml -v The output of this script is :
I don't know what component is responsible for the search function : the indexer or the suggester ? Thanks, |
Beta Was this translation helpful? Give feedback.
-
Hi, I installed Jdk-11 and started OpenGrok with that. Now on application deployment I'm getting errors in the tomcat log like : 16-Oct-2024 12:01:23.677 WARNING [main] org.apache.tomcat.util.scan.StandardJarScanner.processURLs Failed to scan [file:/p I have downloaded tomcat 9, 10 and 11. None of them has that jar or any other version of it. I also looked at the opengrok distribution and it's not there. As I suspect that it should belong to tomcat as this jar in particular is the implementation of the expression language. Which version of tomcat can I use ? Or do I have to add all the jars that opengrok complains manually ? EDIT : I have found for example the file jakarta.el-api-5.0.0.jar in the WEB-INF lib of the exploded WAR file inside tomcat. EDIT2 : In the opengrok lib directory of the distribution is the 5.0.1 version of the library. Why does the correct library exists outside the war file, and the wrong is in WEB-INF lib of the war file ? Thanks, |
Beta Was this translation helpful? Give feedback.
-
I copied all the jars on the opengrok distribution to the exploded WEB-INF/lib and the exceptions are gone. Thank you for your assistance, |
Beta Was this translation helpful? Give feedback.
-
Hi,
I am running opengrok 1.13.23 on jdk 23 on raspbian. I have three projects.
1 in C, 1 in Cpp and another in Python.
I can browse the files through the web interface.
But searching for anything gives me an empty result.
In the tomcat log I can see :
org.opengrok.suggest.SuggesterProjectData.lookup No WFST for field full in <path to data/suggester>
What do I have to do in order to fix this ?
Thanks,
Regards
Beta Was this translation helpful? Give feedback.
All reactions