[ 
https://issues.apache.org/jira/browse/ATLAS-2990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17395960#comment-17395960
 ] 

Pinal Shah commented on ATLAS-2990:
-----------------------------------

[~abhi63269] 

If you want to search with query language (Domain specific search language) you 
can use DSL search/ Advanced search REST api.

Example :
/api/atlas/v2/search/dsl?limit=25&offset=0&query=hive_table%20where%20name%20%3D%20%27testMap%27

> Full text search not working as expected
> ----------------------------------------
>
>                 Key: ATLAS-2990
>                 URL: https://issues.apache.org/jira/browse/ATLAS-2990
>             Project: Atlas
>          Issue Type: Bug
>            Reporter: Abhishek Sharma
>            Priority: Blocker
>
> Hello,
> I am performing full text search on my entities. My entity structure has 
> array of columns inside it. Now each column has a set of attributes inside 
> it.  When I do full text search based on the particular attribute of the 
> column then I get all the entities that I created from the type despite the 
> filtering condition applied in the form of where clause.
> It looks like the where clause is not even working with the full text search. 
> Here is my sample query-
> api/atlas/v2/search/fulltext?query=<custom_type>%2C+columns+where+<attribute>%3D%27<value>%27
>  
> Now in the above query I only want the entities where the attribute is equal 
> to value but instead the full text search retrieves all the entities of the 
> type <custom_type> despite where clause is satisfied or not.
>  
> Please suggest me if I am using the full text query with wrong syntax
> Or if you could provide some other DSL query that solves my problem statement 
> then I would be really thankful.



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

Reply via email to