Daniel Naber
1d65537c75
remove "s" and "t" as stopwords because they make searching less precise, e.g. "t-online" gives the same results as "online" with "t" being a stopword
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428998 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 13:11:09 +00:00
Daniel Naber
a9a325a4df
LUCENE-646: fix various small issues with the "getting started" demo pages (patch by Michael McCandless)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428554 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 22:24:42 +00:00
Yonik Seeley
10517a310c
performance test for TermDoc iteration speed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428488 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 19:26:48 +00:00
Daniel Naber
93ab8fd2cc
fix the code example (still used the old API); fix a few spelling mistakes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428479 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 19:07:32 +00:00
Daniel Naber
8cd09aae46
trivial whitespace fix only
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428475 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 19:00:41 +00:00
Daniel Naber
52e9e3dac3
LUCENE-641: fix off-by-one bug for maximum field length
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@426883 13f79535-47bb-0310-9956-ffa450edef68
2006-07-30 11:56:57 +00:00
Daniel Naber
8c0d234ffa
fix LUCENE-638: ignore files unrelated to Lucene in FSDirectory.list(); also make rename more robust by using try/finally
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@426774 13f79535-47bb-0310-9956-ffa450edef68
2006-07-29 09:54:48 +00:00
Daniel Naber
a0288da46d
slightly more verbose output for TooManyClauses exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@425524 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 21:03:17 +00:00
Daniel Naber
53888844c0
add the original query to the parse exception message for easier debugging
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@424708 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 11:08:36 +00:00
Daniel Naber
f72c1e579f
Don't re-create SimpleDateFormat objects, use static ones instead. Gives about a 2x performance increase in a micro benchmark.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@424449 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 20:38:23 +00:00
Chris M. Hostetter
b747b5c81d
LUCENE-623: RAMDirectory.close() now nulls out it's 'file' references
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@419723 13f79535-47bb-0310-9956-ffa450edef68
2006-07-06 22:14:07 +00:00
Chris M. Hostetter
13bb6026a7
LUCENE-621 - new static methods for modifing default lock timeouts
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@418386 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 21:46:29 +00:00
Chris M. Hostetter
2f24fda616
fixed bug LUCENE-451 by adding new functionality in LUCENE-605 -- new ComplexExplanation class can model matching independent of having a positive value
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@417275 13f79535-47bb-0310-9956-ffa450edef68
2006-06-26 18:38:47 +00:00
Yonik Seeley
6e86efb527
BooleanClause javadoc update: LUCENE-615
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416951 13f79535-47bb-0310-9956-ffa450edef68
2006-06-24 20:42:37 +00:00
Daniel Naber
daee07ee37
use the new non-deprecated getFields() method, clean up some imports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416475 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 21:12:07 +00:00
Daniel Naber
8ebdf9fc86
LUCENE-608: deprecate Document.fields(), add getFields()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416440 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 18:37:32 +00:00
Yonik Seeley
79ae648af5
syntax change for ecj compilation: LUCENE-611
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416431 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 17:48:25 +00:00
Yonik Seeley
a7dda11801
revert LUCENE-415, it's not needed for lucene 2.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416424 13f79535-47bb-0310-9956-ffa450edef68
2006-06-22 17:22:06 +00:00
Yonik Seeley
9c011b1b33
disambiguate inner class call to doc() for ecj compilation: LUCENE-610
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416111 13f79535-47bb-0310-9956-ffa450edef68
2006-06-21 21:11:53 +00:00
Yonik Seeley
e2c8931219
revert Document.getFields for back compatibility: LUCENE-609
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@416090 13f79535-47bb-0310-9956-ffa450edef68
2006-06-21 19:49:27 +00:00
Yonik Seeley
66a23a8786
truncate new segment files before use: LUCENE-415
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415808 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 21:28:42 +00:00
Yonik Seeley
c81983524f
ParallelTermEnum.next() fails to advance properly to new fields: LUCENE-607
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415793 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 20:40:06 +00:00
Chris M. Hostetter
20240390e3
New Span query tests for LUCENE-557
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415481 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 01:28:30 +00:00
Chris M. Hostetter
c5cd491839
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
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415476 13f79535-47bb-0310-9956-ffa450edef68
2006-06-20 01:13:13 +00:00
Otis Gospodnetic
af594700a0
- LUCENE-601: RAMDirectory and RAMFile made Seriazable. Thanks Karl.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@414739 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 05:20:49 +00:00
Yonik Seeley
025936b4ae
remove searcher reference from MatchAllDocsQuery so it's Serializable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413965 13f79535-47bb-0310-9956-ffa450edef68
2006-06-13 19:45:55 +00:00
Grant Ingersoll
545088a082
Fixed license issues from Issue 545.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413282 13f79535-47bb-0310-9956-ffa450edef68
2006-06-10 10:57:59 +00:00
Grant Ingersoll
d4cc19d03e
Implementation of Issue 545. Introduction of new Fieldable interface (extracted from Field) which is now used where Field used to be used. Field now implements Fieldable.
...
Added new method to IndexReader and derived classes for working with the new FieldSelector interface. The FieldSelector interface defines a mechanism for doing lazy loading, amongst other things. Implemented Lazy loading of fields in the FieldsReader class. Added test case to TestFieldsReader.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413201 13f79535-47bb-0310-9956-ffa450edef68
2006-06-10 01:23:22 +00:00
Daniel Naber
2b9effb894
deprecate the analysis.nl.WordlistLoader class because it's not robust (fails silently) and use analysis.WordlistLoader instead
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413180 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 22:15:47 +00:00
Daniel Naber
8fa9ff435d
remove private method that was not used at all
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413152 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 20:31:07 +00:00
Otis Gospodnetic
8956949a38
- Added javadoc about when Reader fields are actually read
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@412909 13f79535-47bb-0310-9956-ffa450edef68
2006-06-09 03:15:10 +00:00
Chris M. Hostetter
ffd73d8d62
LUCENE-587 fix Explanation.toHtml to produce valid HTML
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@411343 13f79535-47bb-0310-9956-ffa450edef68
2006-06-03 00:06:28 +00:00
Yonik Seeley
2fd8f54e79
ISOLatin1AccentFilter fails to preserve positionIncrement: LUCENE-583
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410960 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 21:22:29 +00:00
Yonik Seeley
1d6371df43
remove final, implement Cloneable, setTermText(): LUCENE-438
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410954 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 21:15:37 +00:00
Yonik Seeley
4944720897
make MultiTermDocs.skipTo use sub TermDocs.skipTo: LUCENE-586
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410941 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 20:33:18 +00:00
Daniel Naber
2008f5c535
simple HTML syntax fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410683 13f79535-47bb-0310-9956-ffa450edef68
2006-05-31 22:02:37 +00:00
Daniel Naber
94cc256054
make web application demo work again: don't use a QueryParser method that doesn't exist anymore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410678 13f79535-47bb-0310-9956-ffa450edef68
2006-05-31 21:46:46 +00:00
Daniel Naber
9760a3ee54
fix javadoc comment (copy+paste error)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410160 13f79535-47bb-0310-9956-ffa450edef68
2006-05-29 22:26:38 +00:00
Doug Cutting
777ab03972
LUCENE-485. Don't hold commit lock while removing obsolete index files. Contributed by Luc Vanlerberghe.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409690 13f79535-47bb-0310-9956-ffa450edef68
2006-05-26 16:14:12 +00:00
Yonik Seeley
f68744c32b
remove 2GB file limitation from RAMIndexInput and RAMIndexOutput: LUCENE-546
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@408916 13f79535-47bb-0310-9956-ffa450edef68
2006-05-23 15:01:11 +00:00
Yonik Seeley
45712c518f
fix RAMDirectory(Directory) 2GB size limitation: LUCENE-546
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@408114 13f79535-47bb-0310-9956-ffa450edef68
2006-05-21 01:01:42 +00:00
Yonik Seeley
2c5bc593b8
add empty extractTerms(): LUCENE-556
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@407903 13f79535-47bb-0310-9956-ffa450edef68
2006-05-19 20:29:09 +00:00
Yonik Seeley
1e700534cc
fix NPE and deletion bugs in ParallelReader: LUCENE-561
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@407851 13f79535-47bb-0310-9956-ffa450edef68
2006-05-19 16:39:42 +00:00
Chris M. Hostetter
0c9ec9edf7
fix for LUCENE-572
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@407492 13f79535-47bb-0310-9956-ffa450edef68
2006-05-18 07:56:37 +00:00
Chris M. Hostetter
a1460c87b8
fix for LUCENE-352
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@407485 13f79535-47bb-0310-9956-ffa450edef68
2006-05-18 07:39:23 +00:00
Daniel Naber
55237c881f
throw IllegalArgumentException if both field name and value are empty (to avoid a confusing "term out of order" exception later)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@406168 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 23:50:35 +00:00
Daniel Naber
2531a82606
init the cause of exceptions so no information is lost when this exception occurs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@406096 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 13:29:22 +00:00
Daniel Naber
af791e009b
import cleanup to avoid warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@406093 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 13:22:57 +00:00
Daniel Naber
d03ca8f858
fix "throws" declaration in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@406088 13f79535-47bb-0310-9956-ffa450edef68
2006-05-13 12:57:02 +00:00
Daniel Naber
07587e8d15
improve some exception messages and init the cause of exceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@405870 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 21:04:00 +00:00