okproject
(Elastic Learner)
December 11, 2018, 3:31am
1
Hi.
I know the term search faster than full text search.
So i can create a full text search query like this :
http://myserver:9200/myindex/_doc/_search/?_source=false&request_cache=true&q=kategori_Id=12
But kategori_Id field is just an Id and it can be faster with exact match term search, is that correct ?
If it is how to create term search from URI ?
Thanks.
dadoonet
(David Pilato)
December 11, 2018, 7:09am
2
You can't. But if the field is indexed as a keyword data type and you search with ?q=kategori_id:12
it should be fast.
Otherwise just use the QueryDSL to have a full control of what is run.
1 Like
system
(system)
Closed
January 8, 2019, 7:09am
3
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.