Michael Busch
80c0f267f6
LUCENE-580:
...
- Added the public method reset() to TokenStream.
- Added a new constructor to Field that takes a TokenStream as argument, useful for pre-analyzed fields.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@533549 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 19:26:11 +00:00
Doron Cohen
3c60a00b69
LUCENE-789: fix MultiSearcher to not ignore its custom similarity.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@532487 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 21:10:43 +00:00
Michael Busch
d7ea0e5b19
LUCENE-869: Changed FSIndexInput and FSIndexOutput to inner classes of FSDirectory to enable extensibility of these classes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@532259 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 08:46:14 +00:00
Grant Ingersoll
a181157bfd
LUCENE-834:
...
Added documentation to Similarity class
Changed BoostingTermQuery to score all occurrences of the term in a document by making the underlying setFreqCurrentDoc() method protected so that it can be overridden in BTQ. Updated the tests to have multiple terms per document with different payloads, so that it can be averaged.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@531913 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 12:49:42 +00:00
Doron Cohen
e06188c0d6
LUCENE-736: Sloppy phrase query with repeating terms matches wrong docs.
...
For example query "B C B"~2 matches the doc "A B C D E".
Search time cost of this fix is 4%, for sloppy phrase search.
This fix also partially brings back the the tests checkSkipTo() in QueryUtils,
(which was disabled by LUCENE-730), but this is now invoked
only for non Boolean scorers.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@531733 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 05:32:47 +00:00
Doron Cohen
bb6d2cc9c9
set eol style to native (otherwise too much noise in 'svn diff' for simple changes.)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@531709 13f79535-47bb-0310-9956-ffa450edef68
2007-04-24 03:33:18 +00:00
Otis Gospodnetic
dc395c92bf
- Updated the note for LUCENE-730 to mention that docs can now be delivered out of order during scoring
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@529819 13f79535-47bb-0310-9956-ffa450edef68
2007-04-18 00:38:50 +00:00
Otis Gospodnetic
5b63c00106
- LUCENE-863: Deprecated StandardBenchmaker in favour of byTask benchmark tasks.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@529790 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 22:11:09 +00:00
Otis Gospodnetic
e5f28aacc3
- LUCENE-730: Let BooleanScorer2 fall back to BooleanScorer when no required clauses are present
...
and only optional and less than 32 prohibited clauses are in the query.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@529783 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 22:00:07 +00:00
Michael Busch
3eaeba7fb7
LUCENE-431: RAMInputStream and RAMOutputStream subclass IndexInput and IndexOutput directly now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@529749 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 20:08:41 +00:00
Mark Harwood
2333dd080b
Resolved bug LUCENE-862 reported by Antony Bowesman
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@529512 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 07:13:05 +00:00
Doron Cohen
33694c7d86
LUCENE-864: set svn:eol-style=native.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@529511 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 07:11:04 +00:00
Mark Harwood
1877f9e3dc
Fixed Junit failure due to recent change in QueryParser default behaviour. Needed to explicitly require old style of RangeQuery implementation rather than new default of RangeFilters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@529417 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 22:04:07 +00:00
Doron Cohen
934a56e55f
contrib/benchmark: better error handling and javadocs around "exhaustive" doc making.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@528617 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 19:30:03 +00:00
Chris M. Hostetter
866b626f67
minor followup to LUCENE-857, fixing a small mistake in Otis's orriginal commit to ensure that the deprecated QueryFilter still cache's
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@528298 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 00:59:28 +00:00
Grant Ingersoll
78a3a8a677
http://www.gossamer-threads.com/lists/lucene/java-dev/47895
...
Added javadocs about when to call optimize() method.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@527946 13f79535-47bb-0310-9956-ffa450edef68
2007-04-12 14:02:09 +00:00
Michael McCandless
8abc9bf1f2
LUCENE-710: fix false-positive failure case of 'delete by time' deletion policy test case
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@527299 13f79535-47bb-0310-9956-ffa450edef68
2007-04-10 21:09:32 +00:00
Otis Gospodnetic
b831821324
- LUCENE-857: Removed caching from QueryFilter and added QueryWrapperFilter that can be combined
...
with CachingWrapperFilter to provide caching.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@527291 13f79535-47bb-0310-9956-ffa450edef68
2007-04-10 20:42:47 +00:00
Otis Gospodnetic
2137fae116
- Removed a @todo and replaced it with javadoc about RemoteCachingWrapperFilter that was added in LUCENE-853
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@526846 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 17:25:33 +00:00
Otis Gospodnetic
48e662cf52
- LUCENE-853: Filter caching on the remote side of the RMI connection.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@526842 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 17:13:44 +00:00
Daniel Naber
76dffdd6e0
small javadoc improvements about ids and performance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@526550 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 13:17:10 +00:00
Daniel Naber
2412d83aa2
javadoc: clarify when a reader may be closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@526546 13f79535-47bb-0310-9956-ffa450edef68
2007-04-08 12:40:33 +00:00
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