Bug #1623

RCP: 0.7.8, Milestones declared in CQP registry file

Added by Matthieu Decorde about 4 years ago. Updated almost 4 years ago.

Status:Resolved Start date:12/14/2015
Priority:Normal Due date:
Assignee:- % Done:

80%

Category:SearchEngine Spent time: -
Target version:TXM Annotation 1.0

Description

With Windows, CQI.AttributeSize() is broken when used with milestone structures.

CQI.AttributeSize is used to test if an annotation already exists in a CQP corpus.

warning: check what happen with structure with no attribute

Solution 0: manual

remove milestone structures from the CQP registry file

Solution: automatic

don't index milestones and don't declare them in the CQP registry file.

Either :
  • user must declare milestones in the import form (but users might make mistakes)
  • detect milestones before creating indexes (parse XML files)
  • detect milestones after creating the indexes (*.rng files size is 0)

Solution 2

Fix CQP for Windows build

History

#1 Updated by Matthieu Decorde almost 4 years ago

  • Description updated (diff)

#2 Updated by Matthieu Decorde almost 4 years ago

  • Description updated (diff)

#3 Updated by Matthieu Decorde almost 4 years ago

  • Description updated (diff)

#4 Updated by Matthieu Decorde almost 4 years ago

  • % Done changed from 0 to 80

#5 Updated by Matthieu Decorde almost 4 years ago

  • Status changed from New to Resolved

Also available in: Atom PDF