Doug Cutting
bdc8da1823
Fixed minor problems with previous checkin.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149923 13f79535-47bb-0310-9956-ffa450edef68
2003-01-14 00:04:37 +00:00
Doug Cutting
169fac073f
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.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149922 13f79535-47bb-0310-9956-ffa450edef68
2003-01-13 23:50:34 +00:00
Otis Gospodnetic
233c5c329a
- Removed unused variables.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149921 13f79535-47bb-0310-9956-ffa450edef68
2003-01-13 01:51:18 +00:00
Otis Gospodnetic
394da6b050
- Updated with the latest changes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149920 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 16:11:00 +00:00
Otis Gospodnetic
c8a221d1e1
- Updated Javadocs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149919 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 16:09:03 +00:00
Otis Gospodnetic
d9a164b6b2
- Formatting.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149918 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 04:49:20 +00:00
Otis Gospodnetic
956ef388fc
- Unit tests for org.apache.lucene.document.Document class.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149917 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 02:30:52 +00:00
Otis Gospodnetic
13bcec39d6
- Added getFields and getValues methods.
...
Contributed by Rasik Pandey on 2002-10-09.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149916 13f79535-47bb-0310-9956-ffa450edef68
2003-01-07 02:29:21 +00:00
Otis Gospodnetic
ca1240bec6
- Fix for bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=12723
...
PR: 12723
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149915 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 18:06:19 +00:00
Otis Gospodnetic
eeff286786
- Removed a sub-task that has been completed 4 months ago, actually.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149914 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 17:31:04 +00:00
Otis Gospodnetic
474cb42805
- Fixed wrong method name.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149913 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 17:29:40 +00:00
Otis Gospodnetic
ca33bfb85b
- Fixed a bad link in the lef nav.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149912 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 17:19:17 +00:00
Otis Gospodnetic
0113b7ec22
- Updated.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149911 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 17:16:07 +00:00
Otis Gospodnetic
117172e11d
- Applied patches from http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14900
...
All unit tests still pass.
PR: 14900
Obtained from:
Submitted by: Peter Mularien
Reviewed by: Otis
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149910 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 17:13:40 +00:00
Otis Gospodnetic
2d2a191b87
- Reverted to revision 1.2 ... this matches the comments in the code anyway :).
...
Should fix bug http://nagoya.apache.org/bugzilla/show_bug.cgi?id=14485
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149909 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 16:41:36 +00:00
Otis Gospodnetic
0b346b0639
- Import stmt, @version + CVS Id tag.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149908 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 16:38:39 +00:00
Otis Gospodnetic
7bda30b4c7
- Updated (keine Scheisse).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149907 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 16:29:08 +00:00
Andrew C. Oliver
24934f75c0
removed plan link
...
PR:
Obtained from:
Submitted by:
Reviewed by:
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149906 13f79535-47bb-0310-9956-ffa450edef68
2003-01-04 14:20:38 +00:00
Otis Gospodnetic
0cd42ec095
- Removed 3 Analyzer/Stemmer todo items, which should be taken care of by the
...
Snowball contribution in Lucene Sandbox.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149905 13f79535-47bb-0310-9956-ffa450edef68
2002-12-28 22:46:35 +00:00
Doug Cutting
62b78f06d7
Add link to Snowball page.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149904 13f79535-47bb-0310-9956-ffa450edef68
2002-12-24 21:20:23 +00:00
Otis Gospodnetic
9ff9b75780
- Modified docs.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149903 13f79535-47bb-0310-9956-ffa450edef68
2002-12-12 06:23:48 +00:00
Otis Gospodnetic
bf5028d9ac
- Added author's email address upon his request.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149902 13f79535-47bb-0310-9956-ffa450edef68
2002-12-12 05:10:11 +00:00
Doug Cutting
3457e879bd
Minor cleanups: added constructors for TokenStream & TokenFilter, made some methods non-final.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149901 13f79535-47bb-0310-9956-ffa450edef68
2002-12-09 19:02:21 +00:00
Otis Gospodnetic
f8d436784c
- Added the link to benchmarks to the side.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149900 13f79535-47bb-0310-9956-ffa450edef68
2002-12-04 05:56:33 +00:00
Otis Gospodnetic
35aa4145e8
- User-submitted benchmarks and a template.
...
Submitted by: Kelvin Tan
Reviewed by: otis
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149899 13f79535-47bb-0310-9956-ffa450edef68
2002-12-04 05:46:43 +00:00
Otis Gospodnetic
b34fa3c092
- Added 3 links to Resources section.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149898 13f79535-47bb-0310-9956-ffa450edef68
2002-11-29 21:23:47 +00:00
Otis Gospodnetic
007d19e481
- Updated the reference to PDF Box.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149897 13f79535-47bb-0310-9956-ffa450edef68
2002-11-29 21:23:07 +00:00
Doug Cutting
0d9b89865c
Fixed to not create files in home directory.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149896 13f79535-47bb-0310-9956-ffa450edef68
2002-11-26 17:31:43 +00:00
Doug Cutting
57cdbe4187
Added subDoc() method, renamed searcherIndex() to subSearcher().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149895 13f79535-47bb-0310-9956-ffa450edef68
2002-11-25 20:50:15 +00:00
Otis Gospodnetic
686bdde10b
- Removed some jikes' warnings.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149894 13f79535-47bb-0310-9956-ffa450edef68
2002-11-19 23:25:46 +00:00
Peter Carlson
17eb3235b7
Updated Changes to include information about id method in Hits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149893 13f79535-47bb-0310-9956-ffa450edef68
2002-11-15 16:09:48 +00:00
Peter Carlson
0066cc0f7f
Fixed bug where Hits.id() returned a Float instead of an int
...
Bug found by Terry Steichen
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149892 13f79535-47bb-0310-9956-ffa450edef68
2002-11-15 16:07:12 +00:00
Otis Gospodnetic
c769f13a2c
- Corrected the exception message.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149891 13f79535-47bb-0310-9956-ffa450edef68
2002-11-10 23:35:55 +00:00
Otis Gospodnetic
a82881ed4d
- Not longer needed, as it has been converted to 'xdocs format'.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149890 13f79535-47bb-0310-9956-ffa450edef68
2002-11-08 05:03:26 +00:00
Otis Gospodnetic
00a2918d8c
- TODO list in HTML.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149889 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 22:50:48 +00:00
Otis Gospodnetic
050ef786c6
- TODO list.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149888 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 20:36:06 +00:00
Otis Gospodnetic
cc38b0e967
- Added a TODO document + modified left side nav bar.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149887 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 20:18:09 +00:00
Doug Cutting
40b4cb0be2
Removed some stale news.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149886 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 18:22:10 +00:00
Doug Cutting
6772e7567d
Added a public, extensible scoring API.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149885 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 17:31:27 +00:00
Otis Gospodnetic
98330b5030
- Removed compiler warnings (jikes 1.17). Style stuff only.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149884 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 05:55:40 +00:00
Otis Gospodnetic
d0a577e1bd
- This is not a unit test class, so it should not be here.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149883 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 05:54:56 +00:00
Otis Gospodnetic
748fdb1b96
- BitVector unit tests.
...
Submitted by: Peter Mularien <pmularien@deploy.com>
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149882 13f79535-47bb-0310-9956-ffa450edef68
2002-11-07 05:17:16 +00:00
Otis Gospodnetic
7cfc8520ac
- Fixed javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149881 13f79535-47bb-0310-9956-ffa450edef68
2002-11-06 19:55:02 +00:00
Otis Gospodnetic
d80a2f359c
- Updated.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149880 13f79535-47bb-0310-9956-ffa450edef68
2002-10-30 20:43:45 +00:00
Otis Gospodnetic
d43c477e9e
- Reworded, fixed spelling errors.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149879 13f79535-47bb-0310-9956-ffa450edef68
2002-10-30 20:42:13 +00:00
Otis Gospodnetic
f93b739a97
- Fixed head area.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149878 13f79535-47bb-0310-9956-ffa450edef68
2002-10-30 19:29:47 +00:00
Otis Gospodnetic
729333c61b
- Lucene file formats.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149877 13f79535-47bb-0310-9956-ffa450edef68
2002-10-30 18:56:46 +00:00
Otis Gospodnetic
985f797748
- LARM Technical Overview.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149876 13f79535-47bb-0310-9956-ffa450edef68
2002-10-30 18:33:43 +00:00
Otis Gospodnetic
9b24cfdc67
- LARM images.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149875 13f79535-47bb-0310-9956-ffa450edef68
2002-10-30 04:14:27 +00:00
Otis Gospodnetic
0f0afe7958
- New docs, new sidebar.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@149874 13f79535-47bb-0310-9956-ffa450edef68
2002-10-30 04:14:11 +00:00