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

Reindexing takes nearly forever #91

Open
iwemuiser opened this issue Feb 10, 2014 · 2 comments
Open

Reindexing takes nearly forever #91

iwemuiser opened this issue Feb 10, 2014 · 2 comments

Comments

@iwemuiser
Copy link

We have a database with 56.000 items, which takes a few days to index at the moment.
When we make a dump of our database, this takes about 10 minutes, and indexing that dump takes about 15 minutes.
I suspect that every time item is added to the solr core, the whole lot gets reindexed or something. Might that be true? Is it an idea to add documents per 1000? or 5000?

@iwemuiser
Copy link
Author

I tried version 2.0.0-rc2. It looks a lot better and all connections and settings seem to work properly.
Still though, indexing takes a lot of time. I tried to index a 16.000 items version of our database and it took about 6 hours. Is this supposed to take this long?

@davidmcclure
Copy link
Contributor

(Eh, I somehow managed to accidentally delete my previous comment while trying to fix a typo - sorry for the double email notification, @iwemuiser.)

Hm, that is indeed ridiculously slow. I just spun up a test site with a few thousand items, and it was indexing in just a few seconds - nothing like minutes or days! I wonder if there could be something in your Solr configuration that's choking things up.

Are you using the most current version of the template Solr core that ships with the plugin? If not, try swapping that in, and see if that speeds things up.

https://github.com/scholarslab/SolrSearch/tree/master/solr-core/omeka

Best,
David

@erochest erochest added this to the 2.1.0 milestone Aug 26, 2014
@erochest erochest self-assigned this Sep 10, 2014
@erochest erochest removed this from the 2.1.0 milestone Dec 16, 2014
@erochest erochest added this to the 2.3.0 milestone Jul 14, 2015
@erochest erochest removed this from the 2.3.0 milestone Aug 5, 2015
@erochest erochest removed their assignment Apr 11, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants