Commit Graph

2533 Commits

Author SHA1 Message Date
Daniel Naber e21ffed782 improve the example code a bit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@526225 13f79535-47bb-0310-9956-ffa450edef68
2007-04-06 16:52:46 +00:00
Otis Gospodnetic 9d7f9911a4 - LUCENE-796: Don't call super.get*Query(....) to let sub-classes override.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@525682 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 02:06:46 +00:00
Otis Gospodnetic 80d54c70ae - Removed unused BooleanScore param passed to the inner BucketTable class
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@525669 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 01:06:16 +00:00
Otis Gospodnetic ace79697e3 - Removed unused var
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@525668 13f79535-47bb-0310-9956-ffa450edef68
2007-04-05 01:05:34 +00:00
Otis Gospodnetic 5650a7bf92 - find . -name \*java -type f | xargs perl -pi -e 's/(\r\n|\n|\r)/\n/g' \
&& find . -name \*java -type f | xargs svn propset svn:eol-style native



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524969 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 23:37:14 +00:00
Otis Gospodnetic 3a1652a95b - Added the missing ASL 2.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524958 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 22:47:10 +00:00
Otis Gospodnetic af77bc03c1 - Fixed javadoc typos.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524952 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 22:27:56 +00:00
Otis Gospodnetic e158736d91 - Import cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524950 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 22:27:05 +00:00
Otis Gospodnetic ec0493167c - Don't use the deprecated FSDirectory.getDirectory(indexDir, boolean)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524949 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 22:26:44 +00:00
Otis Gospodnetic 023ffe2c29 - Cosmetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524914 13f79535-47bb-0310-9956-ffa450edef68
2007-04-02 20:27:34 +00:00
Grant Ingersoll ca5430c7a0 Update links to point to Hudson
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524517 13f79535-47bb-0310-9956-ffa450edef68
2007-04-01 02:51:52 +00:00
Grant Ingersoll 1e7d6d11cc added missing space
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524498 13f79535-47bb-0310-9956-ffa450edef68
2007-04-01 00:03:03 +00:00
Grant Ingersoll 87213e0421 added missing space
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524497 13f79535-47bb-0310-9956-ffa450edef68
2007-04-01 00:02:37 +00:00
Grant Ingersoll d9b2257834 Updated to point to Hudson nightly builds located on lucene.zones.a.o at http://lucene.zones.apache.org:8080/hudson/job/Lucene-Nightly/
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@524494 13f79535-47bb-0310-9956-ffa450edef68
2007-03-31 23:48:56 +00:00
Grant Ingersoll b591bd8efb LUCENE-834:
Added in payloads search package, with one Query implementation: BoostingTermQuery.

Added isPayloadAvailable() method to TermPositions and implementations.

Modified access rights to some of the spans classes so that they could be accessed from the payloads package.

All tests pass.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@523302 13f79535-47bb-0310-9956-ffa450edef68
2007-03-28 12:58:15 +00:00
Grant Ingersoll 4f1d6582d7 LUCENE-710 changes to the fileformats docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@522869 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 11:28:15 +00:00
Grant Ingersoll 2ba4a3ad83 Undoubtedly, a vain attempt to ward of people sending user help questions to java-dev by putting a do not send message a little bit closer to the subscribe button.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@522646 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 22:16:15 +00:00
Doron Cohen 031f50c4e7 LUCENE-849: configurable HTML Parser; external classes; exhaustive doc maker - '*';
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@522569 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 16:46:33 +00:00
Michael McCandless eee9d52886 LUCENE-846: don't corrupt IndexWriter instance on hitting exception (eg disk full) during addIndexes(*) when writer is opened with autoCommit=false
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@522262 13f79535-47bb-0310-9956-ffa450edef68
2007-03-25 13:18:55 +00:00
Doron Cohen 346b484473 Documentation updates following LUCENE-837.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@521830 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 17:56:09 +00:00
Grant Ingersoll 251c2b328a LUCENE-837:
Fixed issues related to Doron's comments on Mar. 22, 07.

PUt in tests for ***FieldSelectorTask.  Moved the byte field handling from ReutersDocMaker to BasicDocMaker.

Added in tests for new Task

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@521717 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 13:13:46 +00:00
Grant Ingersoll cfff81d1dc LUCENE-837:
fix copyright

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@521698 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 12:26:08 +00:00
Grant Ingersoll f4fffb3491 LUCENE-837:
Added optional bytes field to store on the Document.  Enabled ReutersDocMaker w/ the ability to store byte data in a field.  If the param is set (see the javadocs) it will store the contents of the body as a UTF-8 byte array.

Then, the SearchTravRetLoadFieldSelectorTask (whew) can take in parameters specifying what fields to load (others are ignored by default)

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@521569 13f79535-47bb-0310-9956-ffa450edef68
2007-03-23 03:48:12 +00:00
Doron Cohen 34b560603a LUCENE-840: benchmarking code correctness tests were added.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@521526 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 23:13:48 +00:00
Yonik Seeley 14d70e9be7 interned comparison comments
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@520891 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 13:58:47 +00:00
Grant Ingersoll e09189a830 LUCENE-837 applied
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@520890 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 13:52:34 +00:00
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