Elastic search on workobjects- finding the property that contains the search string

is there a way to find out which property actually contained the search string?

Ex: .Page.Country = India.
​if i search for "India" can i know it is present in .Page.Country property

The datapage D_pyWorkSearch returns the work object id and any other properties that we may need can be specified in the Customer Search properties and add them in the pyWorkSearch Report Definition and look at the values but i have around 100 properties so i cannot add all of them in the Customer search proeprties and most of them are embedded properties.

So how can we find the property name which contains this search string . is this possible ?

I tried looking at the pzSearch activity but that's a dead end. Any documentation on the getSearcherAPI would be appreciated.


Keep up to date on this post and subscribe to comments

September 11, 2019 - 10:05am

I don't believe there is a way to do that at this time. You can perform a search of a specific property by including it in the search string and adding a colon. For example, searching designer studio for "pyPurpose: indexing" only returns results where "indexing" is found for the property "pyPurpose". This isn't exactly what you were asking for, but I think that's the closest there is right now.

September 16, 2019 - 5:34am
Response to NickLoving_GCS

Hi Nick,
This isn't exactly what i am looking for but just to add to your point, i explored  this feature as well and i don't think this works for embedded properties right ? i was able to search for "pyID:101" but  i don't think i can search for "Region.Country:India". If this can be achieved can you tell me how ?