Commit Graph

3132 Commits

Author SHA1 Message Date
Michael McCandless d6f39b29b7 update javadocs to clarify how IndexWriter handles hitting an OOME
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@709198 13f79535-47bb-0310-9956-ffa450edef68
2008-10-30 16:33:40 +00:00
Michael McCandless cdeff84532 add missing index version number to CheckIndex
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@708971 13f79535-47bb-0310-9956-ffa450edef68
2008-10-29 18:30:50 +00:00
Michael McCandless 58966ab728 LUCENE-1429: don't throw IllegalStateEx during close() after hitting OOME when autoCommit=true
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@708549 13f79535-47bb-0310-9956-ffa450edef68
2008-10-28 12:08:19 +00:00
Michael McCandless fa79b04042 LUCENE-1426: next steps towards flexible indexing: use the same API when writing a new segment
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@707836 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 10:40:00 +00:00
Michael McCandless f2c988ae2b don't include contrib/memory class files in highlighter's jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@707834 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 10:19:30 +00:00
Michael McCandless 29124f644a minor javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@707833 13f79535-47bb-0310-9956-ffa450edef68
2008-10-25 10:15:14 +00:00
Grant Ingersoll 8dfe073760 LUCENE-1406. Added Arabic stemming and normalization. Also added new method to WordListLoader to allow for comments in word lists.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706342 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 17:19:29 +00:00
Michael McCandless 0b90b5e23d LUCENE-1382: add opaque userData String passed to IndexWriter.commit, recorded into the segments file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706240 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 11:33:13 +00:00
Michael McCandless 0250cccacf LUCENE-1411: add expert API to IndexWriter to open an index for writing on an arbitrary commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706171 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 09:48:55 +00:00
Michael McCandless da78e20bd0 LUCENE-1416: don't fail contrib/ant's unit test when file path contains non-URL safe characters like space
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706160 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 09:12:46 +00:00
Karl-Johan Wettin 456b10fdf9 LUCENE-1423
InstantiatedTermEnum#skipTo(Term) throws ArrayIndexOutOfBoundsException on an empty index.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@705893 13f79535-47bb-0310-9956-ffa450edef68
2008-10-18 16:29:53 +00:00
Michael McCandless d2ff5ee3bb move docs/doap.rdf to the unversioned website
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@704658 13f79535-47bb-0310-9956-ffa450edef68
2008-10-14 20:11:40 +00:00
Michael Busch f8e6c62a30 LUCENE-1419: Add expert API to set custom indexing chain.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@704193 13f79535-47bb-0310-9956-ffa450edef68
2008-10-13 18:12:11 +00:00
Daniel Naber c027596aa2 update example so no deprecated code is used
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703881 13f79535-47bb-0310-9956-ffa450edef68
2008-10-12 21:24:56 +00:00
Daniel Naber 7ecd3260ad update to non-deprecated API (affects commented-out code only)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703880 13f79535-47bb-0310-9956-ffa450edef68
2008-10-12 21:21:25 +00:00
Daniel Naber 20ddb46fec minor javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703717 13f79535-47bb-0310-9956-ffa450edef68
2008-10-11 19:45:16 +00:00
Michael McCandless da0d24d7df add instantiated index under Javadocs -> contrib
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703694 13f79535-47bb-0310-9956-ffa450edef68
2008-10-11 17:28:23 +00:00
Yonik Seeley 00f98b1fd7 LUCENE-1415: MultiPhraseQuery has incorrect hashCode() and equals()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703565 13f79535-47bb-0310-9956-ffa450edef68
2008-10-10 19:45:19 +00:00
Michael McCandless b0e6bac10d LUCENE-1414: increase max heap size when running unit tests to 512M
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@702889 13f79535-47bb-0310-9956-ffa450edef68
2008-10-08 14:24:01 +00:00
Michael McCandless d02bbe2dfd LUCENE-1412: clarify Directory.copy javadocs: the source dir cannot change while copy is running
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@702271 13f79535-47bb-0310-9956-ffa450edef68
2008-10-06 21:23:24 +00:00
Michael McCandless 3f27b17a89 fix non-1.4-compatible throws clause
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@701827 13f79535-47bb-0310-9956-ffa450edef68
2008-10-05 16:40:59 +00:00
Michael McCandless 18d98f4ac7 fix SegmentInfos format doc in fileformats doc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@701445 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 17:01:48 +00:00
Michael McCandless a106cf2512 change trunk docs to 2.9-dev
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@701428 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 16:12:29 +00:00
Michael McCandless 608eed838c update doap.rdf for 2.4.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@701417 13f79535-47bb-0310-9956-ffa450edef68
2008-10-03 15:54:52 +00:00
Michael McCandless ad10500a5f don't include recursive subdirs under contrib/benchmark/{temp,work} when building src package
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700878 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 19:22:24 +00:00
Mark Harwood 92d6a0ae7b Fix for a potential null-pointer-introducing bug which came about as part of the DocIdSet changes. TermsFilter no longer implemented bits(IndexReader) and the Filter base class' version of this was changed to return null.
When dropping 2.4 Lucene in as a direct replacement for 2.3.2 my client code was getting NullPointer errors - returning null was never part of the Filter.bits contract and so this could be a problem for others using this class. 

Fix is for TermsFilter to implement bits(IndexReader) - this can safely be removed in later versions because it is a deprecated method going forward.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700815 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 15:37:05 +00:00
Michael McCandless 98e1129a14 break off contrib/CHANGES.txt's 2.4.0 release section
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700743 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 11:22:58 +00:00
Michael McCandless 20a0ff09b3 remove ()'s that confuse changes-to-html
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700428 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 12:06:29 +00:00
Michael McCandless 60bb2c1608 new estimate for 2.4 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700398 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 09:19:35 +00:00
Michael McCandless 575b3cec4a move the NOTE about the change to back compat policy wrt Fieldable under a new 'Changes in backward compatibility policy', so that changes-to-html isn't confused by it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700095 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 12:29:29 +00:00
Michael McCandless 34cb65c34d fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700083 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 12:15:41 +00:00
Andreas Vajda 88283a7027 - upgraded to bdb-je 3.3.69
- re-enabled testBytes() and testArrays() (per Aaron, Michael's instructions)


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@699961 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 02:21:51 +00:00
Andreas Vajda 96809b1238 upgraded db lib to version 4.7.25
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@699882 13f79535-47bb-0310-9956-ffa450edef68
2008-09-28 19:07:39 +00:00
Mark Harwood ba6344a4d7 Fixed bug in FuzzyLikeThisQuery.java. Queries that contain a term with no fuzzy variants caused the query construction logic to exit loop early, producing no fuzzy variants for all subsequent terms in the query string.
Junit test added which recreates the problem conditions and added fix to FuzzyLikeThisQuery that solves the issue.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@699512 13f79535-47bb-0310-9956-ffa450edef68
2008-09-26 21:44:55 +00:00
Michael McCandless 0e708a21fe LUCENE-1401: fix accidentally lost 'create=true' in CreateIndexTask
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698975 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 14:11:41 +00:00
Michael McCandless 0606e8b2dd remove unused imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698936 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 12:11:37 +00:00
Michael McCandless a40530e4a4 LUCENE-1401: remove new deprecated IndexWriter ctors; default autoCommit=false for new ctors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698932 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 12:04:38 +00:00
Michael McCandless d8a60238e3 LUCENE-1402: make CheckIndex back-compatible again; improve programmatic access
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698909 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 09:43:11 +00:00
Michael McCandless 798f4676ed LUCENE-1400: add rat-sources target to build.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698495 13f79535-47bb-0310-9956-ffa450edef68
2008-09-24 09:52:59 +00:00
Michael McCandless 0fa718244c LUCENE-1404: fixed NPE in NearSpansUnordered.isPayloadAvailable
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698487 13f79535-47bb-0310-9956-ffa450edef68
2008-09-24 09:45:25 +00:00
Chris M. Hostetter 4ca262ce38 LUCENE-1393: new svnversion.exe ant property thta can be used when svnversion isn't in your working PATH (ie: Hudson)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698035 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 23:31:07 +00:00
Michael McCandless 4001544144 adding missing copyright headers found by RAT
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698033 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 23:11:04 +00:00
Michael McCandless 2befbd45b7 LUCENE-1397: fix thread hazard whereby optimize can throw 'BG merge hit exception' IOException without setting the root cause
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698025 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 22:53:19 +00:00
Michael McCandless 89ea7dfa59 improve javadocs for IndexWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698024 13f79535-47bb-0310-9956-ffa450edef68
2008-09-22 22:41:33 +00:00
Michael McCandless 6927ee46a4 LUCENE-1396: improve PhraseQuery.toString: gaps are shown with a ? and multiple terms at the same position are joined with |
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697469 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21 10:41:41 +00:00
Michael McCandless c206a378b7 LUCENE-1335: adding missing entry to CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697277 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 23:23:10 +00:00
Michael McCandless b866828bab add graph to package.html for contrib/instantiated showing queries per sec vs number of docs indexed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697126 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 15:15:36 +00:00
Michael McCandless 5433872499 LUCENE-1392: small javadocs/extra imports fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697115 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 14:51:04 +00:00
Michael McCandless 98cc66e40b LUCENE-1394: include all CHANGES.txt in release artifacts
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697114 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 14:48:33 +00:00
Michael McCandless 7987b38f46 LUCENE-1395: javadoc fix for SegmentMerger
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697110 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 14:45:33 +00:00