Commit Graph

92 Commits

Author SHA1 Message Date
Peter Carlson 3f512e96e5 Changed QueryParser.jj to have "?" be a special character which allowed it to be used as a wildcard term. Updated TestWildcard unit test also. (Ralf Hettesheimer via carlson)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149758 13f79535-47bb-0310-9956-ffa450edef68
2002-05-20 15:45:43 +00:00
Otis Gospodnetic 5f795440d4 - Cosmetics.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149754 13f79535-47bb-0310-9956-ffa450edef68
2002-05-15 15:51:04 +00:00
Peter Carlson b70d10da84 Fixed the TestQuestionMark by changing the TermQuery to WildcarQuery for the first test. Now succeeds without failure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149745 13f79535-47bb-0310-9956-ffa450edef68
2002-05-09 14:38:22 +00:00
Otis Gospodnetic 04292ff887 - Fixed a bug in the test itself, caught by Doug.
Duh, correct comment, but contradicting code.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149744 13f79535-47bb-0310-9956-ffa450edef68
2002-05-08 20:16:54 +00:00
Peter Carlson 7ac655d83a Changed TestDateFilter from date field being a Text field to being a Keyword field. Found by Doug.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149743 13f79535-47bb-0310-9956-ffa450edef68
2002-05-08 19:48:04 +00:00
Otis Gospodnetic 7cb408e964 - Applied a patch supplied by David Smiley that ensures that searches that
use DateFilter don't throw an exception when no matches are found.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149741 13f79535-47bb-0310-9956-ffa450edef68
2002-05-07 21:26:34 +00:00
Brian Goetz 2a96b329a8 Add escape character to query parser (backslash); add unit test for escape character; wrap TokenMgrError with ParseException in QueryParser.parse
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149736 13f79535-47bb-0310-9956-ffa450edef68
2002-05-06 21:59:44 +00:00
Otis Gospodnetic a90504d2b6 - A patch to FieldInfos.java that Doug Cutting suggested at:
http://marc.theaimsgroup.com/?l=lucene-user&m=100253044509125&w=2
  This allows co-existence of indexed and non-indexed fields with the same name.
PR:
Obtained from:
Submitted by:	Guido Casper
Reviewed by:	otis


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149730 13f79535-47bb-0310-9956-ffa450edef68
2002-04-30 15:08:10 +00:00
Otis Gospodnetic 8c70a95b15 - Added tests for DateFilter.After method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149728 13f79535-47bb-0310-9956-ffa450edef68
2002-04-19 20:29:19 +00:00
Otis Gospodnetic 4207787649 - DateFilter JUnit tests. Initial checkin.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149727 13f79535-47bb-0310-9956-ffa450edef68
2002-04-19 20:15:25 +00:00
Otis Gospodnetic 1af480b290 - Added Apache license.
- Corrected Javadoc wording a bit.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149726 13f79535-47bb-0310-9956-ffa450edef68
2002-04-19 19:09:36 +00:00
Otis Gospodnetic 197858c0d4 - Applied a patch that fixes bug #7412.
- Added Apache License.
PR:
Obtained from:
Submitted by:	Rodrigo Reyes
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149725 13f79535-47bb-0310-9956-ffa450edef68
2002-04-19 19:08:32 +00:00
Otis Gospodnetic a0c986fdf1 - Wildcard JUnit unit tests. Initial checkin.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149724 13f79535-47bb-0310-9956-ffa450edef68
2002-04-19 18:53:35 +00:00
Otis Gospodnetic e5f6cb9bd3 - Fixed incorrect HREFs.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149723 13f79535-47bb-0310-9956-ffa450edef68
2002-04-19 04:52:03 +00:00
Otis Gospodnetic 2122be3e73 - Fixed a spelling error and re-formatted the Javadoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149722 13f79535-47bb-0310-9956-ffa450edef68
2002-04-13 20:04:28 +00:00
Otis Gospodnetic c4a52eee84 - A fix for bug # 7710:
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=7710
PR:
Obtained from:
Submitted by:	Lee Mallabone
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149721 13f79535-47bb-0310-9956-ffa450edef68
2002-04-10 04:05:38 +00:00
Otis Gospodnetic 95cf4fa216 - Javadoc fix.
PR:
Obtained from:
Submitted by:	Kelvin Tan
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149720 13f79535-47bb-0310-9956-ffa450edef68
2002-04-10 02:57:08 +00:00
Otis Gospodnetic b5e126c654 - Applied Mark Hayes' patch to avoid NPE.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149719 13f79535-47bb-0310-9956-ffa450edef68
2002-04-02 05:15:43 +00:00
Otis Gospodnetic b5e628af32 - Javadoc fix for bug 7461.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149717 13f79535-47bb-0310-9956-ffa450edef68
2002-03-25 21:41:58 +00:00
Otis Gospodnetic 23389df13c - Changed 2 example queries in the javadoc to make them less confusing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149716 13f79535-47bb-0310-9956-ffa450edef68
2002-03-22 03:22:33 +00:00
Otis Gospodnetic 55a0477891 - Minor javadoc changes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149715 13f79535-47bb-0310-9956-ffa450edef68
2002-03-20 05:26:38 +00:00
Otis Gospodnetic 02bc68cb60 - Applied a fix for bug 6914.
PR:
Obtained from:
Submitted by:	Eugene Gluzberg
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149713 13f79535-47bb-0310-9956-ffa450edef68
2002-03-15 05:52:57 +00:00
Otis Gospodnetic 84bd5a1565 - Added exceptions to the Javadoc for parse methods.
- Added TokenMgrError to parse methods' throws clauses, since that is thrown when the input is bad.
PR:
Obtained from:
Submitted by:	Daniel Calvo
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149699 13f79535-47bb-0310-9956-ffa450edef68
2002-02-22 21:06:16 +00:00
Otis Gospodnetic e440646257 - A query parser that searches multiple fields at once.
Initial checkin.
PR:
Obtained from:
Submitted by:	Kelvin Tan
Reviewed by:	Otis Gospodnetic


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149698 13f79535-47bb-0310-9956-ffa450edef68
2002-02-22 20:59:11 +00:00
Otis Gospodnetic cfd243c6d3 - Removed stop words added to the previous revision, so that they don't break
people's existing indices.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149697 13f79535-47bb-0310-9956-ffa450edef68
2002-02-22 01:15:51 +00:00
Otis Gospodnetic 5c75b8623f - 'De-finalized' the class per Doug's suggestion to make it easy to use
different lists of stop words.
- Added a few more words to the stop word list (MS' contribution via Alan).
- Re-indented the whole class.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149696 13f79535-47bb-0310-9956-ffa450edef68
2002-02-21 22:01:07 +00:00
Otis Gospodnetic ef902b7ecd - Changed the link to QueryParser from a HREF to a {@link ...}.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149695 13f79535-47bb-0310-9956-ffa450edef68
2002-02-21 21:43:34 +00:00
Otis Gospodnetic dabd5e449f - Made the code in the javadoc readable.
- Removed unnecessary import statement.
- Re-indented the whole class.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149694 13f79535-47bb-0310-9956-ffa450edef68
2002-02-21 21:41:53 +00:00
Otis Gospodnetic 6f968662e9 - Improved javadoc to make it more readable and removed some trailing white
spaces.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149693 13f79535-47bb-0310-9956-ffa450edef68
2002-02-21 20:31:10 +00:00
Otis Gospodnetic b433d6c174 - Improved javadoc to make it more readable.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149692 13f79535-47bb-0310-9956-ffa450edef68
2002-02-21 20:22:45 +00:00
Brian Goetz 7e7d8c6ac0 Add ~N syntax to phrase queries in query parser to allow for user-settable slop
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149691 13f79535-47bb-0310-9956-ffa450edef68
2002-02-19 00:44:00 +00:00
Otis Gospodnetic 1ec9086829 - Added public static boolean isLocked(String) method.
PR:
Obtained from:
Submitted by:	Colin Britton
Reviewed by:	otis


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149690 13f79535-47bb-0310-9956-ffa450edef68
2002-02-15 18:59:42 +00:00
Scott Ganyo 64adb57449 field must be interned during serialization read process
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149689 13f79535-47bb-0310-9956-ffa450edef68
2002-02-15 13:13:19 +00:00
Otis Gospodnetic 33a4c8c325 - Changed the URL for example query parser test cases.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149688 13f79535-47bb-0310-9956-ffa450edef68
2002-02-15 02:55:46 +00:00
Doug Cutting 2a801b7e7d Fixed some javadoc links.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149684 13f79535-47bb-0310-9956-ffa450edef68
2002-02-14 20:48:18 +00:00
Doug Cutting e00dabf7b1 Fixed some javadoc links.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149683 13f79535-47bb-0310-9956-ffa450edef68
2002-02-14 20:46:13 +00:00
Otis Gospodnetic 80f9f1db38 - Replaced references to the old package name com.lucene with org.apache.lucene
- Fixed a few Javadocs problems.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149681 13f79535-47bb-0310-9956-ffa450edef68
2002-02-14 01:46:31 +00:00
Otis Gospodnetic 3e7f46010e - Fixed a bug with substCount variable which was not being reset.
- Re-formatted the whole class to match the rest of the code more closely
  (still differs, but... :)).


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149680 13f79535-47bb-0310-9956-ffa450edef68
2002-02-14 01:19:07 +00:00
Otis Gospodnetic 9bd57fb82a - Patched Javadocs.
PR:
Obtained from:
Submitted by:	Erik Hatcher
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149679 13f79535-47bb-0310-9956-ffa450edef68
2002-02-14 00:58:46 +00:00
Doug Cutting 55ce2ae185 Fix a locking bug when deleting from an unoptimized index.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149675 13f79535-47bb-0310-9956-ffa450edef68
2002-02-10 22:59:12 +00:00
Doug Cutting 6796f04a73 Fixed NullPointerException while performing phrase searches.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149671 13f79535-47bb-0310-9956-ffa450edef68
2002-02-08 22:52:03 +00:00
Doug Cutting 64943029fa obtain write.lock while deleting documents
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149670 13f79535-47bb-0310-9956-ffa450edef68
2002-02-08 19:39:42 +00:00
Scott Ganyo d2e34a5fb9 implement Serializable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149666 13f79535-47bb-0310-9956-ffa450edef68
2002-02-05 18:00:18 +00:00
Doug Cutting 60817cb719 Fixed to never delete added indexes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149665 13f79535-47bb-0310-9956-ffa450edef68
2002-01-29 16:30:16 +00:00
Otis Gospodnetic d5f1f175fc - Fixed tests to use non-deprecated JUnit assert methods.
PR:
Obtained from:
Submitted by:
Reviewed by:


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149662 13f79535-47bb-0310-9956-ffa450edef68
2002-01-28 20:25:21 +00:00
Otis Gospodnetic 0d109d7705 - Fixed references to variables in javadoc. Patch submitted by Daniel Rall.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149659 13f79535-47bb-0310-9956-ffa450edef68
2002-01-28 11:39:02 +00:00
Otis Gospodnetic 7f8618e5de - Minor grammar fix in a javadoc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149658 13f79535-47bb-0310-9956-ffa450edef68
2002-01-28 11:35:56 +00:00
Otis Gospodnetic cf025d06cb - Small javadoc change.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149657 13f79535-47bb-0310-9956-ffa450edef68
2002-01-28 11:34:45 +00:00
Doug Cutting 6c84ee2c62 Updated for new demo package name.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149655 13f79535-47bb-0310-9956-ffa450edef68
2002-01-27 23:20:30 +00:00
Andrew C. Oliver e120b8bd51 PR:
Obtained from:
Reviewed by:	Doug Cutting / Lucene Community
new demo build target
added getting started guide
modified tests
moved demo to demo subpackage
added war demo


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149646 13f79535-47bb-0310-9956-ffa450edef68
2002-01-26 15:01:32 +00:00