-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/73271/
-----------------------------------------------------------
Review request for atlas, Jayendra Parab, Madhan Neethiraj, Nixon Rodrigues,
and Sarath Subramanian.
Bugs: ATLAS-4238
https://issues.apache.org/jira/browse/ATLAS-4238
Repository: atlas
Description
-------
**Current working:** During freetext/quick search, wildcard '*' is appended
after the search string from UI.
Whenever attribute search value has "**+-&|!(){}[]^"~?:**" special characters,
then '*' will not be appended to get the correct result.
('*' is removed because for TEXT type attribute, it tokenize the value on
special characters)
**Issue:** '@' or 'digit+.' etc there are many other special characters which
gets tokenize for 'TEXT' type attribute. hence if the search value has these
special characters which are not added in above list, it doesn't give results.
**Solution:** We need to handle all the special characters which tokenize the
string
Diffs
-----
repository/src/main/java/org/apache/atlas/discovery/EntityDiscoveryService.java
4ae2d1279
repository/src/test/java/org/apache/atlas/discovery/AtlasDiscoveryServiceTest.java
9846d4310
Diff: https://reviews.apache.org/r/73271/diff/1/
Testing
-------
added test cases
Precommit:
Thanks,
Pinal Shah