Doron Cohen
9a31a8828f
correct names of dynamically loaded classes (analyzers, doc/query makers)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@519567 13f79535-47bb-0310-9956-ffa450edef68
2007-03-18 06:51:06 +00:00
Otis Gospodnetic
539eaa3fd7
- Cosmetics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@519008 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 15:22:10 +00:00
Otis Gospodnetic
deabc30668
- Cosmetics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@519007 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 15:21:53 +00:00
Otis Gospodnetic
939ed115c4
-LUCENE-828: Term equals(Object) fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@519006 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 15:21:05 +00:00
Doron Cohen
78a6922c43
LUCENE-829: (close readers in contrib/benchmark) - also update CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518874 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 06:47:44 +00:00
Doron Cohen
977e729685
LUCENE-829: close done readers in contrib/benchmark.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518822 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 01:16:56 +00:00
Michael Busch
b9edb2867f
Make contrib/db and contrib/memory compile with changes from LUCENE-755
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518792 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 22:35:52 +00:00
Michael McCandless
b5a0c0c3de
LUCENE-710: make IndexWriter.abort() synchronized
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518781 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 22:22:57 +00:00
Doron Cohen
40093328ca
TestWindowsMmap now creates the index $(system.tempDir)/testLuceneMmap.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518753 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 21:08:54 +00:00
Doron Cohen
b04a15016d
LUCENE-710 followup: code cosmetics and added documentation.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518734 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 19:22:26 +00:00
Doron Cohen
a6d56d5eb9
maintain most recent file format in a single line in the code.
...
(this is less bug prone.)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518529 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 09:08:07 +00:00
Michael Busch
cb88961792
LUCENE-807: Fixed the javadoc for ScoreDocComparator.compare() to be consistent with java.util.Comparator.compare()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518518 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 08:48:00 +00:00
Michael Busch
eb20c06a62
LUCENE-755: Added the ability to store arbitrary binary metadata (payloads) in the posting list.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518486 13f79535-47bb-0310-9956-ffa450edef68
2007-03-15 05:15:43 +00:00
Michael McCandless
9da8211775
LUCENE-818: throw AlreadyClosedException when accessing IndexWriter, *Reader, RAMDirectory and FieldsReader after close()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518262 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 18:46:03 +00:00
Michael McCandless
4648912089
call rmDir() up front to prevent confusing false-positive failures from backwards compatibility unit test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@518090 13f79535-47bb-0310-9956-ffa450edef68
2007-03-14 10:23:44 +00:00
Doron Cohen
d4e406ad22
LUCENE-814: javacc build targets now fix line-end-style of generated
...
files, and deleting all javacc generated files before calling javacc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@517863 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 20:50:56 +00:00
Michael McCandless
1159f9a768
LUCENE-710: add optional autoCommit=true/false mode and customizable IndexDeletionPolicy to IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@517599 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 09:06:22 +00:00
Doron Cohen
ab763bbdae
contrib.benhmark.byTask javadocs corrections
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@517566 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 06:54:03 +00:00
Otis Gospodnetic
1a48e218d6
- Committing forgotten classes for LUCENE-759
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@517477 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 00:30:13 +00:00
Michael Busch
11fb1314e6
Corrected comments and changed a variable name in SegmentTermPositions to better reflect the meaning of the variable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@517007 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 20:29:19 +00:00
Michael Busch
0b706b4688
LUCENE-761: The proxStream is now cloned lazily in SegmentTermPositions when nextPosition() is called for the first time.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@516863 13f79535-47bb-0310-9956-ffa450edef68
2007-03-11 07:06:40 +00:00
Grant Ingersoll
45ff9e467a
Lucene 803: added:
...
messed up the prj.el
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@516697 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 12:39:34 +00:00
Grant Ingersoll
8306aa5f88
Lucene 803: added:
...
messed up the 8.iml
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@516622 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 00:24:44 +00:00
Grant Ingersoll
237bcb65f9
Lucene 803: added:
...
.project
.classpath
.settings
*.iml
*.iws
*.ipr
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@516621 13f79535-47bb-0310-9956-ffa450edef68
2007-03-10 00:22:51 +00:00
Grant Ingersoll
f4490ac789
LUCENE 791, INFRA-1173:
...
Migrated references from Jakarta Lucene Wiki to Lucene Java Wiki
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@516586 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 22:29:00 +00:00
Michael McCandless
07a632c0e9
LUCENE-825: detect null returned from Directory.list() and throw IOException not NPE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@516120 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 17:59:11 +00:00
Michael Busch
57cf17d188
LUCENE-372: QueryParser.parse() now ensures that the entire input string is consumed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515914 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 04:18:56 +00:00
Michael Busch
397187494f
LUCENE-800: removed backslash from the TERM_CHAR list in the QueryParser to support escaping of backslashes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515908 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 03:37:12 +00:00
Doron Cohen
35c0da7cab
TestBackwardsCompatibility typo - rmDir already computes fullDir
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515893 13f79535-47bb-0310-9956-ffa450edef68
2007-03-08 02:11:50 +00:00
Michael McCandless
622d58b3f8
LUCENE-825: make sure FileNotFoundException is returned if directory.list() returns null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515495 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 08:45:58 +00:00
Michael McCandless
810700836f
LUCENE-824: remove redundant try/catch from IndexWriter.addIndexesNoOptimize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515489 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 08:32:28 +00:00
Erik Hatcher
b972b13174
convert interfaces to public visibility that already should have had it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515431 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 02:39:24 +00:00
Michael McCandless
1d1e44681e
LUCENE-823: add unit test coverage to assert that when a MockRAMDirectory is closed, there are no open files; fixed 2 minor cases this check uncovered
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515316 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 21:40:55 +00:00
Michael McCandless
2380a957ef
Fixing backwards compatibility unit test to make its test dirs under tempDir
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515249 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 18:52:32 +00:00
Grant Ingersoll
83efa50f5e
https://issues.apache.org/jira/browse/LUCENE-822
...
Applied Mark Miller's patch. Added Unit tests to TestRemoteSearchable and TestMultiSearcher. To get RemoteSearchable to work, had to make FieldSelector and FieldSelectorResult serializable.
All tests pass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@514675 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 14:28:01 +00:00
Michael McCandless
4081e733b1
LUCENE-820: improve MockRAMDirectory to mimic Windows (can't delete open files); added test case for this bug (this root cause of this bug was already fixed by the fix to LUCENE-821)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@514370 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 08:25:31 +00:00
Yonik Seeley
e6a9d9b318
only open .nrm file once: LUCENE-821
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@514344 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 03:23:00 +00:00
Otis Gospodnetic
d7e203c8b4
- LUCENE-786: Javadoc improvements from Karl Wettin and an extra searcher.close() from me
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513878 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 18:28:55 +00:00
Otis Gospodnetic
534be1599d
- LUCENE-759: Two n-gram producting TokenFilters (using them for the spellchecker in SOLR-81)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513876 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 18:19:53 +00:00
Otis Gospodnetic
6636d88def
- 2-char indentation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513866 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 17:54:27 +00:00
Yonik Seeley
1c3ec1d1d2
clarify Term javadoc: field shouldn't be null either
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513547 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 23:10:51 +00:00
Otis Gospodnetic
7b570fc8b2
- LUCENE-759: Made the tokenizer capable of creating n-grams of a varying sizes - from min to max characters per n-gram. Patch from Adam Hiatt.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513344 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 14:22:57 +00:00
Otis Gospodnetic
53e4c9dc02
- Wrapped looong liiines
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513258 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 10:21:16 +00:00
Yonik Seeley
1e1f9bddb1
clarify null term text
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513142 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 05:03:45 +00:00
Michael McCandless
66d4eb336f
LUCENE-812: make sure Native/SimpleFSLockFactory can be set via system property
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@512493 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 23:33:31 +00:00
Doron Cohen
178500b09c
LUCENE-813: Leading wildcard fixed to work with trailing wildcard
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@512371 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 19:26:57 +00:00
Michael McCandless
330aa3063e
LUCENE-771: fixing the description of the naming of the write lock in the file format doc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@512329 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 17:26:58 +00:00
Michael McCandless
1486b19a4f
LUCENE-811: make SegmentInfos class package-private again
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@511384 13f79535-47bb-0310-9956-ffa450edef68
2007-02-25 00:43:45 +00:00
Doron Cohen
64449841ed
LUCENE-804: fix build.xml to pack a compilable src_dist
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@510711 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 23:45:34 +00:00
Michael McCandless
4541271b9d
LUCENE-793: added 3 new exceptions (subclasses of IOException) to better call out possible root causes of an IOException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@510176 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 20:01:36 +00:00