Feature #2455

Add a new CQL '[implicit] property' parameter

Added by Serge Heiden about 1 year ago. Updated 11 months ago.

Status:New Start date:10/03/2018
Priority:Normal Due date:
Assignee:- % Done:

0%

Category:UI / Parameters Spent time: -
Target version:TXM X.X

Description

Add a new CQL '[implicit] property' parameter to all CQL query based UIs: Index, Concordance...
to drive the CQL implicit/default property parameter (the property used, for example, to interpret the "a.*" query as [word="a.*"] or [frlemma="a.*"] etc.).

That parameter could be displayed before the CQL query field, for example:

Query: [                         ] Properties: word [Edit]

becomes

Query: Property: [word v] [                         ] Properties: word [Edit]

or simply

Query: [word v] [                         ] Properties: word [Edit]

as a symetrical UI:

  • '[word v]' for the implicit input property
  • 'Properties: word [Edit]' for the output properties

The default value can come from:

  • a CQPSearchEngineImplicitProperty general preference
  • or from a CQPSearchEngineImplicitProperty corpus property
  • or 'word'

The value of the CQPSearchEngineImplicitProperty is used to insert the CQP code to set the implicit property just before the code of the CQL query.

That explicit UI based parameter should ease access to all word properties in queries (and not just 'word) to much more users.

History

#1 Updated by Sebastien Jacquot 11 months ago

  • Target version changed from TXM 0.8.0 to TXM X.X

Also available in: Atom PDF