Commit Graph

2577 Commits

Author SHA1 Message Date
Otis Gospodnetic 304884c660 - LUCENE-891 doc patch
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@541702 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 16:07:18 +00:00
Otis Gospodnetic 9fbee15671 - LUCENE-890 doc patch
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@541701 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 16:04:24 +00:00
Michael Busch 393b4525db LUCENE-430: Delay allocation of the buffer after a clone of BufferedIndexInput.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@541402 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 19:42:47 +00:00
Michael Busch 45f760ea24 LUCENE-881: QueryParser.escape() now also escapes the characters '|' and '&'
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@540839 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 04:54:38 +00:00
Chris M. Hostetter b1eb460b7e clarifing javadocs for BooleanClause.SHOULD - two is not a magic number, the real issue is a lack of MUST clauses
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@540460 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 07:51:41 +00:00
Daniel Naber 3c4dc0484b LUCENE-883: consecutive calls to Spellchecker.indexDictionary() won't insert terms twice anymore. Fixes the test case failure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@539732 13f79535-47bb-0310-9956-ffa450edef68
2007-05-19 11:27:54 +00:00
Daniel Naber b5c6b784c7 whitespace cleanup only for better readability (adding line breaks)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@539729 13f79535-47bb-0310-9956-ffa450edef68
2007-05-19 11:15:12 +00:00
Daniel Naber 52acd10f63 LUCENE-882: Spellchecker doesn't need to store ngrams
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@539727 13f79535-47bb-0310-9956-ffa450edef68
2007-05-19 11:04:38 +00:00
Daniel Naber 0f7d981498 LUCENE-884: document that wildcard search doesn't work in phrases
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@539596 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 20:42:49 +00:00
Michael Busch 56547a1f36 LUCENE-880: Fixed DocumentWriter to close the TokenStreams after it has written the postings.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@538892 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 12:38:43 +00:00
Grant Ingersoll b5e09521b5 javadoc fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@538783 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 01:13:40 +00:00
Mark Harwood 336d3e7c58 Added hashcode and equals implementations to enable caching
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@537123 13f79535-47bb-0310-9956-ffa450edef68
2007-05-11 07:14:18 +00:00
Doron Cohen d759ee642d LUCENE-875 (javadocs) reopened: the CHANGES.txt part.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@536947 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 17:42:09 +00:00
Doron Cohen 85b37b9509 LUCENE-875: "javadocs" target: don't fail on error/warning; depend on "build-contrib".
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@536942 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 17:19:31 +00:00
Michael McCandless 03cbb8fd86 LUCENE-877: fix confusing part of file format doc about the write.lock
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@536719 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 23:32:13 +00:00
Doron Cohen a0437dab03 clean few javadoc warnings that showed up as javadocs are built for a few more contrib paths. (LUCENE-875 related).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@536668 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 21:49:01 +00:00
Chris M. Hostetter d761e15138 javadoc cleanup: slurp in all jars needed by contribs, without enumerating
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@536610 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 18:14:43 +00:00
Chris M. Hostetter f8b68a57d2 cleaning up the javadoc task definition a bit, since some contribs are currently not getting their javadocs generated
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@536599 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 17:45:58 +00:00
Doron Cohen 8ed11daae0 javadoc warnings and errors solved (except for gdata).
build.xml "javadocs" target will now fail if there are 
javadoc warnings/errors under jdk1.4.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@535448 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 05:36:49 +00:00
Doron Cohen 9364935287 untabify build.xml.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@535366 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 19:54:30 +00:00
Doron Cohen bcd57a9af0 implement isPayloadAvailable (just return false, payloads unimplemented here), b/c it desn't compile without it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@535361 13f79535-47bb-0310-9956-ffa450edef68
2007-05-04 19:40:14 +00:00
Otis Gospodnetic e7c06745f7 - Added the missing ASL v2.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@534568 13f79535-47bb-0310-9956-ffa450edef68
2007-05-02 17:48:47 +00:00
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