XWiki Platform
  1. XWiki Platform
  2. XWIKI-8656

Add support again for indexing java class files as attachments

    Details

    • Tests:
      Unit
    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:
      XWIKI-99Add support for removing class properties
      XWIKI-6214Attachment indexing in cluster mode
      XWIKI-384Add Inheritance support for classes
      XWIKI-1996Add Hindi support
      XWIKI-7554Add again support for Named Parameters in the Event Stream
      XWIKI-757Lucene not indexing word files (And maybe no file)
      XWIKI-3435Allow to add link to an attached file
      XWIKI-127Allow Specific Hibernate Mapping and Java Class for XWiki Object
      XWIKI-6685Configure extra indexes in the hibernate mapping file for improved performance
      XWIKI-9174Move manual SOLR indexing to Java

      Description

      We'll be able to fix this once https://issues.apache.org/jira/browse/TIKA-1053 is fixed.

      At that time don't forget to remove the @Ignore annotation on the AttachmentDataTest.testGetFullTextFromClass() test.

        Issue Links

          Activity

          Hide
          Eduard Moraru added a comment -

          Can you please provide more details on this issue? What do you mean by indexing java class files as attachments? Currently, both search implementations (lucene and solr) use Apache Tika to index the text version of an attachment. Are you suggesting that we treat java (*.java?) class (or *.class?) files differently?

          Show
          Eduard Moraru added a comment - Can you please provide more details on this issue? What do you mean by indexing java class files as attachments? Currently, both search implementations (lucene and solr) use Apache Tika to index the text version of an attachment. Are you suggesting that we treat java (*.java?) class (or *.class?) files differently?
          Hide
          Vincent Massol added a comment -

          Before the commit for XWIKI-8657, Tika was able to index a file representing a Java Class (i.e. a *.class file). This is no longer possible due to the ASM issue.

          Show
          Vincent Massol added a comment - Before the commit for XWIKI-8657 , Tika was able to index a file representing a Java Class (i.e. a *.class file). This is no longer possible due to the ASM issue.
          Hide
          Thomas Mortagne added a comment - - edited

          Upgraded to Tika 1.4 but looks like they don't use the right asm artifact...

          Show
          Thomas Mortagne added a comment - - edited Upgraded to Tika 1.4 but looks like they don't use the right asm artifact...

            People

            • Assignee:
              Thomas Mortagne
              Reporter:
              Vincent Massol
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: