Disable _all and search

I want to disable _all to reduce the index size and I was using _all and searches works

Now searches doesnt work after removing _all , can some one help me understand this and how to do this

I'm guessing you are using a query string query. This query type uses _all as its default field to search on.
This is useful when you are not searching on a specific field and want to run a full search.

Try specifying an explicit field on your search as explained here:


Thank you and you said query string query and what are the different types of queries