You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@metamodel.apache.org by "Jakub Horcicka (Jira)" <ji...@apache.org> on 2021/02/12 14:39:00 UTC

[jira] [Updated] (METAMODEL-1233) Elasticsearch: "term" query is used for text search

     [ https://issues.apache.org/jira/browse/METAMODEL-1233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jakub Horcicka updated METAMODEL-1233:
--------------------------------------
    Description: 
Elasticseach query with "where" clause containing a text-based column comparison fails to retrieve any records. 
{code:java}
select * from _doc where _doc.my_text_column = 'my-value' => 0 results {code}
The issue is that "term query" is used for such statements and that is not recommended: 

!c01.png!  

 

 

 

  was:
Elasticseach query with "where" clause containing a text-based column comparison fails to retrieve any records. 
{code:java}
select * from _doc where _doc.my_text_column = 'my-value' => 0 results {code}
The issue is that "term query" is used for such statements and that is not recommended: 

 

 

 

 


> Elasticsearch: "term" query is used for text search
> ---------------------------------------------------
>
>                 Key: METAMODEL-1233
>                 URL: https://issues.apache.org/jira/browse/METAMODEL-1233
>             Project: Apache MetaModel
>          Issue Type: Bug
>            Reporter: Jakub Horcicka
>            Priority: Major
>         Attachments: c01.png
>
>
> Elasticseach query with "where" clause containing a text-based column comparison fails to retrieve any records. 
> {code:java}
> select * from _doc where _doc.my_text_column = 'my-value' => 0 results {code}
> The issue is that "term query" is used for such statements and that is not recommended: 
> !c01.png!  
>  
>  
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)