nuPickers icon indicating copy to clipboard operation
nuPickers copied to clipboard

Token replacement for Lucene Raw Query

Open Hendy opened this issue 10 years ago • 4 comments

the parameters:

  • CurrentId
  • ParentId
  • Typeahead

can be replaced with values

Hendy avatar Jun 01 '15 15:06 Hendy

Was this ever implemented?

vmburd avatar May 03 '16 12:05 vmburd

@protherj any thoughts about a Lucene token prefix ?

Sql uses: @contextId, @typeahead Xml uses: $ancestorOrSelf

Hendy avatar Jun 28 '16 16:06 Hendy

So we add a Typeahead property to the DataSource, then set it in the ApiController. Is the token prefix you're looking for the field to search?

-Jason

protherj avatar Jun 29 '16 14:06 protherj

Hi @protherj the token prefix is just something to make the magic string identifiable as a token - the field to search would be in the RawQuery and associated with the token, does that help ?

Hendy avatar Jun 29 '16 15:06 Hendy