Daniel Naber
cd2ca90309
You can now set the required fuzziness of FuzzyQuery. Note that QueryParser does not support this (yet?).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150422 13f79535-47bb-0310-9956-ffa450edef68
2004-08-13 18:35:02 +00:00
Daniel Naber
c65cb9a931
remove an unused variable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150421 13f79535-47bb-0310-9956-ffa450edef68
2004-08-13 18:26:43 +00:00
Daniel Naber
d42dd740d6
improve the API doc for getUseCompoundFile()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150420 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 18:59:08 +00:00
Christoph Goller
76e2362954
building of compound file taken out of commit lock
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150419 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 17:38:35 +00:00
Daniel Naber
a715799797
remove a private method that's never used
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150418 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 07:19:18 +00:00
Daniel Naber
f3edf7417a
make the test case also work in Eclipse, not only in the ant task
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150417 13f79535-47bb-0310-9956-ffa450edef68
2004-08-11 07:18:04 +00:00
Daniel Naber
453a317e1e
toString() now doesn't return "Keyword" etc anymore but prints "indexed, tokenized" etc. Information about termVectors is now also included.
...
PR:28336
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150416 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 21:34:57 +00:00
Daniel Naber
bf85d16d96
removed "TODO", as the bug is fixed now
...
PR: 29931
Submitted by: Bernhard Messer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150415 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 19:06:22 +00:00
Daniel Naber
b968175664
make the test case also work in Eclipse, not only in the ant task
...
Submitted by: Bernhard Messer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150414 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 19:04:38 +00:00
Daniel Naber
b1a8660d17
Bernhard's fix for '��' not being replaced at the end of a word + plus a small code simplification by me
...
PR: 29931
Submitted by: Bernhard Messer
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150413 13f79535-47bb-0310-9956-ffa450edef68
2004-08-10 19:02:47 +00:00
Daniel Naber
67b295c3a8
remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150412 13f79535-47bb-0310-9956-ffa450edef68
2004-08-08 19:43:58 +00:00
Daniel Naber
5568be02cf
remove an unused variable and clean up imports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150411 13f79535-47bb-0310-9956-ffa450edef68
2004-08-08 19:40:42 +00:00
Daniel Naber
41cf1702b3
remove unused variables
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150410 13f79535-47bb-0310-9956-ffa450edef68
2004-08-08 19:36:59 +00:00
Daniel Naber
043baabb62
remove an unused variable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150409 13f79535-47bb-0310-9956-ffa450edef68
2004-08-08 14:08:18 +00:00
Christoph Goller
dc74bab798
create compound file in merge after all merged segments
...
have been deleted in order to safe disk space.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150408 13f79535-47bb-0310-9956-ffa450edef68
2004-08-08 13:05:33 +00:00
Daniel Naber
f24f300492
test case for the German stemmer which also shows its limitations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150407 13f79535-47bb-0310-9956-ffa450edef68
2004-08-08 10:55:27 +00:00
Daniel Naber
1268d0deed
Document my "throws IOException" cleanup. It won't affect many people I think.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150406 13f79535-47bb-0310-9956-ffa450edef68
2004-08-07 11:36:39 +00:00
Daniel Naber
683ec6f8dc
fixing a typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150405 13f79535-47bb-0310-9956-ffa450edef68
2004-08-07 11:27:30 +00:00
Daniel Naber
26128272df
remove useless "throws IOException" declarations
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150404 13f79535-47bb-0310-9956-ffa450edef68
2004-08-07 11:19:29 +00:00
Daniel Naber
18a4dc5dce
remove useless "throws IOException" declarations; fix one @param name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150403 13f79535-47bb-0310-9956-ffa450edef68
2004-08-07 11:10:02 +00:00
Daniel Naber
004407a688
the demo was changed so that the "path" field isn't tokenized anymore: adapt the documentation to that change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150402 13f79535-47bb-0310-9956-ffa450edef68
2004-08-07 11:03:49 +00:00
Daniel Naber
3b6a2e7e56
don't try to catch exceptions that are not thrown anymore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@150401 13f79535-47bb-0310-9956-ffa450edef68
2004-08-06 21:32:51 +00:00
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