[ 
https://issues.apache.org/jira/browse/UIMA-173?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adam Lally resolved UIMA-173.
-----------------------------

    Resolution: Fixed
      Assignee: Thilo Goetz  (was: Adam Lally)

Work complete and documented updated.

> Create Default Bag Indexes when addFsToIndexes is called but no index has 
> been defined for that type
> ----------------------------------------------------------------------------------------------------
>
>                 Key: UIMA-173
>                 URL: https://issues.apache.org/jira/browse/UIMA-173
>             Project: UIMA
>          Issue Type: Improvement
>          Components: Core Java Framework
>            Reporter: Adam Lally
>         Assigned To: Thilo Goetz
>             Fix For: 2.1
>
>
> The basic idea is that CAS.addFsToIndexes(FS) and
> IndexRepository.addFs(FS) should *always* add the FS to an index.  If
> no appropriate index occurs we just create a bag index.  The FS can be
> retrieved by using IndexRepository.getAllIndexedFS(Type).
> The thinking is that if an annotator bothered to try to add something
> to the indexes, there was a reason for it, and it's a whole lot better
> to respect that than to just silently ignore it.
> Note that this doesn't cause any loss in performance if an annotator
> never adds an FS to the indexes.  We still support subordinate FS that
> are linked off of other FS but never indexed.
> More discussion here: 
> http://www.mail-archive.com/uima-dev@incubator.apache.org/msg01132.html

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to