Skip to content

Simple Java class to help with indexing/purging a number of files in Solr (tested with Solr6). Create a text file and have the DBIDs listed line by line in it, no commas.

tonellma/reindex_solr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

This class can be used in situations where the full index on an Alfresco repository failed to index some nodes.

To prepare for its use, you need to have an export of all the DBIDs that need to be indexed (it could be all of the IDs in the alf_node table) in a text file, one DBID per line.

If you download it, compile it and run it, it will ask you what kind of action you would like to perform (INDEX, REINDEX, FIX or PURGE) then the name of the host (e.g http://localhost:8983) then the name of the Solr core to hit (e.g alfresco) and finally the path to the file containing the list of nodes (e.g C:\tmp\node_list.txt).

Once you enter the parameters and accept, it will index the nodes one by one. With the current version, you can find a log file at C:\tmp\log.log.

Please adjust the paths for Unix machines.

About

Simple Java class to help with indexing/purging a number of files in Solr (tested with Solr6). Create a text file and have the DBIDs listed line by line in it, no commas.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages