Search function doesn't search the actual questions body contents
The search functionality only appears to search for text in the following fields: * Question Title * Answer/Comment text body
Request: As a user of the QA plugin, I want the search functionality to look for text in the Questions page body. This is because, the Question Title is meant to be a shortened summary of the issue, but the real description is in the page contents.
Comments (19)
-
repo owner -
reporter Yes, that was my understanding as well. However, it doesn't appear to be working.
See this first image, which shows two questions added.
You can see in the Question description it has the text "Simple QA plugin".
You can see in the next image, that I have searched for the text "plugin" and it is returning me no results.
I know searching against the Question Title and Answer body text work, as I tested both of those.
Thanks for the quick response!
-
repo owner Dear Adrian,
I just double checked that the search of the body is working as well - it does.
Could you please check the following for me:
- Can you try whether your question pages are findable searching for "plugin" using the normal Confluence search box.
- Do you get a different result searching for "documented" in the Simple QA search field?
In case you find the pages with test 1. and test 2. also does not find them please do the following:
- Enable debug logging for class de.edrup.confluence.plugins.SimpleQAHelper
- Perform the search for "plugin" and send me the relevant log entries (I'm hunting for the error message "Could not find page for result:" and the debug messages "Found xxx relevant pages" and "After rendering xxx pages left.").
Thank you.
Andreas
-
repo owner Dear Adrian,
I found a potential source of the problem. Would you mind testing it again in version 1.6.2 from the download section here?
Thank you and kind regards
Andreas
-
reporter Good morning Andreas,
I tested the normal Confluence search and it does find the question searching for something in the description.
I don't have direct access to install the latest version. I'll have to ask our administrators to do it.
Will let you know.
Thank you!
-
reporter Hi Andreas,
Our team updated the plugin to version 1.6.2, however, the search issue is still a problem.
-
reporter You can see here, I did a search using the main confluence search, and it finds the page if I search for contents in the Question page description.
-
reporter Any thoughts on this Andreas?
Thanks
-
repo owner Dear Adrian,
sorry I didn't realize that you already tested it in the newer version and was waiting for your feedback.
I'm afraid we have to move forward with looking into the logs. I have created a version with much more intense logging in the debug level. I need your help with the following steps:
- Download and install version 1.6.3 from the download section.
- Set the logging level for de.edrup.confluence.plugins.SimpleQAHelper to debug. Here is described how this can be achieved.
- Perform your search for plugin and send me the relevant log entries. The relvant log entries should look something like this:
2017-12-02 08:14:05,290 DEBUG [http-nio-8090-exec-3] [edrup.confluence.plugins.SimpleQAHelper] getSimpleQAOverview Search for Sophie returned 3 hits in the space. 2017-12-02 08:14:05,292 DEBUG [http-nio-8090-exec-3] [edrup.confluence.plugins.SimpleQAHelper] getSimpleQAOverview Single search result: type: custom; determined page title: 2017-12-02 08:14:05,293 DEBUG [http-nio-8090-exec-3] [edrup.confluence.plugins.SimpleQAHelper] getSimpleQAOverview Single search result: type: comment; determined page title: My colleagues can't access my page 2017-12-02 08:14:05,294 DEBUG [http-nio-8090-exec-3] [edrup.confluence.plugins.SimpleQAHelper] getSimpleQAOverview Single search result: type: page; determined page title: Was soll der Hund da? 2017-12-02 08:14:05,294 DEBUG [http-nio-8090-exec-3] [edrup.confluence.plugins.SimpleQAHelper] getSimpleQAOverview Collecting the relevant pages finished at 48 ms. 2017-12-02 08:14:05,297 DEBUG [http-nio-8090-exec-3] [edrup.confluence.plugins.SimpleQAHelper] getSimpleQAOverview Found 2 relevant pages. 2017-12-02 08:14:05,299 DEBUG [http-nio-8090-exec-3] [edrup.confluence.plugins.SimpleQAHelper] getSimpleQAOverview Rendering with 1 subsets. 2017-12-02 08:14:05,311 DEBUG [pool-29-thread-2] [edrup.confluence.plugins.SimpleQAHelper] renderSubset Preparing the subset took 11 ms. 2017-12-02 08:14:05,314 DEBUG [http-nio-8090-exec-3] [edrup.confluence.plugins.SimpleQAHelper] getSimpleQAOverview After rendering 2 pages left. 2017-12-02 08:14:05,321 DEBUG [http-nio-8090-exec-3] [edrup.confluence.plugins.SimpleQAHelper] getSimpleQAOverview Getting the rendered overview finished at 75 ms.
I'm sorry that I need to involve you that much but as was not able to reproduce the error in any of my installations that's the only way.
Thank you and kind regards
Andreas
-
repo owner Can you please also tell me your Confluence version so that I can continue try reproducing it on my side. Thank you.
-
reporter Hey @andreas , sorry missed that question last time.
We are on version 7.4.2.
Thanks
-
repo owner Dear Adrian
I assume you mean 6.4.2?
Are you able to provide the debug messages?
Kind regards
Andreas
-
reporter Oh sorry, I was looking at our JIRA version. Our Confluence version is 6.2.1
-
repo owner Dear Adrian,
I just installed a fresh 6.2.1 and tested it again with no issues. I'm afraid you have to help me by providing the relevant log entries.
Kind regards
Andreas
-
reporter Hi Andreas,
Unfortunately I don't have access to those logs. Will continue to investigate from our side as well then. Could just be that the search didn't fully re-index or something...
-
repo owner Dear Adrian,
that is right - as a user you don't have access to it. Your admin might help. As an alternative you can also try (however it also requires an admin to help): https://marketplace.atlassian.com/plugins/net.artemissoftware.confluence.plugins.tools.log-downloader/server/overview
I'll put the ticket on hold and re-open it again once I have feedback from you.
Kind regards
Andreas
-
repo owner - changed status to on hold
waiting for additional customer feedback
-
repo owner Dear Adrian,
just a question of interest. Did you solve the problem or did you stop trying?
Kind regards
Andreas
-
repo owner - changed status to closed
In version 1.10.0 we changed the search engine to CQL. In case there ever was an issue with the old sort engine it should be gone with the change.
- Log in to comment
Dear Adrian,
the implemented search uses Confluence search which also searches the body of the question not just the title. Do you have an example in which it does not work?
Kind regards
Andreas