+ Reply to Thread
Results 1 to 3 of 3

Thread: How could add ".svg" file to be indexed by Lucene in Deki as ".xml" file?

  1. #1
    Join Date
    Apr 2009
    Location
    Bulgaria, Europe
    Posts
    111

    Default How could add ".svg" file to be indexed by Lucene in Deki as ".xml" file?

    I would like Lucene to index .SVG files as .XML files are indexed. So if we have a diagram with text fields inside, this to be searchable later.

    How and where I could add that file extension to be searchable?

  2. #2
    Join Date
    Feb 2008
    Location
    Southern California
    Posts
    258

    Default

    You will find the extension indexing definition in your mindtouch.deki.startup.xml file. In the <indexer> section of the file you will find <filter-path extension= definition for the extension and the application used to index that file type. In my case I am running under Windows Server so I use the built in iFilter function and the provided Mindtouch iFilter interface application to index all of my files. So my <indexer> section looks like this:
    Code:
          <indexer>
            <path.store>d:\dekiwiki\web\bin\cache\luceneindex\\$1</path.store>
            <filter-path extension="*" arguments="$1">d:\dekiwiki\web\bin\filters\mindtouch.deki.filter.exe</filter-path>
          </indexer>
    Hope that helps.

    Regards,
    Mark C.

  3. #3
    Join Date
    Apr 2009
    Location
    Bulgaria, Europe
    Posts
    111

    Default

    Thank You! It worked just great!

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts