Commit Graph

1738 Commits

Author SHA1 Message Date
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
Erik Hatcher 9621a0985c added title to documentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156593 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 01:59:14 +00:00
Erik Hatcher 9824226394 Contribution of slick Swing models to enable on-the-fly searching of
tables and lists.  Created by Jonathan Simon.



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156591 13f79535-47bb-0310-9956-ffa450edef68
2005-03-09 01:52:13 +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
Erik Hatcher 4f84a76e7b add JavaCC .jj/.java uptodate check with warning notice
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156448 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 21:17:11 +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
Erik Hatcher c33696e120 Because we're doing something atypical, storing generated artifacts in the repository, its tricky to ensure
up-to-dateness.  Because generation is an infrequent activity, deleting the main .java file for each of the .jj
files is good enough to ensure everything gets regenerated.



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156445 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 20:28:25 +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
Erik Hatcher a606c0890c Update generated files. Maybe <javacc> is more of a pain than its worth!
Added more tests.



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156435 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 18:21:16 +00:00
Erik Hatcher 823851222b correct target path for jjdoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156433 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 16:18:37 +00:00
Erik Hatcher 5f67460ad2 Add new PrecedenceQueryParser so others can try it out and discuss any issues with it. TestPrecedenceQueryParser is
a clone of TestQueryParser with two noted changes - one within testQPA and with the testPrecedence method.  testPrecedence
was added to TestQueryParser to show its awkward behavior (and ensure it doesn't change).

Modified build to use Ant's <javacc> task, instead of launching directly with <java>, which has built-in dependency
checking. 



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156431 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 16:08:02 +00:00
Erik Hatcher 88a88a92f3 for some reason regenerating with JavaCC moved a method - perhaps due to a different version of JavaCC - commit using JavaCC 3.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156427 13f79535-47bb-0310-9956-ffa450edef68
2005-03-07 16:00:48 +00:00
Erik Hatcher 34463f8c11 fixed some incorrect links to the repository
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@156085 13f79535-47bb-0310-9956-ffa450edef68
2005-03-03 21:06:45 +00:00
Otis Gospodnetic ed1d0834f2 - Paul's Javadoc improvements from bug 33678: http://issues.apache.org/bugzilla/show_bug.cgi?id=33678
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@155607 13f79535-47bb-0310-9956-ffa450edef68
2005-02-27 01:29:53 +00:00
Doug Cutting aaba39e3b7 Added accessor methods, as suggested by Kevin Burton.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@155349 13f79535-47bb-0310-9956-ffa450edef68
2005-02-25 17:39:02 +00:00
Erik Hatcher d0468669c2 fix broken links to source
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@155011 13f79535-47bb-0310-9956-ffa450edef68
2005-02-23 14:14:12 +00:00
Mark Harwood fdf05bd088 Fixed missing fieldname in API
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154447 13f79535-47bb-0310-9956-ffa450edef68
2005-02-19 19:51:04 +00:00
Daniel Naber 05d0335dcd offer additional methods that take analyzer + text instead of tokenstream; fix some unused imports and variables
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154444 13f79535-47bb-0310-9956-ffa450edef68
2005-02-19 19:08:52 +00:00
Daniel Naber cf41b3d1cb fix NullPointerException when parsing phrase query with the new MFQP
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154406 13f79535-47bb-0310-9956-ffa450edef68
2005-02-19 15:04:49 +00:00
Erik Hatcher db2c7c98e9 Bugzilla #33642 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154346 13f79535-47bb-0310-9956-ffa450edef68
2005-02-18 20:49:36 +00:00
Daniel Naber 335c1567d8 remove empty "@return" tags so javadoc stops complaining; small whitespace cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154083 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 20:37:57 +00:00
Daniel Naber 45864d1c9c clean up imports, remove unused variables and remove the declaration of an Exception that was never thrown
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154080 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 20:20:15 +00:00
Daniel Naber 25f82f4458 trivial whitespace fix only
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154079 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 20:15:48 +00:00
Daniel Naber 52537afdb6 throw IllegalArgumentException to avoid endless loop
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@154076 13f79535-47bb-0310-9956-ffa450edef68
2005-02-16 20:07:38 +00:00
Erik Hatcher 28e712b2ee update docs to account for TLP migration
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153802 13f79535-47bb-0310-9956-ffa450edef68
2005-02-14 16:48:47 +00:00
Erik Hatcher ea57f0d3ef change EOL style to LF
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153431 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 18:23:31 +00:00
Erik Hatcher 373e613341 remove unnecessary import
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153430 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 18:11:37 +00:00
Erik Hatcher 2ac412f6b7 move similarity and spellchecker to new contrib area
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153429 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 18:11:05 +00:00
Erik Hatcher 5c6742ce72 taglib has been abandoned by the original author and is of questionable value
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153428 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 18:09:36 +00:00
Erik Hatcher 6d5d317091 Remove SearchBean - it has been deprecated by the sorting feature in Lucene 1.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153427 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 18:07:20 +00:00
Erik Hatcher f375d09898 add customizable buffer size
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153412 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 15:30:14 +00:00
Erik Hatcher cd0d0937e1 split keyword tokenizer out of KeywordAnalyzer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@153398 13f79535-47bb-0310-9956-ffa450edef68
2005-02-11 13:50:37 +00:00
Erik Hatcher 826fef7f6a KeywordAnalyzer contribution - adapted from _Lucene in Action_ code
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@152921 13f79535-47bb-0310-9956-ffa450edef68
2005-02-08 19:13:05 +00:00
Daniel Naber c1623f84b8 increase version number from 1.5 to 1.9, so that the jar is called lucene-1.9-rc1-dev.jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151795 13f79535-47bb-0310-9956-ffa450edef68
2005-02-07 23:57:02 +00:00
Mark Harwood 276ab079f5 Added Nicko Cadell's Encoder contribution
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151622 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 21:31:54 +00:00
Mark Harwood b1555b0bbf Test SVN Commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151615 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 18:12:57 +00:00
Erik Hatcher 0ee1728e6d move two more projects over to contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151590 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 15:35:12 +00:00
Erik Hatcher 646f0f0434 Switch ant project to conventional src/java directory structure
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151589 13f79535-47bb-0310-9956-ffa450edef68
2005-02-06 14:51:59 +00:00
Erik Hatcher e75ffc5b11 remove deprecation warning
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151471 13f79535-47bb-0310-9956-ffa450edef68
2005-02-05 03:03:22 +00:00
Erik Hatcher 767312d611 add convenient TODO file to keep track of sandbox -> contrib move
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151469 13f79535-47bb-0310-9956-ffa450edef68
2005-02-05 02:23:19 +00:00
Erik Hatcher 10904d02f6 fix most deprecation warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@151468 13f79535-47bb-0310-9956-ffa450edef68
2005-02-05 02:21:39 +00:00