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:

      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: