Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#2 Problem indexing an OpenOffice Sxw file

closed-fixed
nobody
None
5
2006-10-24
2005-09-13
Anonymous
No

Tryng to index an OpenOffice File done with
OpenOffice2.0 Writer i had this error:

java.lang.StringIndexOutOfBoundsException: String
index out of range: -1
at java.lang.String.substring(String.java:1768)
at
ca.ulaval.bibl.lius.index.OpenOffice.OOIndexer.getFilesT
oIndex(OOIndexer.java:82)
at
ca.ulaval.bibl.lius.index.OpenOffice.OOIndexer.getPopula
tedCollection(OOIndexer.java:105)
at
ca.ulaval.bibl.lius.index.Indexer.createLuceneDocument
(Indexer.java:87)
at
ca.ulaval.bibl.lius.index.OpenOffice.OOIndexer.createLuc
eneDocument(OOIndexer.java:95)
at it.ops.search.Lius.Indicizza(Lius.java:62)
at it.ops.search.Lius.main(Lius.java:118)

Discussion

  • Logged In: YES
    user_id=1073535

    Hi,
    I have indexed OpenOffice document version 1.1.4 and every
    things works perfectly. I will download the 2.0 version to see
    what going rang.

     
    • status: open --> open-fixed
     
  • Logged In: YES
    user_id=1073535

    Hi,
    I have fixed the bug related to OpenOffice 2.0. So If you want
    to index OO 2.0 you documents must have the
    extension .opt and if you want to index 1.0 you have to use
    sxw .
    You have to download the latest version from lius sourceforge
    CVS.
    I will also create a new release in the incoming days.
    Tanks for reporting this bug.

     
    • status: open-fixed --> closed-fixed