Commit Graph

14 Commits

Author SHA1 Message Date
Doug Cutting b1000d9451 Preparing for 1.3 RC1.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149966 13f79535-47bb-0310-9956-ffa450edef68
2003-03-20 18:15:04 +00:00
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
Doug Cutting 6772e7567d Added a public, extensible scoring API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149885 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 17:31:27 +00:00
Otis Gospodnetic 84ea488895 - Added build.manifest property.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149864 13f79535-47bb-0310-9956-ffa450edef68
2002-10-19 16:05:12 +00:00
Otis Gospodnetic 9b9965017e - Removed properties that are not being used by build.xml.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149847 13f79535-47bb-0310-9956-ffa450edef68
2002-09-18 20:09:35 +00:00
Doug Cutting 5fbe9f8179 Improved javadoc comments.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149828 13f79535-47bb-0310-9956-ffa450edef68
2002-07-31 17:47:14 +00:00
Otis Gospodnetic e33dca7274 - Added a note about build.properties file.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149777 13f79535-47bb-0310-9956-ffa450edef68
2002-06-17 15:34:27 +00:00
Peter Carlson 03a738d8de Chagned default.properties to reflect new 1.3-dev1 status for building nightly builds.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149775 13f79535-47bb-0310-9956-ffa450edef68
2002-06-09 21:56:14 +00:00
Peter Carlson 1332664ade Fixed default.properties so that when built it uses build 1.2 vs. 1.3-dev1
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149773 13f79535-47bb-0310-9956-ffa450edef68
2002-06-09 20:44:01 +00:00
Peter Carlson 88ca33439d Updated files to reflect new 1.3-dev1 revision.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149762 13f79535-47bb-0310-9956-ffa450edef68
2002-06-02 19:15:18 +00:00
Otis Gospodnetic 0c5a8aa81b - Undo an accidental change in the previous revision.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149740 13f79535-47bb-0310-9956-ffa450edef68
2002-05-07 18:07:43 +00:00
Peter Carlson 34a2ac1e94 fixed demo war file variable so that it would resolve correctly.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149733 13f79535-47bb-0310-9956-ffa450edef68
2002-05-06 05:09:55 +00:00
Otis Gospodnetic be31efa0fc - Added explicit encoding.
A fix for bug #7019.
  http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7019
PR: 7019
Obtained from:	Raymond
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149731 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 15:16:18 +00:00
Jon Scott Stevens 5a36725d4a implemented what i proposed on the mailing list with regards
to having a default.properties define the properties and
allow people to define their own properties easily by creating
a build.properties file.

I also updated the documentation to clearly lay out what one needs
to do to define their own properties.

-jon


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149709 13f79535-47bb-0310-9956-ffa450edef68
2002-02-27 22:18:28 +00:00