Difference between revisions of " Rebuild Text Index Procedure"

From Blazegraph
Jump to: navigation, search
(Using Workbench)
(No difference)

Revision as of 05:10, 3 March 2016

REST API Method

Request to rebuild text index or create a new one if it does not exist for a data set identified by NAMESPACE.

POST /bigdata/namespace/NAMESPACE/textIndex
parameter definition
force-index-create when true full text index will be created if not exists. Default value is false.

Examples:

  • Rebuild an existing text index for a namespace identified by 'someNamespace':
curl -X POST http://localhost:9999/bigdata/namespace/someNamespace/textIndex 

If the text index not exists in the namespace then 'Error 500 Could not rebuild full text index, because it is not enabled' will be received from the server in a response.

  • Create text index in an existing namespace:
curl -X POST http://localhost:9999/bigdata/namespace/someNamespace/textIndex?force-index-create=true 

Using Workbench

  • Use the link 'Rebuild Full Text Index' if you want to rebuild an existing text index.

Screen20.png

The following message will appear after successful operation complete.

Screen21.png

  • Create the text index for an existing namespace.

Screen22.png