The Artima Developer Community
Sponsored Link

Java Community News
Lucene 2.0 Released

1 reply on 1 page. Most recent reply: May 30, 2006 12:37 PM by Ivan Lazarte

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Frank Sommers

Posts: 2642
Nickname: fsommers
Registered: Jan, 2002

Lucene 2.0 Released Posted: May 29, 2006 9:44 AM
Reply to this message Reply
Summary
Mostly a bugfix release form version 1.9, the Lucene project released the 2.0 version of its popular open-source search engine tool. The latest release removes most deprecated methods, and provides many new features over the last major version.
Advertisement
According to the Lucene project, version 2.0 is mainly a bugfix release, and thus contains many of new features that were already present in the 1.9 version. Here are some of the new features (for a complete list, see the Lucene 2.0 release notes):
  • Support for binary stored fields and stored compressed fields.
  • A new DateTools allows formatting of dates in a readable format adequate for indexing. Unlike Lucene's existing DateField, DateTools can handle dates before 1970, and forces the specifying of a desired date resolution, making RangeQuerys more efficient. In addition, a new RangeFilter is a more generically useful filter than DateFilter filter on date ranges.
  • Lucene's QueryParser now works with Analyzers that can return more than one token per position: A query such as "+fast +car" would be parsed as "+fast +(car automobile)" if the Analyzer returns "car" and "automobile" at the same position whenever it finds "car."
  • The new NumberTools utility helps index numeric fields.
  • Two new regular expression queries, RegexQuery and SpanRegexQuery, were added.
  • The new DisjunctionMaxQuery provides the maximum score across it's clauses, which is useful for searching across multiple field.
  • The newly added public static IndexReader.main(String[] args) method in IndexReader can now be used at the command line to list and optionally extract the individual files from an existing compound index file.
  • The new ParallelReader is an IndexReader that combines separate indexes over different fields into a single virtual index.

Have you used Lucene in your projects?


Ivan Lazarte

Posts: 91
Nickname: ilazarte
Registered: Mar, 2006

Re: Lucene 2.0 Released Posted: May 30, 2006 12:37 PM
Reply to this message Reply
No but good god I keep looking for an excuse too. Lucene is the one gem in Java I keep looking to find time to work seriously with. Of course I've run the generic "index the source" demo, but regex querying? Awesome. Sigh!

Flat View: This topic has 1 reply on 1 page
Topic: Lucene 2.0 Released Previous Topic   Next Topic Topic: Orchestrate Workflow with jBPM

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use