Apache Solr open-source search software
Commits on main
update TestDemo code (match overview.html, they were out of whack, plus use non deprecated code)
caa67be Mark Robert Miller committed 17 years ago
put useful info in deprecations as first sentence - then it shows up as summary for javadoc
c14f802 Mark Robert Miller committed 17 years ago
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.
c339c58 Uwe Schindler committed 17 years ago
LUCENE-1848: remove old version references where it makes sense
7dd9b44 Grant Ingersoll committed 17 years ago
LUCENE-1843, LUCENE-1836: Add missing note in CHANGES.txt "Test Cases" section.
986260a Uwe Schindler committed 17 years ago
LUCENE-1847: PhraseQuery/TermQuery/SpanQuery use IndexReader specific stats in their Weight#explain methods - these stats should be corpus wide.
c1c2ce7 Mark Robert Miller committed 17 years ago
improvements to CharStream/Reader/Filter & related classes' javadocs
4b441c2 Michael McCandless committed 17 years ago
LUCENE-1798: add infoStream to FieldCache to print any increase in insanity when it happens
53dab68 Michael McCandless committed 17 years ago
SOLR-1229 deletedPkQuery feature does not work when pk and uniqueKey field do not have the same value
d09b053 Noble Paul committed 17 years ago
LUCENE-1836: Fix localization bug in the new query parser and add new LocalizedTestCase as base class for localization junit tests.
4b6e016 Michael Busch committed 17 years ago
SOLR-1377: The TokenizerFactory API has changed to explicitly return a Tokenizer rather then a TokenStream (that may be or may not be a Tokenizer). This change is required to take advantage of the Token reuse improvements in lucene 2.9.
f3b3a29 Ryan McKinley committed 17 years ago
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.
eeb9623 Uwe Schindler committed 17 years ago
javadoc addition directing users where to start with this class
90ba449 Grant Ingersoll committed 17 years ago
this whole bit is somewhat rough - some quick improvements here, but needs more
52eea16 Mark Robert Miller committed 17 years ago
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
367b35f Uwe Schindler committed 17 years ago
LUCENE-1837: Remove Searcher from Weight#explain - partial revert of LUCENE-1771
32abcdc Mark Robert Miller committed 17 years ago