Commit Graph

81 Commits

Author SHA1 Message Date
Christoph Goller 59e61bb910 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150310 13f79535-47bb-0310-9956-ffa450edef68
2004-04-22 08:30:44 +00:00
Doug Cutting 73779b4489 A few more 1.4RC2 fixups. Sigh.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150274 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 17:48:45 +00:00
Doug Cutting 67a6cb86e9 Update for 1.4RC2.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150273 13f79535-47bb-0310-9956-ffa450edef68
2004-03-30 17:40:08 +00:00
Doug Cutting f19a63217d Changed the default index format to be compound.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150245 13f79535-47bb-0310-9956-ffa450edef68
2004-03-24 18:10:59 +00:00
Otis Gospodnetic 1ebfc379fd - Changed QueryParser.jj to allow '-' and '+' characters in search terms.
Morus Walter's patch: http://issues.apache.org/bugzilla/show_bug.cgi?id=27491


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150242 13f79535-47bb-0310-9956-ffa450edef68
2004-03-24 10:12:27 +00:00
Otis Gospodnetic 712e742b78 - Added support for setting various Lucene properties via system properties.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150233 13f79535-47bb-0310-9956-ffa450edef68
2004-03-18 19:05:18 +00:00
Otis Gospodnetic cf06b516bc - Applied the patch that fixes query string escaping:
http://issues.apache.org/bugzilla/show_bug.cgi?id=24665
  Contributed by Jean-Francois Halleux


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150221 13f79535-47bb-0310-9956-ffa450edef68
2004-03-03 11:24:49 +00:00
Doug Cutting 12eee6df5a Added term vector support.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150206 13f79535-47bb-0310-9956-ffa450edef68
2004-02-20 20:14:56 +00:00
Doug Cutting abb62bda9c Added MultiReader, an IndexReader that combines multiple other IndexReaders.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150205 13f79535-47bb-0310-9956-ffa450edef68
2004-02-19 18:28:59 +00:00
Doug Cutting 32d5bcd950 Added hit sorting code, from Tim Jones.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150201 13f79535-47bb-0310-9956-ffa450edef68
2004-02-17 19:00:31 +00:00
Doug Cutting 93c33c3e12 Give credit to Julien Nioche for previous change.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150191 13f79535-47bb-0310-9956-ffa450edef68
2004-02-06 20:56:45 +00:00
Doug Cutting 755529c45c Permit queries to override the Similarity implementation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150190 13f79535-47bb-0310-9956-ffa450edef68
2004-02-06 19:19:20 +00:00
Doug Cutting 93ff39de13 Added new span-based query API.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150185 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 22:10:00 +00:00
Otis Gospodnetic 1df2ba0dec - Added 2 changes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150184 13f79535-47bb-0310-9956-ffa450edef68
2004-01-30 17:07:53 +00:00
Doug Cutting b1541ce027 Added ParallelMultiSearcher.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150172 13f79535-47bb-0310-9956-ffa450edef68
2004-01-20 18:37:09 +00:00
Doug Cutting 6f8347c6fe Optimized TermDocs.skipTo() and changed scorers to take advantage of it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150170 13f79535-47bb-0310-9956-ffa450edef68
2004-01-15 22:42:35 +00:00
Doug Cutting 561ec3714a pre-release commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150160 13f79535-47bb-0310-9956-ffa450edef68
2003-12-26 18:05:27 +00:00
Doug Cutting 8016aa3ea5 Fix StandardTokenizer's handling of CJK characters.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150159 13f79535-47bb-0310-9956-ffa450edef68
2003-12-22 22:12:24 +00:00
Doug Cutting fb13af2325 Updated for change to DocumentWriter.java.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150158 13f79535-47bb-0310-9956-ffa450edef68
2003-12-22 21:42:48 +00:00
Doug Cutting bd2acf0bf8 Add new method IndexReader.setNorm(), to permit altering boosts after an index is created.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150156 13f79535-47bb-0310-9956-ffa450edef68
2003-12-15 23:04:42 +00:00
Erik Hatcher d83ae1586c revert position increment change due to conflict with PhraseQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150152 13f79535-47bb-0310-9956-ffa450edef68
2003-12-05 14:30:12 +00:00
Erik Hatcher fd5806ddf2 Use position increments to account for removed stop words
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150148 13f79535-47bb-0310-9956-ffa450edef68
2003-11-28 02:03:14 +00:00
Erik Hatcher e869bd9c87 noted TooManyClauses catch in QueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150146 13f79535-47bb-0310-9956-ffa450edef68
2003-11-26 11:10:54 +00:00
Doug Cutting ef2d6effb7 Updated for RC3.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150141 13f79535-47bb-0310-9956-ffa450edef68
2003-11-25 21:56:08 +00:00
Otis Gospodnetic 80071b33e3 - Added section 1.3 RC3 and the first change in this version.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150131 13f79535-47bb-0310-9956-ffa450edef68
2003-11-18 12:00:12 +00:00
Doug Cutting ede163802d Add IndexReader.undeleteAll().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150111 13f79535-47bb-0310-9956-ffa450edef68
2003-10-21 18:24:23 +00:00
Doug Cutting f0d57d81a3 Changed IndexReader so that it can be subclassed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150110 13f79535-47bb-0310-9956-ffa450edef68
2003-10-21 17:59:17 +00:00
Erik Hatcher 0c585e634a note QueryParser enhancement
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150081 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 15:16:24 +00:00
Otis Gospodnetic 640c7632ba - Added a note about Dmitry's file handle reducing changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150079 13f79535-47bb-0310-9956-ffa450edef68
2003-10-03 12:37:51 +00:00
Erik Hatcher dc4e35c080 added PerFieldAnalyzerWrapper
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150068 13f79535-47bb-0310-9956-ffa450edef68
2003-09-27 14:21:50 +00:00
Erik Hatcher bfafa1b216 Added CachingWrapperFilter to change list
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150042 13f79535-47bb-0310-9956-ffa450edef68
2003-09-18 09:47:06 +00:00
Otis Gospodnetic 5728c0b343 - Added the recent changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150019 13f79535-47bb-0310-9956-ffa450edef68
2003-09-11 11:50:36 +00:00
Doug Cutting 47dfbc2b6a Added method IndexWriter.addDocument(Document, Analyzer).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149999 13f79535-47bb-0310-9956-ffa450edef68
2003-07-11 22:13:13 +00:00
Doug Cutting 1c8db6cfd0 Put lock files in /tmp instead of with the index.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149983 13f79535-47bb-0310-9956-ffa450edef68
2003-05-01 19:50:18 +00:00
Otis Gospodnetic 49db32469f - Added method getFieldNames(boolean).
Submitted by:	Julien Nioche
Reviewed by:	Otis


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149981 13f79535-47bb-0310-9956-ffa450edef68
2003-05-01 01:09:15 +00:00
Doug Cutting 0c40e49428 Start a new section for 1.3 RC2 changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149969 13f79535-47bb-0310-9956-ffa450edef68
2003-03-20 18:38:59 +00:00
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
Otis Gospodnetic 2aafe40de8 - Tatu's QueryParser changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149957 13f79535-47bb-0310-9956-ffa450edef68
2003-03-02 02:48:45 +00:00
Otis Gospodnetic a92eb6d93c - Added info about FSDirectory change.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149953 13f79535-47bb-0310-9956-ffa450edef68
2003-03-02 01:22:36 +00:00
Doug Cutting a2042c190b Fixed a bug with explain().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149927 13f79535-47bb-0310-9956-ffa450edef68
2003-01-14 19:20:30 +00:00
Otis Gospodnetic bc3aa553d5 - Added forgotten name.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149926 13f79535-47bb-0310-9956-ffa450edef68
2003-01-14 05:03:19 +00:00
Otis Gospodnetic 5b910b44b3 Added convenience RAMDirectory constructors taking File and String
arguments, for easy FSDirectory to RAMDirectory conversion.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149925 13f79535-47bb-0310-9956-ffa450edef68
2003-01-14 03:41:05 +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
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