Commit Graph

803 Commits

Author SHA1 Message Date
Daniel Naber c97ba92ebd refactoring so that filename extensions are in one place
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168449 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 22:20:49 +00:00
Daniel Naber 0209ce959b don't print to stdout in test cases
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168338 13f79535-47bb-0310-9956-ffa450edef68
2005-05-05 15:22:03 +00:00
Daniel Naber 4b00637662 only delete our own files when re-creating an index (#34695)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@168213 13f79535-47bb-0310-9956-ffa450edef68
2005-05-04 23:34:52 +00:00
Daniel Naber cfb14e1be8 improve text of exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@165658 13f79535-47bb-0310-9956-ffa450edef68
2005-05-02 18:43:48 +00:00
Daniel Naber b8dfd507eb whitespace cleanup only (no more tabs/spaces mix)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@165552 13f79535-47bb-0310-9956-ffa450edef68
2005-05-01 22:04:24 +00:00
Daniel Naber 9c3bd9ca86 import cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@165484 13f79535-47bb-0310-9956-ffa450edef68
2005-05-01 11:59:02 +00:00
Erik Hatcher d9042b00d8 move PrecedenceQueryParser to contrib/misc until the kinks are worked out
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@164964 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 09:32:33 +00:00
Erik Hatcher 3b44de80e6 Correct source of javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@164935 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 01:39:17 +00:00
Erik Hatcher 6952e96648 revamp toString so as to not deal with potential IOException from fetching a document
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@164934 13f79535-47bb-0310-9956-ffa450edef68
2005-04-27 01:38:35 +00:00
Doug Cutting a5db1c034a Improvements to patch #31841 from Wolf Siberski. Deprecation is now consistent. Tests now pass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@164865 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 19:30:20 +00:00
Daniel Naber 335606ec82 make deprecated tests compile again
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@164843 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 18:01:09 +00:00
Erik Hatcher f7023a936d Clear up Hit javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@164728 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 03:23:44 +00:00
Erik Hatcher cfd5d55b7e Fix issue Otis identified with HitIterator, along with corresponding test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@164726 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 03:19:07 +00:00
Erik Hatcher 2bb0c8f257 Fixed @see tags and added reference to HitIterator from Hits.iterator
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@164704 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 01:29:02 +00:00
Erik Hatcher 6dbb01e8b5 add warning about Hits.iterator
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@164699 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 00:51:58 +00:00
Erik Hatcher ab83a46657 Add Hits.iterator and corresponding HitIterator and Hit classes. Contributed by Jeremy Rayner
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@164695 13f79535-47bb-0310-9956-ffa450edef68
2005-04-26 00:21:53 +00:00
Daniel Naber e9f22b5bc5 small documentation improvement
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@162070 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 20:53:03 +00:00
Doug Cutting 0dcd089588 Use variables for gcc executables, so that folks may specify alternate
versions.  Patch from Brion Vibber.  Bug #34545.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@162068 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 20:49:45 +00:00
Daniel Naber f8e8507a44 a test case to make sure the MultiSearcher ranking is really fixed (bug #31841)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@162063 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 20:34:09 +00:00
Otis Gospodnetic e4bd715106 - Applied Chuck's and Wolf's patch for bug 31841
http://issues.apache.org/bugzilla/show_bug.cgi?id=31841


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@162008 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 03:28:32 +00:00
Erik Hatcher bc1a7b0f6f Grammar correction.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@161999 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 01:10:54 +00:00
Erik Hatcher 1bda4aff94 add nested clauses for .equals test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@161998 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 01:05:52 +00:00
Erik Hatcher db095e45e5 minor javadoc cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@161997 13f79535-47bb-0310-9956-ffa450edef68
2005-04-20 01:04:49 +00:00
Erik Hatcher 14b21aae0d revert change to BooleanQuery.equals and add a test case.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@161075 13f79535-47bb-0310-9956-ffa450edef68
2005-04-12 17:22:32 +00:00
Erik Hatcher e676822c77 #34408: Add .equals/.hashCode to RangeQuery to facilitate use within hash maps and in unit test comparisons
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@161045 13f79535-47bb-0310-9956-ffa450edef68
2005-04-12 12:34:56 +00:00
Otis Gospodnetic 13f423812c - Unit test contributed by Cheolgoo Kang and cleaned up by Paul Elschot
c.f. http://issues.apache.org/bugzilla/show_bug.cgi?id=33459


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@160127 13f79535-47bb-0310-9956-ffa450edef68
2005-04-05 03:21:05 +00:00
Erik Hatcher f673bff9ef add .equals support for MultiTermQuery and subclasses. this facilitates unit testing comparison of Query instances
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@159688 13f79535-47bb-0310-9956-ffa450edef68
2005-04-01 13:51:04 +00:00
Daniel Naber ccc027faba typo fix in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@159229 13f79535-47bb-0310-9956-ffa450edef68
2005-03-28 11:14:33 +00:00
Doug Cutting f654321707 Make lessThan() implementation non-final, fixing bug #34028.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@158633 13f79535-47bb-0310-9956-ffa450edef68
2005-03-22 18:02:09 +00:00
Erik Hatcher f14428eef4 Correct BooleanQuery.equals such that every clause is compared
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@158016 13f79535-47bb-0310-9956-ffa450edef68
2005-03-18 03:29:16 +00:00
Daniel Naber 09b58de1db fixing javadoc links
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@157978 13f79535-47bb-0310-9956-ffa450edef68
2005-03-17 21:27:55 +00:00
Otis Gospodnetic 0f8b179e57 - Cosmetics (tabs, indentation)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@157225 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 03:50:54 +00:00
Otis Gospodnetic 1a3ce57455 - Removed FIXMEs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@157224 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 03:31:05 +00:00
Otis Gospodnetic 0d8a41342e - Let callers get the Lucene version number, as specified in the Manifest
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@157223 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 03:23:13 +00:00
Otis Gospodnetic 15e741ff29 - Added javadoc to setTermIndexInterval (from Doug's email)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@157214 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 03:01:09 +00:00
Otis Gospodnetic 416ab4adf4 - Removed unused import (not referenced from javadoc either)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@157211 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 02:43:52 +00:00
Otis Gospodnetic 0d17772c8e - Fixed the compilation error
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@157210 13f79535-47bb-0310-9956-ffa450edef68
2005-03-12 02:42:57 +00:00
Doug Cutting 85cc5c9fc3 Added IndexWriter.setTermIndexInterval().
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156669 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 18:58:26 +00:00
Erik Hatcher 4a4221e0a9 remove pesky static parse method that stymies flexibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156600 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 03:21:22 +00:00
Erik Hatcher 835871eedc fixed javadoc typo and added helpful diagnostic toString methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156599 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 03:02:46 +00:00
Erik Hatcher 270e1dc91c Adjusted tests for discussed expectations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156598 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 03:00:47 +00:00
Erik Hatcher 1644a28475 Minor tweaks to the new proposed query parser. There are still some
failing tests, as some were added to show expectations not yet met.  The
main missing piece is getting NOT precedence accounted for.



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156597 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 02:59:40 +00:00
Doug Cutting 4ddfbcffc6 Patch a bug where the .tii file was not closed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156549 13f79535-47bb-0310-9956-ffa450edef68
2005-03-08 17:30:43 +00:00
Erik Hatcher 90ff23fb92 fix the +/-a queries - easier than I thought - just restored a line of code from QueryParser.jj
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156451 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 21:56:36 +00:00
Erik Hatcher 27614d6a39 Fix broken QueryParser.jj and generated code. Removed inadvertent debugging <echo> from build.xml.
Added (currently failing) test cases for new PrecedenceQueryParser as a target for enhancement.



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156449 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 21:46:39 +00:00
Doug Cutting ff6cb58371 Make previous change thread-safe.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156447 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 20:50:36 +00:00
Doug Cutting be8ae58254 Read term index lazily at first random-access to terms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156444 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 20:28:04 +00:00
Erik Hatcher 4ed95e7f75 JavaCC generate the changes Doug has made
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156443 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 20:18:58 +00:00
Doug Cutting 62855478e8 Amendment to patch #33472. Extended to Erik's new query parser, and patched one place missed in the original patch.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156441 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 19:53:29 +00:00
Doug Cutting 4d1970ebab Patch #33472. Disable coord() in automatically generated queries.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156438 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 19:26:27 +00:00