Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Exact matches when searching on path properties

Highlighted

Exact matches when searching on path properties

New Contributor

Is there any syntax to force an exact match on a fileSystemPath property? Seems that by default it always does a prefix search on any path properties.

 

I made it work with this:

 

    /api/v9/entities?query=(fileSystemPath:"/tmp") AND (-fileSystemPath:\/tmp\/*)

 

but am wondering if there's a more direct way?

 

Don't have an account?
Coming from Hortonworks? Activate your account here