Parent Directory
|
Revision Log
| Links to HEAD: | (view) (annotate) |
| Sticky Revision: |
LUCENE-2092: fix BooleanQuery.equals/hashCode to pay attention to disableCoord
LUCENE-1980: Fix javadocs after deprecation removal
LUCENE-2012: Add @Override annotations to the rest of core
LUCENE-1257: Remove the rest of unchecked warnings and some unneeded casts. I added a TODO, where I do not understand the code and not for sure know, whats inside the collections. This could be fixed some time later. But the core code now compiles without any unchecked warning.
LUCENE-1257: Cleanup unneeded casts
LUCENE-1257: More generified APIs and implementations. Also makes BooleanQuery implement Iterable for easy extended for loop on clauses. Thanks Kay Kay!
LUCENE-944: Remove deprecated methods in boolean query.
LUCENE-1975: Remove deprecated SpanQuery.getTerms() and generify Query.extractTerms(Set<Term>)
LUCENE-1257: Replace StringBuffer by StringBuilder where possible
LUCENE-1884: massive javadoc and comment cleanup -- primarily dealing with typos
with LUCENE-1860 there is no real need for this comment - reducing to core info
LUCENE-1837: Remove Searcher from Weight#explain - partial revert of LUCENE-1771
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.
LUCENE-1784: make Weight impls for BooleanQuery & DisjunctionMaxQuery protected to permit expert subclassing
LUCENE-1754: BooleanQuery detects up front if it won't match any docs and returns null from its scorer() instead of NonMatchingScorer
LUCENE-1713: Rename RangeQuery -> TermRangeQuery (part 1)
LUCENE-1630: fix NPEs
LUCENE-1630: switch from Weight (interface) to QueryWeight (abstract class); mate in/out-of docID order scoring between Collector & Scorer
LUCENE-1614: switch next -> nextDoc, skipTo -> advance, doc -> docID in DISI
LUCENE-1593: optimize core Collectors for in-docID-order scorer case
update javadoc for allowDocsOutOfOrder
LUCENE-1246: check for null sub queries so that BooleanQuery.toString does not throw NullPointerException.
LUCENE-711 - initialize List with correct size
LUCENE-1378 - Removed the remaining 199 @author references
LUCENE-1346: replace Vector with ArrayList in Queries
LUCENE-1134: Fixed BooleanQuery.rewrite to only optimze a single clause query if minNumShouldMatch<=0.
Revert Lucene-944
remove unused variables; typo fixes in javadoc
javadoc typos
more explicit javadocs about Scorer contract for iterating in doc id order
LUCENE-944: Remove deprecated methods setUseScorer14() and getUseScorer14() from BooleanQuery.
LUCENE-730: Make scoring in docid order the default and add setAllowDocsOutOfOrder() and getAllowDocsOutOfOrder() to BooleanQuery.
replace Vector with ArrayList, add clauses() to return that List of clauses: LUCENE-745
new ASF licenses header
slightly more verbose output for TooManyClauses exception
fixed bug LUCENE-451 by adding new functionality in LUCENE-605 -- new ComplexExplanation class can model matching independent of having a positive value
LUCENE-557: Lots of new Explanation test cases (and utilities for writing future test cases) as well as fixes for blatent bugs in the Explanation methods of BooleanQuery and FilteredQuery
remove deprecations
BooleanQuery/BooleanScorer minNrShouldMatch implementation: LUCENE-395
throw IllegalArgumentExeception if value doesn't make sense
Utilize ToStringUtils.boost() to remove duplication across .toString implementations and added boost comparison in .equals methods where it was missing
maxClauseCount: deprecate public field, no more setting via system property
Most of Wolf Siberski's patch to fix #35241/#31841: MulitSearcher failed on WildcardQuery etc. -this has not been committed: removal of mergeBooleanQueries(); change to BooleanQuery.equals() -added: a test case that is commented out which shows strange queries like "multi* multi* foo" don't work properly
import cleanup; small javadoc improvement
- Applied Chuck's and Wolf's patch for bug 31841 http://issues.apache.org/bugzilla/show_bug.cgi?id=31841
revert change to BooleanQuery.equals and add a test case.
Correct BooleanQuery.equals such that every clause is compared
fixing javadoc links
fixed javadoc typo and added helpful diagnostic toString methods
Patch #33472. Disable coord() in automatically generated queries.
New BooleanScorer implemented by Paul Elschot (Patch 31785) that implements skipTo and delivers documents in correct order. Furthermore a small bug in ConjunctionScorer skipTo (if called without a preceeding next) is eliminated.
slightly improve the TooManyClauses exception documentation
improve javadoc by mentioning Filter PR: 32365 Submitted by: Paul Elschot
improve javadoc PR:30685 Submitted by: Paul Elschot
deprecate the add() method that takes two booleans, take an Occur cobject instead. Also deprecate the public fields in BooleanClause and add get/set methods instead.
- Made Javadoc for add method more clear (Leonid Portnoy)
- Bugzilla case 28856 - http://issues.apache.org/bugzilla/show_bug.cgi?id=28856
Updated license to Apache License 2.0.
- Changed a property from private to public and added Javadocs
- Added support for setting various Lucene properties via system properties.
Permit queries to override the Similarity implementation.
Optimized TermDocs.skipTo() and changed scorers to take advantage of it.
Optimize patch of yesterday: only clone when needed.
Fixed bug 24786. Correctly rewrite clauses.
Added a limit to the number of clauses which may be added to a BooleanQuery. The default limit is 1024 clauses. This should stop most OutOfMemoryExceptions by prefix, wildcard and fuzzy queries which run amok.
Fixed a bug with prohibited clauses.
Optimized last fix so that the BooleanQuery is only cloned when one of its clauses has rewritten.
Fixed a bug when rewritten queries were included in a BooleanQuery.
Revised explanation format so that it better corresponds to a dot product of tf*idf weights.
Fixed a bug where boosting was lost.
Fixed a bug with explain().
Fixed minor problems with previous checkin.
Revised internal search APIs. Changes include: a. Queries are no longer modified during a search. This makes it possible, e.g., to reuse the same query instance with multiple indexes from multiple threads. b. Term-expanding queries (e.g. PrefixQuery, WildcardQuery, etc.) now work correctly with MultiSearcher, fixing bugs 12619 and 12667. c. Boosting BooleanQuery's now works, and is supported by the query parser (problem reported by Lee Mallabone). Thus a query like "(+foo +bar)^2 +baz" is now supported and equivalent to "(+foo^2 +bar^2) +baz". d. New method: Query.rewrite(IndexReader). This permits a query to re-write itself as an alternate, more primitive query. Most of the term-expanding query classes (PrefixQuery, WildcardQuery, etc.) are now implemented using this method. e. New method: Searchable.explain(Query q, int doc). This returns an Explanation instance that describes how a particular document is scored against a query. An explanation can be displayed as either plain text, with the toString() method, or as HTML, with the toHtml() method. Note that computing an explanation is as expensive as executing the query over the entire index. This is intended to be used in developing Similarity implementations, and, for good performance, should not be displayed with every hit. f. Scorer and Weight are public, not package protected. It now possible for someone to write a Scorer implementation that is not in the org.apache.lucene.search package. This is still fairly advanced programming, and I don't expect anyone to do this anytime soon, but at least now it is possible. Caution: These are extensive changes and they have not yet been tested extensively. Bug reports are appreciated.
- Removed unused variables.
Added a public, extensible scoring API.
Made many methods and classes non-final, per requests. This includes IndexWriter and IndexSearcher, among others. Moved search implementation methods into a new public interface, Searchable. This makes it easier to implement a remote searcher. Fixed some javadoc comments.
- Patched Javadocs. PR: Obtained from: Submitted by: Erik Hatcher Reviewed by:
Removed some redundant code. This is already in BooleanScorer.
Initial revision
This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.
| apache@apache.org | ViewVC Help |
| Powered by ViewVC 1.1.2 |