[
https://issues.apache.org/jira/browse/ATLAS-2989?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17395965#comment-17395965
]
Pinal Shah commented on ATLAS-2989:
-----------------------------------
[~abhi63269]
Full text search is not preferred to query like dsl (Ex: where Key = value).
You can use DSL query/ Advanced search REST api for it.
> Full text search based dsl query is not bringing the results appropriately
> --------------------------------------------------------------------------
>
> Key: ATLAS-2989
> URL: https://issues.apache.org/jira/browse/ATLAS-2989
> Project: Atlas
> Issue Type: Bug
> Components: atlas-core, atlas-webui
> Reporter: Abhishek Sharma
> Priority: Blocker
>
> Hello
> I have created some entities(like test1,school,college) using custom type
> that I have prepared.
> Each entity contains array of columns .Each column contains array of sources.
> Each Column comprises of columnAlias as a field.
> Now when I am performing the full text search using the below mentioned query
> [http://172.29.59.59:21000/api/atlas/v2/search/fulltext?excludeDeletedEntities=true&query=key+where+key='c1'|http://172.29.59.59:21000/api/atlas/v2/search/fulltext?excludeDeletedEntities=true&query=key+where+key=%27c1%27]
> Even if I provide the key to be something which is not correct and irrevelant
> ,it is still showing output and it is showing output even on passing correct
> key.
> I have the following doubts -
> 1) Whether my syntax for full text search query is incorrect ?
> 2) Same pattern is observed even on querying using basic dsl
> http://172.29.59.81:21000/api/atlas/v2/search/basic?excludeDeletedEntities=true&typeName=<custom_type>&query=columns
--
This message was sent by Atlassian Jira
(v8.3.4#803005)