Commit Graph

39 Commits

Author SHA1 Message Date
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
Otis Gospodnetic 394da6b050 - Updated with the latest changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149920 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 16:11:00 +00:00
Otis Gospodnetic 474cb42805 - Fixed wrong method name.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149913 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 17:29:40 +00:00
Otis Gospodnetic 0113b7ec22 - Updated.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149911 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 17:16:07 +00:00
Peter Carlson 17eb3235b7 Updated Changes to include information about id method in Hits
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149893 13f79535-47bb-0310-9956-ffa450edef68
2002-11-15 16:09:48 +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 0a222c92a0 - Updated with an entry for the Russian Analyzer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149842 13f79535-47bb-0310-9956-ffa450edef68
2002-09-16 04:11:36 +00:00
Doug Cutting 689293d13b Fixed a bug in IndexReader.lastModified().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149833 13f79535-47bb-0310-9956-ffa450edef68
2002-08-08 17:56:19 +00:00
Doug Cutting 5dbea95485 Added getAnalyzer() accessor method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149832 13f79535-47bb-0310-9956-ffa450edef68
2002-08-07 16:28:08 +00:00
Doug Cutting 06d359828b Added QueryFilter class.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149831 13f79535-47bb-0310-9956-ffa450edef68
2002-08-05 18:05:56 +00:00
Doug Cutting 91512d5dde Improved documentation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149830 13f79535-47bb-0310-9956-ffa450edef68
2002-08-05 17:39:03 +00:00
Doug Cutting 6e202b2be1 msg.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149827 13f79535-47bb-0310-9956-ffa450edef68
2002-07-29 19:11:15 +00:00
Doug Cutting abf7b9598a Clarified a change message.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149826 13f79535-47bb-0310-9956-ffa450edef68
2002-07-26 17:32:54 +00:00
Otis Gospodnetic 7d3fbbc5f5 - Ch ch ch changes....to GermanStemmer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149825 13f79535-47bb-0310-9956-ffa450edef68
2002-07-25 06:11:35 +00:00
Otis Gospodnetic be6a5b0388 - Updated with today's changes.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149821 13f79535-47bb-0310-9956-ffa450edef68
2002-07-18 14:40:51 +00:00
Doug Cutting c5c408171d Updated for the changes that I made earlier today.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149816 13f79535-47bb-0310-9956-ffa450edef68
2002-07-17 23:26:26 +00:00
Otis Gospodnetic 47fc87d4cb - Recorded today's changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149812 13f79535-47bb-0310-9956-ffa450edef68
2002-07-15 03:58:06 +00:00
Otis Gospodnetic 6efcaa8649 - Recorded Brian's change to QueryParser.jj for range query syntax.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149794 13f79535-47bb-0310-9956-ffa450edef68
2002-06-29 22:34:09 +00:00
Otis Gospodnetic 333a7a6829 - Recorded HTMLParser.jj changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149793 13f79535-47bb-0310-9956-ffa450edef68
2002-06-29 22:10:37 +00:00
Otis Gospodnetic ca040d218a - Updated an existing item.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149789 13f79535-47bb-0310-9956-ffa450edef68
2002-06-27 16:30:20 +00:00
Peter Carlson b1b3d33cf7 Updated Changes to include information about add id method in Hits
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149784 13f79535-47bb-0310-9956-ffa450edef68
2002-06-21 16:54:00 +00:00
Otis Gospodnetic 1aba01fe47 - Updated with information about changes that allow lock creation to be disabled.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149783 13f79535-47bb-0310-9956-ffa450edef68
2002-06-21 16:41:38 +00:00
Otis Gospodnetic 2ef3150b70 - Added recent changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149771 13f79535-47bb-0310-9956-ffa450edef68
2002-06-05 18:42:46 +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
Peter Carlson 3f512e96e5 Changed QueryParser.jj to have "?" be a special character which allowed it to be used as a wildcard term. Updated TestWildcard unit test also. (Ralf Hettesheimer via carlson)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149758 13f79535-47bb-0310-9956-ffa450edef68
2002-05-20 15:45:43 +00:00
Peter Carlson ed3ec5371d Started new section of CHANGES.txt for RC6
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149751 13f79535-47bb-0310-9956-ffa450edef68
2002-05-14 15:24:05 +00:00
Peter Carlson 1326d05b22 Add changes for unit test fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149748 13f79535-47bb-0310-9956-ffa450edef68
2002-05-11 13:32:30 +00:00
Otis Gospodnetic 5b635fa89f - Updated with an entry for a change just made in DateFilter.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149742 13f79535-47bb-0310-9956-ffa450edef68
2002-05-07 21:28:51 +00:00
Brian Goetz c06d0ce9ef Add query parser note
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149737 13f79535-47bb-0310-9956-ffa450edef68
2002-05-07 00:24:22 +00:00
Otis Gospodnetic fe527de308 - Gave Eugene and Rodrigo Reyes credit.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149735 13f79535-47bb-0310-9956-ffa450edef68
2002-05-06 18:10:55 +00:00
Peter Carlson 2621aefe48 Reviewed cvs commit in mailling list and added changes to date.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149732 13f79535-47bb-0310-9956-ffa450edef68
2002-05-04 18:26:27 +00:00
Otis Gospodnetic d97cbdffff - Added 2 recent changes.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149711 13f79535-47bb-0310-9956-ffa450edef68
2002-02-27 23:05:15 +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
Doug Cutting 247a7df6df Start change list for next release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149687 13f79535-47bb-0310-9956-ffa450edef68
2002-02-14 21:17:17 +00:00
Doug Cutting 0a737ca136 Updated for recent changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149682 13f79535-47bb-0310-9956-ffa450edef68
2002-02-14 19:31:25 +00:00
Doug Cutting ed0aeca6bf Updated for recent changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149672 13f79535-47bb-0310-9956-ffa450edef68
2002-02-08 23:01:15 +00:00
Peter Carlson 23f09891f8 Update Changes to include new updates to contributions
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149668 13f79535-47bb-0310-9956-ffa450edef68
2002-02-07 20:24:28 +00:00
Doug Cutting 74723e3698 Added recent changes. Folks should update this themselves!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149653 13f79535-47bb-0310-9956-ffa450edef68
2002-01-27 22:27:48 +00:00
Doug Cutting 8b3d41f04f added README, CHANGES and BUILD files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149623 13f79535-47bb-0310-9956-ffa450edef68
2001-11-04 17:23:04 +00:00