Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-2612

Word Document not being indexed.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Medium
    • None
    • 1.3
    • Search - Core
    • n/a

    Description

      Word Document not being indexed.
      There is only one copy of "Database Versioning - Howto.doc" in the attachments dir and it opens up in word just fine.
      However it I search in confluence for text it contains, it is not in the results.

      I found this error in the log files:
      2005-01-20 15:54:09,188 ERROR [search.lucene.mapping.AttachmentLuceneDocumentFactory] Error extracting text from attachment: Database Versioning - Howto.doc
      java.util.NoSuchElementException
      at java.util.AbstractList$Itr.next(AbstractList.java:426)
      at org.textmining.text.extraction.WordExtractor.extractText(WordExtractor.java:150)
      at bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory.getAttachmentStringContent(AttachmentLuceneDocumentFactory.java:107)
      at bucket.search.lucene.mapping.AttachmentLuceneDocumentFactory.createDocument(AttachmentLuceneDocumentFactory.java:56)
      at com.atlassian.confluence.search.lucene.ConfluenceAttachmentLuceneDocumentFactory.createDocument(ConfluenceAttachmentLuceneDocumentFactory.java:14)
      at bucket.search.lucene.LuceneIndexer.getDocument(LuceneIndexer.java:156)
      at bucket.search.lucene.LuceneIndexer.indexAll(LuceneIndexer.java:94)
      at com.atlassian.confluence.search.lucene.ConfluenceIndexer.indexAll(ConfluenceIndexer.java:47)
      at bucket.search.lucene.AbstractBatchIndexer.indexEntities(AbstractBatchIndexer.java:57)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.springframework.aop.framework.AopProxyUtils.invokeJoinpointUsingReflection(AopProxyUtils.java:61)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:149)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:116)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:56)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:138)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:152)
      at $Proxy22.indexEntities(Unknown Source)
      at com.atlassian.confluence.search.IndexingTask.run(IndexingTask.java:24)
      at java.lang.Thread.run(Thread.java:534)

      Attachments

        Activity

          People

            Unassigned Unassigned
            a715b9cd8108 RefuX Zanzeebarr
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: