Skip to content

Indexing only new documents in server mode #919

Answered by mvanzalu
erikkri asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @erikkri, yes it is possible to do so.
After adding your new documents in your folder, you will have to execute two commands :

  • datashare -m CLI --defaultProject nameOfYourIndex --stages "SCANIDX" --reportName nameOfYourQueue (This command will scan your index and gather the paths to store it inside the report queue)
  • datashare -m CLI --dataDir path/to/your/directory --defaultProject nameOfYourIndex --stages "SCAN,INDEX" --reportName nameOfYourQueue(This command will scan and index the documents in your directory, thanks to the report queue, it will skip the paths inside of it)

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mvanzalu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants