Daniel Naber
c122d5bf3f
remove "throws IOException" from methods that really never throw this exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150400 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 20:50:29 +00:00
Daniel Naber
ab798c960e
fix @param in API doc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150399 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 20:50:00 +00:00
Daniel Naber
c4f8d9b824
remove unused variables
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150398 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 20:44:51 +00:00
Daniel Naber
9e2322c5c0
remove "throws IOException" from methods that really never throw this exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150397 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 20:19:13 +00:00
Daniel Naber
9510777ce9
No dot at the end of the @see tag. javadoc doesn't seem to care, but Eclipse prints a warning.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150396 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 20:09:19 +00:00
Daniel Naber
35d5406541
Use the HTMLParser constructor that takes a FileInputStream and make sure it gets closed. This was not the case with the constructor that takes a File.
...
Thus I deprecated that one. I guess the demo isn't part of the "official" API but there are surely people who use it for more than just testing.
PR: 28187
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150395 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 19:26:16 +00:00
Christoph Goller
fecb54ff64
addIndexes(IndexReader[]): Delete segment of non-empty
...
goal index an close its SegmentReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150394 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 12:21:24 +00:00
Daniel Naber
4b8434c0e8
make the links in the API documentation work
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150393 13f79535-47bb-0310-9956-ffa450edef68
2004-08-05 18:00:13 +00:00
Daniel Naber
5ba3804057
documentation: add a link from delete(Term) to delete(int) because the latter one contains information about when the deleting will become effective
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150392 13f79535-47bb-0310-9956-ffa450edef68
2004-08-04 19:40:26 +00:00
Daniel Naber
53833051ce
update the documentation to reflect that "path" is now untokenized
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150391 13f79535-47bb-0310-9956-ffa450edef68
2004-08-03 21:53:10 +00:00
Daniel Naber
5635cce871
Store the path as a Keyword field. Also rename HTMLDocument's "url" to "path"
...
and store it as a Keyword field, too. DeleteFiles now takes such a path
as its command line parameter and works on the index directory "index", like the
other demos.
This fixes bug http://issues.apache.org/bugzilla/show_bug.cgi?id=30330
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150390 13f79535-47bb-0310-9956-ffa450edef68
2004-08-03 21:49:24 +00:00
Daniel Naber
add0c0a47b
fixing the usage information, as Indexfiles.class returns "class org.apache.lucene.demo.Indexfiles" (note the "class", which is misleading in this context)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150389 13f79535-47bb-0310-9956-ffa450edef68
2004-08-03 21:47:11 +00:00
Daniel Naber
daf920b59d
remove "throws IOException" that could never be thrown
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150388 13f79535-47bb-0310-9956-ffa450edef68
2004-08-03 21:32:50 +00:00
Daniel Naber
5335af3bee
remove unneeded imports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150387 13f79535-47bb-0310-9956-ffa450edef68
2004-08-03 17:43:10 +00:00
Erik Hatcher
59c4fd80a7
fixed import issue caused by previous removal commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150386 13f79535-47bb-0310-9956-ffa450edef68
2004-08-02 23:33:24 +00:00
Doug Cutting
16bca81ce7
Updating for 1.4.1 release.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150383 13f79535-47bb-0310-9956-ffa450edef68
2004-08-02 21:00:21 +00:00
Doug Cutting
8bd9b14464
Preparing for 1.4.1 release.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150382 13f79535-47bb-0310-9956-ffa450edef68
2004-08-02 20:53:14 +00:00
Doug Cutting
2e6f311a03
Generated new file-formats doc.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150381 13f79535-47bb-0310-9956-ffa450edef68
2004-08-02 20:43:58 +00:00
Daniel Naber
8895c14af2
adding myself to the "who we are" page, as the committer FAQ suggests and to test if my commit messages get through
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150380 13f79535-47bb-0310-9956-ffa450edef68
2004-08-02 19:02:20 +00:00
Daniel Naber
c5e21fb418
the test for getFieldNames(boolean) was not correct
...
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150379 13f79535-47bb-0310-9956-ffa450edef68
2004-08-01 22:55:12 +00:00
Daniel Naber
986934c44d
adding a testcase for FuzzyQuery
...
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150378 13f79535-47bb-0310-9956-ffa450edef68
2004-08-01 22:19:59 +00:00
Daniel Naber
bb402d4e96
let's see if committing works for me -- fix errors in the file format
...
description, as discussed on the mailing list
CVS: ----------------------------------------------------------------------
CVS: PR:
CVS: If this change addresses a PR in the problem report tracking
CVS: database, then enter the PR number(s) here.
CVS: Obtained from:
CVS: If this change has been taken from another system, such as NCSA,
CVS: then name the system in this line, otherwise delete it.
CVS: Submitted by:
CVS: If this code has been contributed to Apache by someone else; i.e.,
CVS: they sent us a patch or a new module, then include their name/email
CVS: address here. If this is your work then delete this line.
CVS: Reviewed by:
CVS: If we are doing pre-commit code reviews and someone else has
CVS: reviewed your changes, include their name(s) here.
CVS: If you have not had it reviewed then delete this line.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150377 13f79535-47bb-0310-9956-ffa450edef68
2004-08-01 15:58:56 +00:00
Christoph Goller
b4f4634fd6
simplification of code
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150376 13f79535-47bb-0310-9956-ffa450edef68
2004-07-25 15:10:36 +00:00
Doug Cutting
4c96baa13a
Fixed a performance bug in hit sorting code, #30240 .
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150375 13f79535-47bb-0310-9956-ffa450edef68
2004-07-21 19:05:46 +00:00
Otis Gospodnetic
310d57b75e
- Fix for http://issues.apache.org/bugzilla/show_bug.cgi?id=30058
...
Vector -> ArrayList, Hashtable -> HashMap
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150374 13f79535-47bb-0310-9956-ffa450edef68
2004-07-13 14:07:34 +00:00
Otis Gospodnetic
cec270c525
- Fix for NPE: http://issues.apache.org/bugzilla/show_bug.cgi?id=30049
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150373 13f79535-47bb-0310-9956-ffa450edef68
2004-07-12 14:36:04 +00:00
Otis Gospodnetic
9db6cd299a
- static var
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150372 13f79535-47bb-0310-9956-ffa450edef68
2004-07-10 06:49:52 +00:00
Otis Gospodnetic
451a311f26
- Removed extra imports: http://issues.apache.org/bugzilla/show_bug.cgi?id=30016
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150371 13f79535-47bb-0310-9956-ffa450edef68
2004-07-10 06:19:01 +00:00
Doug Cutting
de1ea95568
Preparing for 1.4 final release.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150369 13f79535-47bb-0310-9956-ffa450edef68
2004-07-01 17:40:41 +00:00
Christoph Goller
5426ab1212
package private method added that helps to get unique
...
document numbers and that should not upset anybody
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150368 13f79535-47bb-0310-9956-ffa450edef68
2004-06-24 08:05:55 +00:00
Erik Hatcher
2ebb5e0ade
minor correction - FieldCount not Count
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150367 13f79535-47bb-0310-9956-ffa450edef68
2004-06-24 01:02:27 +00:00
Erik Hatcher
5d4bddceef
add getter for Query
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150366 13f79535-47bb-0310-9956-ffa450edef68
2004-06-18 09:52:25 +00:00
Erik Hatcher
fd370a1677
bring segments file documentation back in sync with code changes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150365 13f79535-47bb-0310-9956-ffa450edef68
2004-06-16 00:16:16 +00:00
Erik Hatcher
7bd8188ba6
#29548 rename enum
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150364 13f79535-47bb-0310-9956-ffa450edef68
2004-06-14 00:16:06 +00:00
Erik Hatcher
72efb4afbf
adjust .tvf file format to match actual implementation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150363 13f79535-47bb-0310-9956-ffa450edef68
2004-06-12 16:54:37 +00:00
Doug Cutting
5ca4cb27e2
Fixed a bug where obsolete segment files were not deleted on Win32.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150362 13f79535-47bb-0310-9956-ffa450edef68
2004-06-09 11:28:46 +00:00
Doug Cutting
27821a7f9a
Removed synchronization from term lookup.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150361 13f79535-47bb-0310-9956-ffa450edef68
2004-06-07 16:55:52 +00:00
Otis Gospodnetic
cdd9601158
- Switched to UTF-8 file encoding
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150360 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 20:24:20 +00:00
Erik Hatcher
42cb7c5344
doc patch from Daniel Naber
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150359 13f79535-47bb-0310-9956-ffa450edef68
2004-05-30 11:12:50 +00:00
Erik Hatcher
5884c9c8a8
Paul Elschots refactorings of span tests
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150358 13f79535-47bb-0310-9956-ffa450edef68
2004-05-25 17:34:58 +00:00
Tim Jones
9c2a2fee32
added a SortField which uses a Locale to sort strings.
...
also fixed the discrepancy about what happens when a document has no terms in a sorted field.
added test cases for both of the above.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150357 13f79535-47bb-0310-9956-ffa450edef68
2004-05-24 22:51:42 +00:00
Erik Hatcher
8420843ace
one more try as UTF-8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150356 13f79535-47bb-0310-9956-ffa450edef68
2004-05-24 19:05:21 +00:00
Erik Hatcher
03026b6a4d
hopefully fixing my I18N screwup
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150355 13f79535-47bb-0310-9956-ffa450edef68
2004-05-24 17:20:09 +00:00
Erik Hatcher
ee00e19246
enhancement to QueryParser to allow slop factor passed to a new getFieldQuery method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150354 13f79535-47bb-0310-9956-ffa450edef68
2004-05-22 17:34:31 +00:00
Otis Gospodnetic
26e2b49a68
- Fixed a reference to lockDir
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150353 13f79535-47bb-0310-9956-ffa450edef68
2004-05-21 10:46:13 +00:00
Tim Jones
71c714efa1
- FieldCache change note
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150352 13f79535-47bb-0310-9956-ffa450edef68
2004-05-20 17:16:56 +00:00
Otis Gospodnetic
d6a64bf03e
- Fix for bug 28960 ( http://issues.apache.org/bugzilla/show_bug.cgi?id=28960 )
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150351 13f79535-47bb-0310-9956-ffa450edef68
2004-05-20 16:38:58 +00:00
Otis Gospodnetic
0ed86b97b8
- FilteredTermEnum ctor change note
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150350 13f79535-47bb-0310-9956-ffa450edef68
2004-05-20 16:28:15 +00:00
Christoph Goller
c67d8e8050
Javadoc correction
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150349 13f79535-47bb-0310-9956-ffa450edef68
2004-05-20 11:23:53 +00:00
Tim Jones
4e486c1434
expose term cache as a public object
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150348 13f79535-47bb-0310-9956-ffa450edef68
2004-05-19 23:05:27 +00:00