admin/settings/apachesolr/index

- finish indexing (batch indexes outstanding items)
- trigger complete reindex
- trigger complete reindex in batch mode
- delete index
- delete index and reindex in batch mode

Comments

janusman’s picture

Agree! Subscribiendo =)

drewish’s picture

+1 on this. At the very least think we should allow the admin to index all remaining content without starting from the beginning every time. I've got 60,000+ nodes and run into issues after importing content where cron won't be able to catch up. I don't want to re-index from the beginning, I just want to index the remaining content.

I've got half a patch together, I'll finish it up today.

drewish’s picture

Status: Active » Needs review
StatusFileSize
new15.78 KB
new83.7 KB

here's a starting point for this. the more i thought about it the more convoluted having all the options was. i stripped it down to:
- reindex remaining content
- queue all content for indexing
- delete index

i also tried to remove references to the batch api since people don't know what that means and it's unimportant.

drewish’s picture

StatusFileSize
new15.95 KB

Okay made some fixes to the indexing. It was falling over if you ran it when there was nothing left to index.

drewish’s picture

Title: Index controls should be radio buttons with one form submission button. » Index controls should be radio buttons with one form submission button
StatusFileSize
new16.53 KB

Couple of small UI string changes.

robertdouglass’s picture

Awesome. Thanks everybody for pushing this forward. Hope to have it in in the next days.

robertdouglass’s picture

Status: Needs review » Needs work

Need to ask for a re-roll, please. Thanks.

drewish’s picture

Status: Needs work » Needs review
StatusFileSize
new16.62 KB

not sure what would conflict but here you go.

robertdouglass’s picture

Version: 6.x-2.x-dev » 6.x-1.x-dev
Status: Needs review » Patch (to be ported)

#573734 by drewish | robertDouglass: Added Index controls should be radio buttons with one form submission button.

Very nice. Thanks. Committed to 6.x-2.x. Seeing if Peter wants it ported to 6.1.

pwolanin’s picture

Looks like this repends first on backporting the batch reindexing code?

drewish’s picture

Hard to say, it might be easier to just copy/paste rather than try to get two patches to apply cleanly.

jpmckinney’s picture

Status: Patch (to be ported) » Postponed
drewish’s picture

Status: Postponed » Fixed

I'd actually suggest just doing it all in one. If they backport from the current code rather than from the patch it'd be a much simpler. So one of the two issues should just be closed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.