helma.Search

Object
   |
   +--helma.Search


This class provides functionality for creating a fulltext search index based on Apache Lucene.
Defined in Search.js

Author: Robert Gaggl



Constructor Summary
helma.Search()
            Constructs a new instance of helma.Search.
 
Methods Summary
 helma.Search.Index createIndex(<org.apache.lucene.store.Directory> dir, <org.apache.lucene.analysis.Analyzer> analyzer)
           Creates a new Lucene index in the directory passed as argument, using an optional analyzer, and returns an instance of helma.Search.Index.
 org.apache.lucene.store.FSDirectory getDirectory(<File|helma.File|java.io.File|String> dir, <Boolean> create)
           Returns an instance of org.apache.lucene.store.FSDirectory.
 org.apache.lucene.store.RAMDirectory getRAMDirectory(<File|helma.File|java.io.File|String> dir)
           Returns a RAM directory object.
<static>  {org.apache.lucene.analysis.Analyzer} getAnalyzer(<String> key)
           Returns a new Analyzer instance depending on the key passed as argument.

Constructor Detail

helma.Search

helma.Search()

Method Detail

createIndex

helma.Search.Index createIndex(<org.apache.lucene.store.Directory> dir, <org.apache.lucene.analysis.Analyzer> analyzer)

getDirectory

org.apache.lucene.store.FSDirectory getDirectory(<File|helma.File|java.io.File|String> dir, <Boolean> create)

getRAMDirectory

org.apache.lucene.store.RAMDirectory getRAMDirectory(<File|helma.File|java.io.File|String> dir)

getAnalyzer

<static> {org.apache.lucene.analysis.Analyzer} getAnalyzer(<String> key)


Documentation generated by JSDoc on Thu Apr 5 01:59:00 2007