Commit Graph

2162 Commits

Author SHA1 Message Date
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
Doug Cutting 4b6426ac56 Patch for LUCENE-511.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382499 13f79535-47bb-0310-9956-ffa450edef68
2006-03-02 20:16:49 +00:00
Mark Harwood 7dab9545be Added more helper methods to DOMUtils and cleaned up error handling in builders - thanks Chris.
Moved FilteredQueryBuilder.java to "builders" package with all other builders

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382170 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 21:49:17 +00:00
Daniel Naber 738103d83d trivial cleanup to avoid compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382158 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 21:05:21 +00:00
Daniel Naber 85f9706b6b trivial import cleanup to avoid compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382156 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 20:59:54 +00:00
Daniel Naber e5de36e653 clean up imports to avoid warnings; fix typo in usage message
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382154 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 20:54:59 +00:00
Daniel Naber 4189b329f8 stop using deprecated methods; make more fields private
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382151 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 20:47:32 +00:00
Doug Cutting 1e139b35c7 Update the top-level copyright year to 2006.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382140 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 19:59:27 +00:00
Doug Cutting 0d180803fc Update version to 2.0. Now we can start removing deprecated features!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382139 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 19:58:57 +00:00
Doug Cutting 75bb405e29 Qualify project name with Apache.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381749 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 19:19:17 +00:00
Doug Cutting 8966b429ed Added DOAP file, contributed by Grant Ingersoll.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381746 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 19:14:11 +00:00
Doug Cutting 508dc68477 Merge changes from 1.9 branch.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381700 13f79535-47bb-0310-9956-ffa450edef68
2006-02-28 16:49:44 +00:00
Daniel Naber f7313df2a7 typo fix only
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381427 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 20:13:12 +00:00
Doug Cutting b1fef86a4a Add basic javadoc to demo classes.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381422 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 20:04:22 +00:00
Doug Cutting bdaee8f24e Make it clear in javadoc which modules are in contrib.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381420 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 19:54:13 +00:00
Doug Cutting f388a1088a Fix for LUCENE-499: documentation improvements prior to 1.9 release. Contributed by Hoss.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381415 13f79535-47bb-0310-9956-ffa450edef68
2006-02-27 19:50:18 +00:00
Erik Hatcher 297d1429eb Many javadoc additions, and adding ASL to each file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381108 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 15:38:30 +00:00
Erik Hatcher 51d7a31725 add regexp LICENSE file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381098 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 14:48:17 +00:00
Daniel Naber 7bc0ead011 Undo the change that made setMaxBufferedDocs(1) work because it had negative effects on indexing performance. Instead throw an exception if setMaxBufferedDocs(1) is called.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381096 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 14:40:05 +00:00
Erik Hatcher 31a7b1987a modified build file to pick up the proper manifest file. more work is needed to have the manifest pick up the right Lucene JAR name though
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381095 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 14:24:54 +00:00
Daniel Naber 01db0edff5 remove outdated reference to Jakarta
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381040 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 01:04:53 +00:00