[
https://issues.apache.org/jira/browse/JSPWIKI-469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16378368#comment-16378368
]
Jürgen Weber commented on JSPWIKI-469:
--------------------------------------
JSPWiki has a good API, programming JSPWiki providers or plugins is actually
not very hard.
Reading the Plugin sources will give you a good start:
[https://github.com/apache/jspwiki/tree/master/jspwiki-war/src/main/java/org/apache/wiki/plugin]
and of course, have a look at LuceneSearchProvider.java
[https://github.com/apache/jspwiki/blob/master/jspwiki-war/src/main/java/org/apache/wiki/search/LuceneSearchProvider.java]
To build a provider or plugin with Maven you only need
<dependency>
<groupId>org.apache.jspwiki</groupId>
<artifactId>jspwiki-war</artifactId>
<version>2.10.2</version>
<classifier>classes</classifier>
<scope>provided</scope>
</dependency>
> Enhance LuceneSearchProvider for other Attachments
> ---------------------------------------------------
>
> Key: JSPWIKI-469
> URL: https://issues.apache.org/jira/browse/JSPWIKI-469
> Project: JSPWiki
> Issue Type: Improvement
> Reporter: NicolaFischer
> Assignee: Florian Holeczek
> Priority: Minor
> Fix For: FutureVersion
>
> Attachments: patch.txt
>
>
> LuceneProvider should index more filestypes then only plain text. This is one
> attempt to index pdf-files.
> Required jars:
> * [Apache POI|http://ftp.tpnet.pl/vol/d1/apache/poi/release/bin] (not tested
> with 3.0.1 final)
> * [PDFBox|http://www.pdfbox.org]
> * [FontBox|http://www.fontbox.org]
> * [OpenDocumentTextInputStream|http://books.evc-cit.info/odf_utils/index.html]
> Patch attached for 2.8.1
> Maybe we should check how to index more documents.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)