Hi ,
I have below query which is working fine when I don't specify fields , but when I want to search on few fields then I am getting something like All Shards failed...can you please resolve my issue..
Below is my query...
```
CODE
{
"explain":true,
"query":{
"bool":{
"must":[
{
"query_string":{
"fields":[
"Additional_Instruction.keyword",
"CompletedDate",
"Current_Packaging_Code.keyword",
"Dimensions.keyword",
"Do_you_want_to_Notify_Printer.keyword",
"DocketNo",
"DueDate",
"EstimatedCompletionDate",
"ForecastEndDate",
"TEST_Artwork_Studio.keyword",
"TEST_Comments.keyword",
"TEST_Component_Name.keyword",
"TEST_Component_Type.keyword",
"TEST_Country.keyword",
"TEST_Description.keyword",
"TEST_Pack_Size.keyword",
"TEST_Packaging_Site.keyword",
"TEST_Product_Name.keyword",
"TEST_Project_Name.keyword",
"TEST_Strength.keyword",
"HoldDays",
"ID",
"IsDefunct",
"IsJobArchived",
"IsJobCanceled",
"IsJobOnHold",
"IsJobPhasedOut",
"ItemID",
"ItemName.keyword",
"ItemType.keyword",
"ItemTypeID",
"JobDueDate",
"JobEstimatedDate",
"JobGroups.keyword",
"JobInitiator.keyword",
"JobLastUpdated",
"JobLastUpdatedBy.keyword",
"JobOwner.keyword",
"JobOwnerGroup.keyword",
"JobStartDate",
"JobStatus",
"JobType",
"JobVariance.keyword",
"Keyline_Number.keyword",
"LastUpdate",
"LinkedParentJobs",
"Old_Packaging_Code.keyword",
"OriginalEndDate",
"ParentID",
"PartNumber.keyword",
"PassCycle.keyword",
"Pharma_Code.keyword",
"Prefix.keyword",
"Printers.keyword",
"ProofCycle.keyword",
"RelationID",
"Required_By_Date.keyword",
"RevisionNumber",
"RoutingTemplateName.keyword",
"StageID",
"StageName.keyword",
"StartDate",
"StatusID",
"TotalPassCount.keyword",
"Version",
"WorkflowID",
"WorkflowName.keyword",
"brCode.keyword",
"chkinterworkflow.keyword",
"jobtrackstatus.keyword"
],
"query":"18-01*"
}
}
],
"_name":"TESTquery"
}
},
"size":10000,
"sort":[
{
"_score":{
"order":"desc"
}
}
],
"track_scores":true
}
CODE