I want to create a customized CQL field that searches for a content property inside my confluence,
I did the following:
1- Creating a content property via REST post method
2- Indexing this content property by configuring content-property-index-schema inside my atlassian-plugin
=> now my content property is searchable , as I tried to search for it in the search rest call by adding the following in cql parameter of api/search method : content.property[mxdoc1].fileid=1234 => I got results
Now , using CQL field, I discovered that we are calling TermQuery(fieldName, value) that does the query via code. But, what should I put as 1st parameter:fieldName ? How Lucene stored this fieldName?
Can you please help?