New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add indexed search capabilities to uPortal #1598
Conversation
…partial indexing in this commit (but not search yet)
Heads up -- this initial commit will definitely fail the Google format check. |
Some questions, but maybe it's an other development step:
|
@drewwills testing this locally, I'm not spotting a difference between this, and the previous search. |
Thank you @jgribonvald & @ChristianMurphy for your engagement on this effort!
I would love that. I think that's something we may want to try and improve down the road. The trouble is that the out-of-the-box If the indexing data is on the file system, I figure it has to be:
Mostly for the reason(s) above. If we index when the data changes, how will we...
This approach eliminates those concerns.
Kinda. There are basically 3 parts to this work:
(1) and (2) are implemented in this PR and enabled; (3) is not implemented, yet. |
…hits based on indexed portlet data
UpdateThe latest commit implements query matching/search results based on indexed portlet data. But there's (at least) one issue remaining...I'm getting duplicates in the results. I need to deal with that. |
This changeset appears to add no unit tests so far. Maybe the duplicate search results are an opportunity to express that bug as a failing test case and then make the test pass? |
Do you know if the duplicates are true duplicates (The same items in the index) or, are they different items in the index that look the same? |
I didn't have a chance to look closely, but I strongly suspect they are not really duplicates... but rather the same piece of content (a.k.a. portlet definition) matching the search term(s) more than once. (For example, matching in the title and also in the description fields.) The trouble is that the current UI (which I have no time to update) has no way to show multiple matches to the user or to get value out of the extra result(s) in any way. |
How does the result ranking look. If the things that you expect are all at the top of the results then it should be possible to remove the duplicates by setting a threshold on the score. |
…es in the UI; add a unit test
@rodzi -- I handled the issue with duplicates. Do you have any advice about how we're using Lucene in this solution? |
…ils.unescapeHtml()
Checklist
Description of change
This PR will add search indexing and indexed-based search to uPortal, together with indexing support for some content types (esp. SimpleContentPortlet).
@rodzi @laurenra7