Commit Graph

11546 Commits

Author SHA1 Message Date
Daniel Naber 4f3aad23f2 Deprecate the old constructors and the main parse(...) method. The new one now generates a query that works
as expected for both AND and OR mode. Also do better argument checking in the static methods and throw
IllegalArgumentException if something is wrong.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150704 13f79535-47bb-0310-9956-ffa450edef68
2004-12-12 15:27:49 +00:00
Daniel Naber 10927a535c adding a new category for changes that people need to know about when they update
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150703 13f79535-47bb-0310-9956-ffa450edef68
2004-12-12 11:46:02 +00:00
Daniel Naber c62435297b adding a simple indexing and searching example to the API documentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150702 13f79535-47bb-0310-9956-ffa450edef68
2004-12-11 11:15:51 +00:00
Daniel Naber 68d8f3c27e trivial typo fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150701 13f79535-47bb-0310-9956-ffa450edef68
2004-12-10 22:18:35 +00:00
Christoph Goller 84a908d84c Test case and fix for bug #32467
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150700 13f79535-47bb-0310-9956-ffa450edef68
2004-12-10 19:36:40 +00:00
Daniel Naber ac5e84d8f6 update to Apache License 2.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150699 13f79535-47bb-0310-9956-ffa450edef68
2004-12-08 18:49:00 +00:00
Daniel Naber 3a7635568e whitespace and typo fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150697 13f79535-47bb-0310-9956-ffa450edef68
2004-12-06 22:18:31 +00:00
Daniel Naber 26235ca92d list the changes for 1.4.3 here, too
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150696 13f79535-47bb-0310-9956-ffa450edef68
2004-12-06 20:04:01 +00:00
Bernhard Messer a48937b2c5 add task "test-deprecated" to run deprecated test cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150695 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 18:24:35 +00:00
Bernhard Messer c0b059bf97 add test-cases from lucene 1.4.3 so that we can test all deprecated and outdated methods and also. There will be no need to change this test cases. They can be deleted step by step when moving from 1.9 to 2.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150694 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 18:21:58 +00:00
Bernhard Messer 268f647d6e document missing system properties.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150693 13f79535-47bb-0310-9956-ffa450edef68
2004-12-05 13:18:39 +00:00
Bernhard Messer 37d3337937 reflect change for system property "org.apache.lucene.lockDir"
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150692 13f79535-47bb-0310-9956-ffa450edef68
2004-12-02 17:46:00 +00:00
Bernhard Messer a77b4ffb42 change lockdir to lockDir so that it follows the existing casing
pattern.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150691 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 22:51:21 +00:00
Bernhard Messer e791e88b67 change lockdir to lockDir so that it follows the existing casing
pattern.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150690 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 22:38:48 +00:00
Bernhard Messer 85849a7a12 change visibility of class members from public to package private.
PR:31746
Submitted by:	Bernhard Messer
Reviewed by:	Bernhard Messer


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150689 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 21:42:02 +00:00
Daniel Naber 1ba2fb65c5 update to Apache License 2.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150688 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 21:36:28 +00:00
Bernhard Messer c8ccdf94ca small typo fix
PR:32432
Reviewed by:	Bernhard Messer


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150687 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 21:09:41 +00:00
Bernhard Messer adb32ee179 avoid NullpointerException if close() method is called twice. See Bugzilla: #32403
Submitted by:	Wolf Siberski
Reviewed by:	Bernhard Messer


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150686 13f79535-47bb-0310-9956-ffa450edef68
2004-11-29 20:41:01 +00:00
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