Commit Graph

2282 Commits

Author SHA1 Message Date
Daniel Naber 2531a82606 init the cause of exceptions so no information is lost when this exception occurs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@406096 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 13:29:22 +00:00
Daniel Naber af791e009b import cleanup to avoid warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@406093 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 13:22:57 +00:00
Daniel Naber d03ca8f858 fix "throws" declaration in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@406088 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 12:57:02 +00:00
Daniel Naber 07587e8d15 improve some exception messages and init the cause of exceptions
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@405870 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 21:04:00 +00:00
Daniel Naber cb5f472525 improve the exception messages and init the cause
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@405852 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 20:12:59 +00:00
Otis Gospodnetic 67f3d7f262 - Made class non-public. http://issues.apache.org/jira/browse/LUCENE-564
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@405824 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 18:29:51 +00:00
Daniel Naber cb15338e26 small javadoc cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@400190 13f79535-47bb-0310-9956-ffa450edef68
2006-05-05 21:59:07 +00:00
Daniel Naber d8d159da77 fix links in javadoc (LUCENE-563); clean up import statements
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@400187 13f79535-47bb-0310-9956-ffa450edef68
2006-05-05 21:47:58 +00:00
Otis Gospodnetic 5deeaa3f10 - Added testQueryStringEscaping() to test QueryParser.escape(String) method
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@399452 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 22:02:15 +00:00
Daniel Naber 18f330f6a6 add missing license header
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@398112 13f79535-47bb-0310-9956-ffa450edef68
2006-04-29 09:54:16 +00:00
Daniel Naber 0e71a40936 trivial javadoc typo fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@396146 13f79535-47bb-0310-9956-ffa450edef68
2006-04-22 18:39:42 +00:00
Daniel Naber 2ef9c7e5fc trivial javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@396011 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 21:42:56 +00:00
Andreas Vajda 9a451c8011 applied fix for issue 536 to bdb code as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@394218 13f79535-47bb-0310-9956-ffa450edef68
2006-04-14 22:38:22 +00:00
Andreas Vajda 597b011b27 resolved JIRA issue 536
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@394214 13f79535-47bb-0310-9956-ffa450edef68
2006-04-14 22:23:20 +00:00
Daniel Naber 0065df6858 fix typo in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@393166 13f79535-47bb-0310-9956-ffa450edef68
2006-04-11 09:40:58 +00:00
Daniel Naber 891b25d92c slightly improve javadoc of toString(String)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@392961 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 14:39:40 +00:00
Yonik Seeley d214dd8cd1 LUCENE-512: Fixed ClassCastException in ParallelReader.getTermFreqVectors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@392017 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 17:25:02 +00:00
Yonik Seeley fc0d666c81 added getTermArrays() and extractTerms() to MultiPhraseQuery: LUCENE-514
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@392016 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 17:12:44 +00:00
Yonik Seeley 901d7ca635 added missing extractTerms() to DisjunctionMaxQuery: LUCENE-541
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391897 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 04:16:36 +00:00
Yonik Seeley 6c32f48074 FieldSortedHitQueue - subsequent String sorts with different locales sort identically: LUCENE-526
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391895 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 04:02:09 +00:00
Yonik Seeley 825bc9bdac fixed IndexWriter.mergeSegments(minSeg,end) when end was not the last segment... only affected addIndexes(Directory[]) LUCENE-540
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391874 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 01:40:42 +00:00
Daniel Naber c095297fdb let's not forget to document the most obvious change: remove all deprecated methods and fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391795 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 20:37:46 +00:00
Yonik Seeley d490983a24 (LUCENE-539) Fix for deprecations in contrib/surround
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391763 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 19:55:30 +00:00
Yonik Seeley a2c7eb1afe Implemented FilterIndexReader.getVersion() and isCurrent()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391358 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 16:18:51 +00:00
Yonik Seeley 040e9c6c9a Fix SpanScorer next()/skipTo() incompatability: LUCENE-413
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391337 13f79535-47bb-0310-9956-ffa450edef68
2006-04-04 15:25:58 +00:00
Mark Harwood 286f4f5f07 Simplified QueryTermExtractor.java to make use of Query.extractTerms method (especially now that all the SpanQuery classes implement this correctly).
Added tests in Junit test to demonstrate new support for other Queries (FilteredQuery) now that we use the standard extractTerms feature of Query objects.
Also deprecated highlighter getBestFragments method that hard-coded choice of fieldname and introduced new variation that takes an additional fieldName argument

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@389888 13f79535-47bb-0310-9956-ffa450edef68
2006-03-29 21:01:40 +00:00
Mark Harwood 4696ac421e Deprecated superfluous abstract getTerms method introduced in SpanQuery.java, added implementations of Query's existing extractTerms method and switched SpanWeight to use extractTerms instead.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@389886 13f79535-47bb-0310-9956-ffa450edef68
2006-03-29 20:50:47 +00:00
Daniel Naber bb923a20b1 lockDir is still supported as a system property
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@389599 13f79535-47bb-0310-9956-ffa450edef68
2006-03-28 20:36:18 +00:00
Mark Harwood 0fa0e25de8 Added BooleanFilter with JUnit test, added BooleanFilter support to XMLQueryParser, Changed TermsFilterBuilder to only build a filter for a single choice of field - multiples can be combined using new BooleanFilter clauses. Added missing MatchAllDocsQueryBuilder source.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@389037 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 07:23:37 +00:00
Mark Harwood fa0516f6ee Added support for MatchAllDocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@388296 13f79535-47bb-0310-9956-ffa450edef68
2006-03-23 23:30:33 +00:00
Yonik Seeley 49de97e3b0 remove deprecations
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@387889 13f79535-47bb-0310-9956-ffa450edef68
2006-03-22 16:52:24 +00:00
Wolfgang Hoschek c954a1c51a removed methods deprecated in lucene-1.9
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@387672 13f79535-47bb-0310-9956-ffa450edef68
2006-03-22 00:02:26 +00:00
Yonik Seeley 13922f41b1 remove empty directories
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@387633 13f79535-47bb-0310-9956-ffa450edef68
2006-03-21 21:46:17 +00:00
Yonik Seeley 926e90c78f remove zero length files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@387624 13f79535-47bb-0310-9956-ffa450edef68
2006-03-21 21:18:42 +00:00
Yonik Seeley f65db2faf2 deprecation fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@387581 13f79535-47bb-0310-9956-ffa450edef68
2006-03-21 16:56:11 +00:00
Yonik Seeley 2d7dbf8131 more deprecation fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@387575 13f79535-47bb-0310-9956-ffa450edef68
2006-03-21 16:26:10 +00:00
Yonik Seeley 3666a166a1 remove deprecations
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@387550 13f79535-47bb-0310-9956-ffa450edef68
2006-03-21 15:36:32 +00:00
Daniel Naber 4630f11663 re-add a way to set write and commit lock timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@386749 13f79535-47bb-0310-9956-ffa450edef68
2006-03-17 22:51:32 +00:00
Daniel Naber 9d98185ecf trivial typo fix in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@386735 13f79535-47bb-0310-9956-ffa450edef68
2006-03-17 21:55:13 +00:00
Otis Gospodnetic 58d982aa34 - Minor Javadoc fix: LUCENE-513
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@386485 13f79535-47bb-0310-9956-ffa450edef68
2006-03-16 23:49:33 +00:00
Mark Harwood 9078b805d3 Fixed bug which ignored user's choice of QueryParser. Thanks to Terry Steichen for spotting it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@385762 13f79535-47bb-0310-9956-ffa450edef68
2006-03-14 08:49:43 +00:00
Yonik Seeley 38c6fbed8b removed failing/invalid test
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@384835 13f79535-47bb-0310-9956-ffa450edef68
2006-03-10 16:11:29 +00:00
Yonik Seeley 020ab2dbdf make ConstantWeight serializable: LUCENE-515
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@384407 13f79535-47bb-0310-9956-ffa450edef68
2006-03-09 02:42:13 +00:00
Erik Hatcher 04ca37fb49 Modified lastmodified field to use DateTools instead of the deprecated DateField, and added an antlib.xml file to make Ant integration easier
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@384336 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 21:32:04 +00:00
Erik Hatcher d07f7eea12 Part of LUCENE-330: fixing FilteredQuery when nested within BooleanQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@384072 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 00:59:28 +00:00
Erik Hatcher 9ad7f217ce Fix misspelling in javadoc comment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@383355 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 17:05:18 +00:00
Erik Hatcher 0e28bac0d8 test for FilteredQuery within BooleanQuery
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@383343 13f79535-47bb-0310-9956-ffa450edef68
2006-03-05 15:44:44 +00:00
Daniel Naber ec8db2aae0 forgot to add my name
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@383110 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 13:22:45 +00:00
Doug Cutting dd4ee7dd0d Added attribution to the fix for LUCENE-511.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@383020 13f79535-47bb-0310-9956-ffa450edef68
2006-03-04 04:07:50 +00:00
Doug Cutting b501850698 Updating to reflect 1.9.1 release.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382905 13f79535-47bb-0310-9956-ffa450edef68
2006-03-03 18:20:51 +00:00