Chris M. Hostetter
6c3d17a399
fix numerous javadoc errors, many of which only show up at the private level
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808459 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 15:34:23 +00:00
Mark Robert Miller
56b27dafe2
javadoc spell fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808251 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 01:43:56 +00:00
Mark Robert Miller
4e34506ba2
with LUCENE-1860 there is no real need for this comment - reducing to core info
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808246 13f79535-47bb-0310-9956-ffa450edef68
2009-08-27 01:32:15 +00:00
Mark Robert Miller
c593328eb0
convert the remaining @todo's to TODO:
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808211 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 22:39:40 +00:00
Mark Robert Miller
7234bcd1bb
@todo is an invalid tag - changed to TODO:
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808208 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 22:33:00 +00:00
Mark Robert Miller
974b686162
update webapp demo to non deprecated usage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808196 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 21:47:08 +00:00
Mark Robert Miller
3310bb0328
improve to 1. show stacktrace on error, 2. alert user when they don't pass the path to index rather than cryptic nullpointerexception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808190 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 21:28:13 +00:00
Mark Robert Miller
4c686a3dd1
fix links on fileformats page to work
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808167 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 20:15:09 +00:00
Mark Robert Miller
533831e584
further demo site updates - mostly making the Demo links work again
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808115 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 16:39:32 +00:00
Mark Robert Miller
6cf489113c
should have been taken out with benchmark page removal
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808114 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 16:38:39 +00:00
Mark Robert Miller
571150f303
versioned site updates/fixes for 2.9
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808056 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 15:35:26 +00:00
Mark Robert Miller
491a92a6e1
remove old benchmarks page from site
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808055 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 15:34:06 +00:00
Mark Robert Miller
e639f45cff
put useful javadoc deprecation comments first - so they show up in summary
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808054 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 15:29:15 +00:00
Mark Robert Miller
bd14e0c056
add a scalability warning to FuzzyQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808051 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 15:23:27 +00:00
Mark Robert Miller
75df7fc776
fix javadoc link
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808049 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 15:12:46 +00:00
Mark Robert Miller
38509a1a1a
fix javadoc link
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808048 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 15:12:29 +00:00
Mark Robert Miller
7d27ecc331
add a couple javadoc links
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@808029 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 14:39:35 +00:00
Mark Robert Miller
9a9d9dfa11
add images so forrest works on versioned site
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807865 13f79535-47bb-0310-9956-ffa450edef68
2009-08-26 01:52:45 +00:00
Mark Robert Miller
ef0fc55437
change ref from Hits (deprecated) to TopDocs in overview.html
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807852 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 23:26:12 +00:00
Uwe Schindler
4a9ef8447d
LUCENE-1826: NumericTokenStream is not a Tokenizer subclass but source of tokens
...
and should therefore also have AttributeSource/AttributeFactory ctors.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807849 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 23:12:22 +00:00
Mark Robert Miller
a1bd9277ca
fix last attempted AttributeFactory link fix and update some other simple javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807841 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 22:27:31 +00:00
Uwe Schindler
40b90c98c4
More AttributeSource usage tips. addAttribute/getAttribute leads often to a misunderstanding (even the core developers) :-)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807831 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 22:09:46 +00:00
Mark Robert Miller
cd1fd9768f
remove unused AttribSource import
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807824 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 22:00:13 +00:00
Michael McCandless
d0b93aa94c
LUCENE-1849: fix FilteredQuery to pass 'true' for scoreDocsInOrder to its sub-scorer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807821 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 21:55:49 +00:00
Mark Robert Miller
1a96b72fed
a few more improvements to the package level javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807819 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 21:50:15 +00:00
Mark Robert Miller
1e4c3cdf86
{@link AttributeFactory} should be {@link AttributeSource.AttributeFactory}
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807809 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 21:26:35 +00:00
Mark Robert Miller
caa67be375
update TestDemo code (match overview.html, they were out of whack, plus use non deprecated code)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807755 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:36:08 +00:00
Mark Robert Miller
52bffef75b
update demo to non deprecated usage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807739 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:08:45 +00:00
Mark Robert Miller
c14f80205f
put useful info in deprecations as first sentence - then it shows up as summary for javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807735 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 18:02:39 +00:00
Mark Robert Miller
e9ebe4a0fb
improve/fix/update overview javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807728 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 17:47:35 +00:00
Mark Robert Miller
a651ca7ce9
fix javadoc typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807726 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 17:45:06 +00:00
Uwe Schindler
c339c58f4e
onlyUseNewAPI is a static, so non-instance variable. It is used only to initialize TokenStreams and can be changed after. Because of that the tests in incrementToken()/next()/next(Token) should not use it. It is enough to test for tokenWrapper==null to detect a onlyNewAPI TokenStream instance.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807682 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 15:58:00 +00:00
Grant Ingersoll
7dd9b440aa
LUCENE-1848: remove old version references where it makes sense
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807653 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 14:36:47 +00:00
Mark Robert Miller
3519f543e7
LUCENE-1760: javadoc improvements for TokenStream
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807645 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 14:16:00 +00:00
Mark Robert Miller
c1c2ce7716
LUCENE-1847: PhraseQuery/TermQuery/SpanQuery use IndexReader specific stats in their Weight#explain methods - these stats should be corpus wide.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807595 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 12:50:06 +00:00
Mark Robert Miller
ca3f86d815
remove java 1.5 code - String.contains
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807578 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 12:29:15 +00:00
Michael McCandless
4b441c2eef
improvements to CharStream/Reader/Filter & related classes' javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807574 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 12:02:17 +00:00
Michael McCandless
53dab68854
LUCENE-1798: add infoStream to FieldCache to print any increase in insanity when it happens
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807572 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 11:44:45 +00:00
Michael Busch
e8caefdb7d
LUCENE-1852: Fix localization test failures.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807499 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 06:48:36 +00:00
Michael Busch
4b6e01654c
LUCENE-1836: Fix localization bug in the new query parser and add new LocalizedTestCase as base class for localization junit tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807494 13f79535-47bb-0310-9956-ffa450edef68
2009-08-25 06:19:14 +00:00
Uwe Schindler
eeb96239db
Sorry for the last commit, this is the better solution. As the offset attribute was normally already added before in the indexing process, the addAttribute is at no cost. And the additional if-clause is prevented (I missed a second one in the previous commit). Now only payloads are conditional to attribute existence.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807223 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 14:03:51 +00:00
Uwe Schindler
5cd31d4683
Prevent a NPE, when OffsetAttribute is not available.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807216 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 13:50:10 +00:00
Grant Ingersoll
90ba4496ef
javadoc addition directing users where to start with this class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807209 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 13:35:13 +00:00
Mark Robert Miller
52eea1618e
this whole bit is somewhat rough - some quick improvements here, but needs more
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807207 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 13:29:57 +00:00
Mark Robert Miller
ae88817d01
javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807201 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 13:22:34 +00:00
Uwe Schindler
367b35f0cb
LUCENE-1843: Update contrib tests to conform to onlyUseNewAPI; refactored assertAnalyzesTo and others into the new BaseTokenStreamTestCase class; Rewrote TestMappingCharFilter to use the new assert functions, too; performance improvements of Token.copyTo(); new impl of SingleTokenTokenStream
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807190 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 12:44:13 +00:00
Mark Robert Miller
32abcdc6de
LUCENE-1837: Remove Searcher from Weight#explain - partial revert of LUCENE-1771
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807180 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 12:26:43 +00:00
Uwe Schindler
5dd1810b0c
LUCENE-1846: Fix more Locale problems
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807117 13f79535-47bb-0310-9956-ffa450edef68
2009-08-24 08:31:34 +00:00
Uwe Schindler
481245def6
Fix small initialization bug in TermAttributeImpl.copyTo()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807029 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 23:07:04 +00:00
Uwe Schindler
ec49cc2527
Fix small initialization bug in Token.copyTo()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@807028 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 23:06:00 +00:00
Uwe Schindler
22311453db
Cleanup on tearDown to really reset the TokenStream API to the default
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806949 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 10:17:09 +00:00
Uwe Schindler
47ddf173a7
Change also the default LuceneTestCase to override runBare() instead of runTest(). This enables tests, to also monitor failures in random during setUp() and tearDown().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806947 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 10:01:05 +00:00
Michael Busch
64ed5f39a5
LUCENE-1826: Add constructors that take AttributeSource and AttributeFactory to all Tokenizer implementations.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806942 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 08:34:22 +00:00
Mark Robert Miller
fd861761f0
using entry set is faster than looping on key set when you use map.get(key) in loop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806928 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 05:12:53 +00:00
Grant Ingersoll
0d663ab490
LUCENE-1841: file format summary info
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806916 13f79535-47bb-0310-9956-ffa450edef68
2009-08-23 01:18:52 +00:00
Mark Robert Miller
9712dbe0ea
LUCENE-1827: Make the payload span queries consistent
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806894 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 21:24:27 +00:00
Mark Robert Miller
fd424ef0fc
more work on Scorer javadoc in package.html
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806893 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 21:16:59 +00:00
Mark Robert Miller
bd565a3917
LUCENE-1839: change explain from abstract to throw UnsupportedOperationException
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806892 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 21:05:31 +00:00
Mark Robert Miller
136f054a05
LUCENE-1838: BoostingNearQuery must implement clone/toString
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806885 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 20:23:00 +00:00
Uwe Schindler
426ffd809e
LUCENE-1843: Convert some tests to new TokenStream API, better support of cross-impl AttributeImpl.copyTo()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806847 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 12:40:09 +00:00
Uwe Schindler
23d976abbd
LUCENE-1825: Incorrect usage of AttributeSource.addAttribute/getAttribute leads to failures when onlyUseNewAPI=true
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806844 13f79535-47bb-0310-9956-ffa450edef68
2009-08-22 12:04:35 +00:00
Mark Robert Miller
6fb76f644a
pull QueryUtil check back out
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806645 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 17:04:42 +00:00
Michael Busch
a83d337f41
LUCENE-1832: Remove unnecessary null check in TermInfosReader.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806637 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 16:47:48 +00:00
Mark Robert Miller
9e18f599d1
check BoostingNearQuery with QueryUtils
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806599 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 15:26:06 +00:00
Mark Robert Miller
9dad6f3246
LUCENE-1830: hashCode + equals for BoostNearQuery and PayloadFunction
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806591 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 15:12:41 +00:00
Mark Robert Miller
ac89d0acad
fix javadoc - this should not be deprecated - mistake in reversion of QueryWieght
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806561 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 14:01:18 +00:00
Uwe Schindler
59d358e68f
use the type String and do not clone explicitely (Strings are final and unmodifable)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806530 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 12:43:21 +00:00
Mark Robert Miller
cf8689ba22
javadoc spell fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806527 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 12:36:10 +00:00
Uwe Schindler
b0dcd91a62
LUCENE-1835: Signature changes in AttributeSource for better Generics support of AddAttribute/getAttribute
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806523 13f79535-47bb-0310-9956-ffa450edef68
2009-08-21 12:11:46 +00:00
Uwe Schindler
d3cb8b3dbc
LUCENE-1831: TokenWrapperAttributeFactory, CachingWrapperFilterHelper implements equals and so should also implement hashCode
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806381 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 22:24:21 +00:00
Mark Robert Miller
2407024b5a
javadoc spell fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806380 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 22:21:34 +00:00
Mark Robert Miller
de38872c68
remove a few unnecessary dead stores from tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806372 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 21:51:47 +00:00
Mark Robert Miller
c49c47515f
update/fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806322 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 19:40:15 +00:00
Mark Robert Miller
c7aaef6ff0
remove unused import
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806233 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 16:02:26 +00:00
Mark Robert Miller
6c0b8fcb4c
Add a javadoc class header to ReaderUtils
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806225 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 15:46:52 +00:00
Mark Robert Miller
20f47b453b
remove periods from eg and ie - if its in the first sentence, it screws up the javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806221 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 15:42:12 +00:00
Mark Robert Miller
57a8bb31cb
Replace stub with an actual class javadoc header.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806216 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 15:33:37 +00:00
Mark Robert Miller
ff30761dfc
add a link to Tokenizer and remove the periods in eg - javadoc will use up to the first period for summary
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806212 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 15:22:39 +00:00
Mark Robert Miller
96c2f038f3
put in a stub class javadoc comment so that the javadoc summary is not "Expert: Only public for subclassing. Most implementations should not need this class"
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806210 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 15:18:12 +00:00
Mark Robert Miller
b4c0d64924
update/fix search.payloads package.html
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806208 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 15:13:42 +00:00
Mark Robert Miller
a27db540e6
update/fix search package javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806191 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 14:36:37 +00:00
Mark Robert Miller
26afe4749e
The first sentence of a deprecation should indicate what to use instead so that shows up in the summary - having "this will be removed in 3.0" show up in the summary is much less useful.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@806160 13f79535-47bb-0310-9956-ffa450edef68
2009-08-20 13:17:37 +00:00
Mark Robert Miller
99b3406bb5
nice to put deprecation replacement after annotation - that gets in the javadoc summary
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805911 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 18:16:00 +00:00
Mark Robert Miller
f43dd8e942
license + javadoc spell fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805847 13f79535-47bb-0310-9956-ffa450edef68
2009-08-19 15:46:32 +00:00
Mark Robert Miller
7700fa3626
LUCENE-1819: MatchAllDocsQuery.toString(field) should produce output that is parsable by the QueryParser.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805624 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 23:09:18 +00:00
Chris M. Hostetter
f720852e37
LUCENE-1791: Enhance QueryUtils and CheckHits to wrap everything they check in MultiReader/MultiSearcher
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805525 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 18:25:47 +00:00
Mark Robert Miller
524c9ceb70
update javadocs to match Lucene's def of primitive Query types
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805268 13f79535-47bb-0310-9956-ffa450edef68
2009-08-18 03:48:44 +00:00
Mark Robert Miller
7ae9cddfef
LUCENE-1808: Query.createWeight has been changed from protected to public
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805189 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 22:28:51 +00:00
Mark Robert Miller
a77168d3c9
LUCENE-1818: QueryWrapperFilter using createWeight rather than weight
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@805185 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 22:22:00 +00:00
Mark Robert Miller
4184f368ff
javadoc spell fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804999 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 14:45:01 +00:00
Mark Robert Miller
465fac206f
LUCENE-1790 hashCode/equals update
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804994 13f79535-47bb-0310-9956-ffa450edef68
2009-08-17 14:27:19 +00:00
Chris M. Hostetter
3dbcc8f1a5
fixing obvious javadoc mistakes in core (the kind that cause the javadoc command to generate warning messages)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804617 13f79535-47bb-0310-9956-ffa450edef68
2009-08-16 05:14:38 +00:00
Michael McCandless
90c8ef28c8
LUCENE-1811: fix thread safety bug in testcase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804474 13f79535-47bb-0310-9956-ffa450edef68
2009-08-15 14:06:19 +00:00
Uwe Schindler
b16e0aa31b
LUCENE-1801: All Tokenizers/TokenStreams that are source of tokens call AttributeSource.clearAttributes() first. Made Token.clear() consistent to AttributeImpl (clear everything)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804392 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 22:01:42 +00:00
Grant Ingersoll
e3db2b9906
LUCENE-1790: pass in position information for scoring
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804178 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 12:14:19 +00:00
Michael McCandless
52d796013f
LUCENE-1807: allow passing the Map of field name -> analyzer to PerFieldAnalyzerWrapper
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804133 13f79535-47bb-0310-9956-ffa450edef68
2009-08-14 09:10:38 +00:00
Michael McCandless
e166d54f87
LUCENE-1802: undeprecate current QueryParser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804016 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 20:08:58 +00:00
Michael McCandless
1eb8149fb3
LUCENE-1789: add MultiValueSource wrapper to protect an existing ValueSource from using 2X RAM in FieldCache if composite reader is passed to getValues
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@804006 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 19:39:29 +00:00
Michael McCandless
3cab215c2c
LUCENE-1805: allow CloseableThreadLocal.set(null)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803903 13f79535-47bb-0310-9956-ffa450edef68
2009-08-13 14:32:36 +00:00
Mark Robert Miller
f3bf13f480
LUCENE-1748: makes Spans abstract class
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803700 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 20:28:17 +00:00
Chris M. Hostetter
2558c06120
LUCENE-1749: Addition of FieldCacheSanityChecker utility, and hooks to use it in all existing Lucene Tests.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803676 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 19:31:38 +00:00
Yonik Seeley
ab2afad0d1
LUCENE-1804: allow Tokenizer to specify it's AttributeSource
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803668 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 19:01:43 +00:00
Yonik Seeley
f79712ce82
LUCENE-1800: reusable token streams for query parser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803664 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 18:53:49 +00:00
Uwe Schindler
bd6bb85bb4
LUCENE-1803: Fix javadocs for LowerCaseTokenizer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803404 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 07:54:18 +00:00
Mark Robert Miller
7fff5a7ea7
LUCENE-1771: QueryWight back to Weight, but as abstract class rather than interface - explain now takes a Searcher and passes the sub reader that contains the doc if a top level reader is a multi reader.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803339 13f79535-47bb-0310-9956-ffa450edef68
2009-08-12 01:22:30 +00:00
Grant Ingersoll
644a4b356f
LUCENE-1790: Deprecated BoostingTermQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@803065 13f79535-47bb-0310-9956-ffa450edef68
2009-08-11 11:34:08 +00:00
Mark Robert Miller
cbfee9d814
fix javadoc that says Token is deprecated
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802960 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 23:50:58 +00:00
Uwe Schindler
3c5de6bb35
LUCENE-1796: Speed up repeated TokenStream init by caching isMethodOverridden results. Also speed up AttributeSource.clearAttributes().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802930 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 21:34:46 +00:00
Michael McCandless
7b9856b7d2
LUCENE-1784: make Weight impls for BooleanQuery & DisjunctionMaxQuery protected to permit expert subclassing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802825 13f79535-47bb-0310-9956-ffa450edef68
2009-08-10 15:29:55 +00:00
Grant Ingersoll
1fbf723c3c
LUCENE-1790: flip around for back compatibility
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802272 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 23:57:25 +00:00
Grant Ingersoll
e079d1cec3
LUCENE-1790: small refactor of Payload queries, plus add in some new payload query functionality
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@802174 13f79535-47bb-0310-9956-ffa450edef68
2009-08-07 20:34:58 +00:00
Grant Ingersoll
d4eeefff81
LUCENE-1341: Added BoostingNearQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801667 13f79535-47bb-0310-9956-ffa450edef68
2009-08-06 15:14:18 +00:00
Yonik Seeley
7f1319fdf0
LUCENE-1607: String.intern() cache StringHelper.intern()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801344 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 18:05:06 +00:00
Michael McCandless
1ab8d5ee6d
LUCENE-1779: improve javadocs & remove unused args from unreleased sorting APIs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801207 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 13:08:58 +00:00
Chris M. Hostetter
e4cd860cf2
some standardization of tests: All tests now inherit from LuceneTestCase, and all setUp/tearDown methods call super.setUp/tearDown. This doesn't have any noticable effects on any test, but it does give us a better safety net with the existing (and future) assertions in LuceneTestCase
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@801066 13f79535-47bb-0310-9956-ffa450edef68
2009-08-05 05:43:43 +00:00
Michael McCandless
66d930d933
LUCENE-1780: deprecate Scorer.explain
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800953 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 20:39:32 +00:00
Mark Robert Miller
5af69469e2
LUCENE-1748: LUCENE-1001 introduced PayloadSpans, but this was a back compat break and caused custom SpanQuery implementations to fail at runtime in a variety of ways. This issue attempts to remedy things by causing a compile time break on custom SpanQuery implementations and removing the PayloadSpans class, with its functionality now moved to Spans.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800925 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 19:10:02 +00:00
Uwe Schindler
d8680c9fd4
SOLR-1322: Add a test, that NumericRangeQuery works correctly with multi-valued fields. Also fix deprecation warning.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800896 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 18:14:37 +00:00
Michael McCandless
d79a369414
LUCENE-1504: switch to DocIdSet API and FilteredDocIdSet for contrib/spatial
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800892 13f79535-47bb-0310-9956-ffa450edef68
2009-08-04 18:01:57 +00:00
Michael Busch
c91651e4f2
LUCENE-1775: Change contrib tee/sink filters to use new TokenStream API.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800606 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 22:45:27 +00:00
Mark Robert Miller
6a47cbb5f9
LUCENE-1776: Add an option to not collect payloads for an ordered SpanNearQuery. Payloads were not lazily loaded in this case as the javadocs implied. If you have payloads and want to use an ordered SpanNearQuery that does not need to use the payloads, you can disable loading them with a new constructor switch.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800393 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 14:12:15 +00:00
Mark Robert Miller
5aaf5b0167
LUCENE-1486: Move ComplexPhraseQueryParser to contrib
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800193 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 04:06:22 +00:00
Michael Busch
e8ef5a0b9a
LUCENE-1567: Adding new javadocs section for the query parser to the Lucene website.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800192 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 04:04:08 +00:00
Michael Busch
343992fcbb
LUCENE-1567: New flexible QueryParser framework.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800191 13f79535-47bb-0310-9956-ffa450edef68
2009-08-03 03:38:44 +00:00
Mark Robert Miller
3c586d3528
LUCENE-1764: beef up javadoc with warning
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@800119 13f79535-47bb-0310-9956-ffa450edef68
2009-08-02 17:59:21 +00:00
Michael McCandless
175e8b546d
LUCENE-1763: require IndexWriter be passed up front to the MergePolicy
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799818 13f79535-47bb-0310-9956-ffa450edef68
2009-08-01 09:22:25 +00:00
Uwe Schindler
be85ca650a
Add extra test for new TokenStream API backwards layer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799359 13f79535-47bb-0310-9956-ffa450edef68
2009-07-30 16:45:43 +00:00
Uwe Schindler
1073d29a53
LUCENE-1762: Slightly more readable code in Token/TermAttributeImpl, additional tests, deep cloning bug with Token.copyTo fixed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799025 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 19:14:07 +00:00
Michael McCandless
9f12a2be6b
LUCENE-1766: document IndexReader/Searcher's thread safety as well
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@799011 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 18:53:25 +00:00
Michael McCandless
8d5b662535
LUCENE-1766: spell out IndexWriter's thread safety in the javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798835 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 10:18:30 +00:00
Chris M. Hostetter
e4585c507d
removing empty file that was left in by mistake in r798086 (part of LUCENE-1754)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798772 13f79535-47bb-0310-9956-ffa450edef68
2009-07-29 03:41:21 +00:00
Chris M. Hostetter
5a21421a61
LUCENE-1764 minor tweaks to SampleComparable so that it causes more sane FieldCache usage in contrib/remote tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798726 13f79535-47bb-0310-9956-ffa450edef68
2009-07-28 23:14:13 +00:00
Uwe Schindler
72a17d83d3
LUCENE-1754: JavaDoc updates
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798110 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 12:03:51 +00:00
Michael McCandless
45cf5ebe33
LUCENE-1754: EMPTY_DOCIDSET subclasses DocIdSet directly
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798104 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 11:23:11 +00:00
Michael McCandless
dbff1fc9b5
LUCENE-1754: just use EMPTY_DOCIDSET.iterator() instead of new EmptyDocIdSetIterator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798102 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 11:12:36 +00:00
Michael McCandless
312400842f
LUCENE-1754: add EmptyDocIdSetIterator
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798091 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 10:02:34 +00:00
Michael McCandless
26a2c427d1
LUCENE-1754: BooleanQuery detects up front if it won't match any docs and returns null from its scorer() instead of NonMatchingScorer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@798086 13f79535-47bb-0310-9956-ffa450edef68
2009-07-27 09:50:02 +00:00
Uwe Schindler
05351a6f63
Remove left-over javadoc <font> tag.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797870 13f79535-47bb-0310-9956-ffa450edef68
2009-07-26 07:30:19 +00:00
Uwe Schindler
0f9d2ec5b8
Some additional changes to LUCENE-1644 / MTQ:
...
- Deprecate one ctor of MultiTermQuery(Term), as Term field is deprecated
- Add readResolve also for the default auto rewrite method (not really needed because equals/hashcode impl, but singleton status is preserved)
- Some changes in NumericRangeQueryTests (now they use always constant score boolean/filter rewrite in basic tests, the default in all other tests)
- Add some explanations for the rewriteMethod used in NumericRangeQery's ctor (term enum seeks and so on). I also made a switch statement of the valSize (like at other places in this class, this is for later 8 or 16 bit valSize extensions)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797741 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 10:54:30 +00:00
Uwe Schindler
187ac2b4f3
LUCENE-1693: Add AttributeSource ctors to Tokenizer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797727 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 09:23:07 +00:00
Michael Busch
c311d5730c
LUCENE-1448: Add TokenStream.end() to perform end-of-stream operations. Fixes offset problems when multiple fields with the same name are added to a document.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797715 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 04:11:33 +00:00
Michael Busch
e4b34462ee
LUCENE-1760: TokenStream API javadoc improvements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797714 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 03:41:39 +00:00
Michael McCandless
be66120dff
LUCENE-1644: enable different rewrite methods for MultiTermQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797694 13f79535-47bb-0310-9956-ffa450edef68
2009-07-25 00:03:33 +00:00
Michael Busch
31a5f0edcc
LUCENE-1693: Various improvements to the new TokenStream API.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797665 13f79535-47bb-0310-9956-ffa450edef68
2009-07-24 21:45:48 +00:00
Michael McCandless
843f196584
add smartcn to website docs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@797181 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 18:32:12 +00:00
Michael McCandless
91e37bf1fb
LUCENE-1609: un-deprecate IndexReader.getTermInfosIndexDivisor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@796916 13f79535-47bb-0310-9956-ffa450edef68
2009-07-23 00:02:48 +00:00
Michael McCandless
374822897c
remove print
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@796792 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 16:44:28 +00:00
Michael Busch
869aabff8f
Small fix for TestPayloads testcase.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@796617 13f79535-47bb-0310-9956-ffa450edef68
2009-07-22 06:24:54 +00:00
Michael McCandless
849d072a41
LUCENE-1742: make SegmentReader, SegmentInfo, SegmentInfos public as 'expert' and 'subject-to-change-suddenly' APIs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@795537 13f79535-47bb-0310-9956-ffa450edef68
2009-07-19 13:29:39 +00:00
Michael McCandless
e4a7f98d71
LUCENE-1665: also deprecate short-hand ctors/setters in Sort that imply SortField.AUTO
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@795179 13f79535-47bb-0310-9956-ffa450edef68
2009-07-17 18:23:30 +00:00