Apache Lucene open-source search software
Go to file
Doug Cutting 169fac073f Revised internal search APIs. Changes include:
a. Queries are no longer modified during a search.  This makes
  it possible, e.g., to reuse the same query instance with
  multiple indexes from multiple threads.

  b. Term-expanding queries (e.g. PrefixQuery, WildcardQuery,
  etc.)  now work correctly with MultiSearcher, fixing bugs 12619
  and 12667.

  c. Boosting BooleanQuery's now works, and is supported by the
  query parser (problem reported by Lee Mallabone).  Thus a query
  like "(+foo +bar)^2 +baz" is now supported and equivalent to
  "(+foo^2 +bar^2) +baz".

  d. New method: Query.rewrite(IndexReader).  This permits a
  query to re-write itself as an alternate, more primitive query.
  Most of the term-expanding query classes (PrefixQuery,
  WildcardQuery, etc.) are now implemented using this method.

  e. New method: Searchable.explain(Query q, int doc).  This
  returns an Explanation instance that describes how a particular
  document is scored against a query.  An explanation can be
  displayed as either plain text, with the toString() method, or
  as HTML, with the toHtml() method.  Note that computing an
  explanation is as expensive as executing the query over the
  entire index.  This is intended to be used in developing
  Similarity implementations, and, for good performance, should
  not be displayed with every hit.

  f. Scorer and Weight are public, not package protected.  It now
  possible for someone to write a Scorer implementation that is
  not in the org.apache.lucene.search package.  This is still
  fairly advanced programming, and I don't expect anyone to do
  this anytime soon, but at least now it is possible.

Caution: These are extensive changes and they have not yet been
tested extensively.  Bug reports are appreciated.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149922 13f79535-47bb-0310-9956-ffa450edef68
2003-01-13 23:50:34 +00:00
docs - Updated with the latest changes. 2003-01-07 16:11:00 +00:00
lib - Removed JUnit 3.7 and added JUnit 3.8.1. All unit tests work with it. 2002-10-18 02:28:19 +00:00
src Revised internal search APIs. Changes include: 2003-01-13 23:50:34 +00:00
xdocs - Updated with the latest changes. 2003-01-07 16:11:00 +00:00
.cvsignore - Added build.properties. 2002-05-07 03:31:19 +00:00
BUILD.txt - Minor modifications. 2002-05-07 03:38:34 +00:00
CHANGES.txt Revised internal search APIs. Changes include: 2003-01-13 23:50:34 +00:00
LICENSE.txt renamed LICENSE to LICENSE.txt 2001-11-04 17:27:12 +00:00
README.txt added README, CHANGES and BUILD files 2001-11-04 17:23:04 +00:00
build.xml Added a public, extensible scoring API. 2002-11-07 17:31:27 +00:00
default.properties Revised internal search APIs. Changes include: 2003-01-13 23:50:34 +00:00
index.html add redirect to docs 2001-11-04 17:19:24 +00:00

README.txt

Lucene README file

$Id$

INTRODUCTION

Lucene is a Java full-text search engine.  Lucene is not a complete
application, but rather a code library and API that can easily be used
to add search capabilities to applications.

The Lucene web site is at:
  http://jakarta.apache.org/lucene

Please join the Lucene-User mailing list by sending a message to:
  lucene-user-subscribe@jakarta.apache.org

FILES

lucene-XX.jar
  The compiled lucene library.

docs/index.html
  The contents of the Lucene website.

docs/api/index.html
  The Javadoc Lucene API documentation.

src/java
  The Lucene source code.

src/demo
  Some example code.