Skip to content
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

Lucene index growing without bound #1809

Open
cbeach47 opened this issue Aug 2, 2019 · 1 comment
Open

Lucene index growing without bound #1809

cbeach47 opened this issue Aug 2, 2019 · 1 comment
Labels

Comments

@cbeach47
Copy link
Contributor

cbeach47 commented Aug 2, 2019

Describe the bug
Indexed portlets in lucene are being duplicated in the index. This causes unnecessary growth of the raw search results. Currently, there's only a check in the code to remove duplicates before exposing to the user.

To Reproduce
Steps to reproduce the behavior:

  1. PortalInit a fresh clone of uP-start
  2. Import several portlets that all would be returned in a search (for example, all contain 'course' in the name)
  3. Start uP and wait 3 minutes for the indexing to complete.
  4. Note the number of documents in the lucene index (search for name:course in Luke)
  5. Wait another 3 minutes for the indexing task to run again.
  6. Reopen the index in luke. Note the number of documents in the lucene index has now grown.

Expected behavior
The Lucene indexed documents should not grow unless content is added/changed.

Platform:

  • uPortal Version: 5.6.1
  • OS: Ubuntu
  • Browser Firefox
@cbeach47
Copy link
Contributor Author

cbeach47 commented Aug 2, 2019

Also happens in uP 5.7.1

cbeach47 added a commit to cbeach47/uPortal that referenced this issue Aug 29, 2019
cbeach47 added a commit to cbeach47/uPortal that referenced this issue Aug 29, 2019
@cbeach47 cbeach47 mentioned this issue Aug 29, 2019
6 tasks
cbeach47 added a commit to cbeach47/uPortal that referenced this issue Aug 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant