I have a file in blob storage folder/new/data1.json
.
data1
contains json array.
[
{
"name": "na",
"data": {
"1":"something1",
"2":"something2"
}
},
{
"name": "ha",
"data": {
"1":"something1",
"2":"something2"
}
}
]
my datasource body :
{
"name" : "datasource",
"type" : "azureblob",
"credentials" : { "connectionString" : "MyStorageConnStrning" },
"container" : { "name" : "mycontaner", "query" : "folder/new" }
}
my index body:
{
"name" : "index",
"fields": [
{ "name": "id", "type": "Edm.String", "key": true, "searchable": false },
{ "name": "name", "type": "Edm.String", "searchable": true, "filterable": false, "sortable": true, "facetable": true},
{ "name": "data", "type": "Edm.String", "searchable": false}
]
}
indexer body:
{
"name" : "indexer",
"dataSourceName" : "datasource",
"targetIndexName" : "index",
"parameters" : { "configuration" : { "parsingMode" : "jsonArray" } }
}
when created i can search for na
and ha
and get result.
but if i delete folder/new/data1.json
from the blob storage and run the indexer and try to search na
and ha
i still get results.
I found that if i Delete the indexer and recreate it na
and ha
goes away from search.
Is there any way to remove previous data with out deleting the indexer?
na
andha
– Drainpipe