Skip to content
Snippets Groups Projects
Commit efdc9c78 authored by Michael Hamann's avatar Michael Hamann Committed by Michael Hamann
Browse files

XWIKI-22917: Solr indexing takes very long when there are many objects with...

XWIKI-22917: Solr indexing takes very long when there are many objects with different values (#3923)

* Use a HashSet to compute unique values instead of a linear search.
* Rename LengthSolrInputDocument to XWikiSolrInputDocument.
* Use XWikiSolrInputDocument in more places to use the new method.
* Add a unit test for XWikiSolrInputDocument.

(cherry picked from commit 39e2c7ff)
parent 4707c64f
Branches XWIKI-19119
No related tags found
No related merge requests found
Showing
with 249 additions and 29 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment