Commit Graph

1228 Commits

Author SHA1 Message Date
Christoph Goller 2b6b9f83d3 Update download links to Apache mirrors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150684 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 13:34:57 +00:00
Christoph Goller 61f9910d14 updating info for release 1.4.3
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150683 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 11:18:34 +00:00
Daniel Naber 2cc6c7f64a clarify that DateField will not be removed soon, despite being deprecated
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150682 13f79535-47bb-0310-9956-ffa450edef68
2004-11-28 15:42:17 +00:00
Bernhard Messer 1803bd7939 catch IOException rather than all Exceptions in testBadParams(). Add another "bad document number" test without a field value. Remove unnecessary cast.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150681 13f79535-47bb-0310-9956-ffa450edef68
2004-11-28 13:40:47 +00:00
Bernhard Messer 16552ede59 avoid ArrayIndexOutOfBoundsException in method refill() when bufferLength gets a negativ value. It happens when TermVectorsReader.get(int docID) is used with a docID larger than number of documents stored in the index.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150680 13f79535-47bb-0310-9956-ffa450edef68
2004-11-28 13:33:55 +00:00
Christoph Goller cedcddf4c6 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150676 13f79535-47bb-0310-9956-ffa450edef68
2004-11-25 19:14:26 +00:00
Christoph Goller 4d1eb290c5 *** empty log message ***
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150674 13f79535-47bb-0310-9956-ffa450edef68
2004-11-25 16:57:11 +00:00
Daniel Naber 918572be86 improve javadoc by mentioning Filter
PR: 32365
Submitted by: Paul Elschot


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150673 13f79535-47bb-0310-9956-ffa450edef68
2004-11-24 22:06:12 +00:00
Daniel Naber 1bc761f26a don't append "*" to the term, it doesn't make sense and is confusing
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150672 13f79535-47bb-0310-9956-ffa450edef68
2004-11-24 19:41:16 +00:00
Daniel Naber 31335c60ae small javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150671 13f79535-47bb-0310-9956-ffa450edef68
2004-11-24 19:34:11 +00:00
Christoph Goller 74f6ac4615 Old class name replaced with new class name in Javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150670 13f79535-47bb-0310-9956-ffa450edef68
2004-11-24 17:40:48 +00:00
Daniel Naber d040882872 adapt to new typesafe API
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150669 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 23:14:31 +00:00
Daniel Naber 197ad763d1 get/setOperator becomes get/setDefaultOperator and its parameter is now typsafe
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150668 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 23:13:34 +00:00
Daniel Naber 742417162a throw NullPointerException instead of IllegalArgumentException; small typo fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150667 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 22:36:10 +00:00
Erik Hatcher d0623a8e13 Add first pass for NumberUtils, adapted from code contributed by Matt Quail.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150666 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 21:07:49 +00:00
Daniel Naber 6bf1504200 some small javadoc improvements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150665 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 20:56:06 +00:00
Daniel Naber 552c9465c8 remove javadoc for rewrite(), will be copied from superclass automatically
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150664 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 20:54:47 +00:00
Daniel Naber c35d916355 adding license; typo fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150663 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 19:56:40 +00:00
Daniel Naber c4fb0d010f fixing typos in comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150662 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 19:54:32 +00:00
Daniel Naber 308811b558 adding license; use the non-deprecated Field constructors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150661 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 19:48:55 +00:00
Christoph Goller b674ad711f Javadoc correction as suggested by Bug#32353
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150660 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 19:22:24 +00:00
Christoph Goller 6e71206441 small Javadoc correction
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150659 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 19:05:15 +00:00
Erik Hatcher b01416fcb3 Added RangeFilter and tests contributed by Chris M Hostetter.
Deprecated DateFilter and DateField.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150658 13f79535-47bb-0310-9956-ffa450edef68
2004-11-23 14:17:18 +00:00
Bernhard Messer debe012863 add short description for the new test and remove misleading comment.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150657 13f79535-47bb-0310-9956-ffa450edef68
2004-11-22 09:37:24 +00:00
Bernhard Messer f2b8cfbde7 add a test for bug 31976
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150656 13f79535-47bb-0310-9956-ffa450edef68
2004-11-21 22:33:54 +00:00
Bernhard Messer b77b25d52b Fix for bug: 31976, avoid NullPointerException when adding a document with an single, empty field and term vectors enabled.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150655 13f79535-47bb-0310-9956-ffa450edef68
2004-11-21 22:32:49 +00:00
Daniel Naber bb6c0124d8 document the fact that IndexSearcher in the JSP demo is now closed (not sure how relevant this is)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150654 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 21:04:17 +00:00
Daniel Naber f9f3f74b68 open the searcher so that the searcher's close() call will close the implicitly opened reader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150653 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 20:58:45 +00:00
Daniel Naber 0d3df6128f include the changes from 1.4.2 (this makes sense from the user's point of view I think) but try not to list an item twice
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150652 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 20:53:24 +00:00
Daniel Naber 5a7c2e8e1c put the change items into categories, making the file easier to read
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150651 13f79535-47bb-0310-9956-ffa450edef68
2004-11-19 20:39:02 +00:00
Daniel Naber 229e6e039f adding a comment that opening an IndexReader can be slow
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150650 13f79535-47bb-0310-9956-ffa450edef68
2004-11-18 19:28:02 +00:00
Daniel Naber eb5344256f close the searcher at the end of the page
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150649 13f79535-47bb-0310-9956-ffa450edef68
2004-11-18 19:22:27 +00:00
Daniel Naber 724f27f4bc use Exception.toString() instead of getMessage() for a slighlty more verbose message
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150648 13f79535-47bb-0310-9956-ffa450edef68
2004-11-18 19:15:28 +00:00
Bernhard Messer d9f00f1d09 show a useful error message if the directory to index doesn't exist or isn't readable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150647 13f79535-47bb-0310-9956-ffa450edef68
2004-11-18 18:54:13 +00:00
Bernhard Messer 34c106218e make the error messages more verbose using the exceptions toString() method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150646 13f79535-47bb-0310-9956-ffa450edef68
2004-11-18 18:37:53 +00:00
Bernhard Messer fc6694ef9d change from cal.setTimeInMillis(long l) to cal.setTime(Date d) because cal.setTimeInMillis(...) was protected in JDK's prior to 1.4
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150645 13f79535-47bb-0310-9956-ffa450edef68
2004-11-16 22:27:54 +00:00
Bernhard Messer 1515574bff change from RuntimeException (Exception e) to RuntimeException (String s) to be backward compatible with jdk 1.3
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150644 13f79535-47bb-0310-9956-ffa450edef68
2004-11-16 21:57:47 +00:00
Daniel Naber 2902fa2562 fixing the links to the mailing list archives
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150643 13f79535-47bb-0310-9956-ffa450edef68
2004-11-16 21:01:02 +00:00
Daniel Naber 06f6a59c0b make the links to bugzilla work again
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150642 13f79535-47bb-0310-9956-ffa450edef68
2004-11-15 19:00:49 +00:00
Daniel Naber ffc746e3d0 throw IllegalArgumentException for nDocs <= 0 to avoid NullPointerException
PR: 32227
Submitted by: Paul Elschot


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150641 13f79535-47bb-0310-9956-ffa450edef68
2004-11-14 13:26:28 +00:00
Daniel Naber bcfcf9eeb7 test QueryParser's ability to be used with Analyzers that return more than one token per position
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150640 13f79535-47bb-0310-9956-ffa450edef68
2004-11-13 15:16:11 +00:00
Daniel Naber f8d0d0b140 make QueryParser work with analyzers that return more than one token per position
PR: 23307
Submitted by: Pierrick Brihaye


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150639 13f79535-47bb-0310-9956-ffa450edef68
2004-11-13 15:11:26 +00:00
Daniel Naber a637ff56b3 test slop
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150638 13f79535-47bb-0310-9956-ffa450edef68
2004-11-10 15:18:27 +00:00
Daniel Naber ac7576a81c small refactoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150637 13f79535-47bb-0310-9956-ffa450edef68
2004-11-10 13:59:23 +00:00
Daniel Naber 747a6cce17 fixing typo in variable name and incorrect comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150636 13f79535-47bb-0310-9956-ffa450edef68
2004-11-10 13:55:23 +00:00
Daniel Naber 49ab2ff423 test that IllegalArgumentException is thrown if terms belong to different fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150635 13f79535-47bb-0310-9956-ffa450edef68
2004-11-10 11:39:25 +00:00
Bernhard Messer c23bb571c3 adding myself to the "who we are" page, as the committer FAQ suggests and to verify if my commit messages get through
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150634 13f79535-47bb-0310-9956-ffa450edef68
2004-11-10 09:46:59 +00:00
Bernhard Messer 71f37eaa5d adding myself to the "who we are" pages to verify if commit's go thru.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150633 13f79535-47bb-0310-9956-ffa450edef68
2004-11-09 15:54:28 +00:00
Erik Hatcher b708ac392e move from FQCN to import
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150632 13f79535-47bb-0310-9956-ffa450edef68
2004-11-09 15:12:16 +00:00
Daniel Naber 8d45546b72 fix javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150631 13f79535-47bb-0310-9956-ffa450edef68
2004-11-08 00:10:39 +00:00