I am searching using the Elastic Search
I have indexed some data
My indexed files are
{
"took": 3,
"timed_out": false,
"_shards": {
"total": 5,
"successful": 5,
"failed": 0
},
"hits": {
"total": 3,
"max_score": 1,
"hits": [
{
"_index": "videos",
"_type": "video",
"_id": "AVIXaLysVz6v1thGg_1G",
"_score": 1,
"_source": {
"videoid": "963",
"title": "Army Song",
"description": "Army Song",
"tags": "Army"
}
},
{
"_index": "videos",
"_type": "video",
"_id": "AVIXXcs6Vz6v1thGg_0-",
"_score": 1,
"_source": {
"videoid": "964",
"title": "FitoorOfficialTrai-Download-From-YTPak.com",
"description": "FitoorOfficialTrai-Download-From-YTPak.com",
"tags": "no-tag"
}
},
{
"_index": "videos",
"_type": "video",
"_id": "AVIXaKpDVz6v1thGg_1D",
"_score": 1,
"_source": {
"videoid": "965",
"title": "ChanningTatumperfo-Download-From-YTPak.com",
"description": "ChanningTatumperfo-Download-From-YTPak.com",
"tags": "ChanningTatumperfo-Download-From-YTPak.com"
}
}
]
}
}
When i search with FitoorOfficialTrai it returns the results but i want when i search with only Fitoor it returns no results
My search query is
{
"query": {
"bool": {
"should": [
{ "match": { "title": "fitoor" }}
]
}
}
}
I want it to generate on partial word too
Kindly Reply ASAP
Thanks in advance