Antville’s Fork of Helma Object Publisher https://helma.js.org
Find a file
grob 5496bcfb04 * this library now expects Lucene version 1.9.1 (due to API changes in Lucene it currently doesn't work with version 2.0)
* added (most of) missing analyzers in Search.getAnalyzer()
* createIndex doesn't support a third argument for force-create an index anymore. to clear an index use its create() method instead
* Index now uses an IndexModifier instead of an IndexWriter in most cases
* to create a new Searcher instance now call index.getSearcher() or pass the index to search in as argument to the Searcher constructor
* checkWriteLock() is gone, instead getWriter() and getModifier() try for 2 seconds to return a writer/modifier. this should avoid concurrency problems
* Index.addIndexes() now takes a number of index directory arguments
* Index.create() now deletes all files in the directory (before it didn't)
* added checks for existing writer/modifier/reader before calling close()
* Index.getFieldNames() now returns a javascript array instead of a java object one
* Index.isLocked() doesn't create a reader anymore (before it did, but didn't use it)
* removed Index.getTerms() - if someone is missing that, shout
* Index.addDocument() now expects a single Document instance, for batch adding use the new method addDocuments()
* same with Index.removeDocument()
* added new method Index.updateDocument() that does removal and adding in one step (so the index is locked just once instead of two times)
* the wrapped lucene Query instance is now a public field - this saves from duplicating the getter method in every extending prototype
* Document.addField() now uses new DateTools class instead of the deprecated DateField utility methods
* removed Document.getDateField() since Document.getField() now handles dates as well
* added JSDoc compatible documentation
2006-09-29 13:49:40 +00:00
core workaround for http://helma.org/bugs/show_bug.cgi?id=474 went into the wrong repository: changed the way the number of days is calculated. 2006-08-21 15:57:05 +00:00
helma * this library now expects Lucene version 1.9.1 (due to API changes in Lucene it currently doesn't work with version 2.0) 2006-09-29 13:49:40 +00:00