e.g. "testcolumn" this field in index_test , let's set it not as a full-txt index, but we still can use the query as below. How we can achieve this?
Post _xpack/sql/
{
"query": "select * from index_test where testcolumn= 'BVM'"
}
e.g. "testcolumn" this field in index_test , let's set it not as a full-txt index, but we still can use the query as below. How we can achieve this?
Post _xpack/sql/
{
"query": "select * from index_test where testcolumn= 'BVM'"
}
Not sure about what you mean.
If it's not indexed, it's not searchable.
can we set it to an not full-text index( not need to be analyzed), and still searchable.
"type": "keyword"
will do it.
Thank you! That work for me.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 2020. All Rights Reserved - Elasticsearch
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant logo are trademarks of the Apache Software Foundation in the United States and/or other countries.