
|
If you were logged in you would be able to see more operations.
|
|
|
| Lucene Fields: |
Patch Available, New
|
| Resolution Date: |
23/May/08 07:00 PM
|
The Hits class has several drawbacks as pointed out in LUCENE-954.
The other search APIs that use TopDocCollector and TopDocs should be used instead.
This patch:
- deprecates org/apache/lucene/search/Hits, Hit, and HitIterator, as well as
the Searcher.search( * ) methods which return a Hits Object.
- removes all references to Hits from the core and uses TopDocs and ScoreDoc
instead
- Changes the demo SearchFiles: adds the two modes 'paging search' and 'streaming search',
each of which demonstrating a different way of using the search APIs. The former
uses TopDocs and a TopDocCollector, the latter a custom HitCollector implementation.
- Updates the online tutorial that descibes the demo.
All tests pass.
|
|
Description
|
The Hits class has several drawbacks as pointed out in LUCENE-954.
The other search APIs that use TopDocCollector and TopDocs should be used instead.
This patch:
- deprecates org/apache/lucene/search/Hits, Hit, and HitIterator, as well as
the Searcher.search( * ) methods which return a Hits Object.
- removes all references to Hits from the core and uses TopDocs and ScoreDoc
instead
- Changes the demo SearchFiles: adds the two modes 'paging search' and 'streaming search',
each of which demonstrating a different way of using the search APIs. The former
uses TopDocs and a TopDocCollector, the latter a custom HitCollector implementation.
- Updates the online tutorial that descibes the demo.
All tests pass. |
Show » |
made changes - 19/May/08 09:04 PM
| Field |
Original Value |
New Value |
|
Attachment
|
|
lucene-1290.patch
[ 12382333
]
|
made changes - 23/May/08 07:00 PM
|
Lucene Fields
|
[Patch Available, New]
|
[New, Patch Available]
|
|
Status
|
Open
[ 1
]
|
Resolved
[ 5
]
|
|
Resolution
|
|
Fixed
[ 1
]
|
|