Doron Cohen
027307857e
LUCENE-1353: Javacc target to generate precedence query parser.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@685114 13f79535-47bb-0310-9956-ffa450edef68
2008-08-12 10:49:59 +00:00
Otis Gospodnetic
4d33a23bd2
- Javadoc typos fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@684406 13f79535-47bb-0310-9956-ffa450edef68
2008-08-10 04:09:56 +00:00
Doron Cohen
78ffc2800f
javadoc fix.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@683593 13f79535-47bb-0310-9956-ffa450edef68
2008-08-07 11:51:18 +00:00
Michael McCandless
8d8e83518c
LUCENE-1301: fix cause of rare NPE in TestIndexWriterExceptions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@683206 13f79535-47bb-0310-9956-ffa450edef68
2008-08-06 09:56:00 +00:00
Michael McCandless
60b43961da
LUCENE-1340: add Fieldable.omitTf to not index term freq, positions, payloads for the field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682812 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 17:17:42 +00:00
Grant Ingersoll
dd066edcf1
LUCENE-1351: clean additional ligatures
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682766 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 15:47:33 +00:00
Grant Ingersoll
f2838b450b
LUCENE-1349. Mark Fieldable as modifiable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682690 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 12:29:11 +00:00
Grant Ingersoll
316cfd14df
LUCENE-1349: Mark Fieldable as changeable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682689 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 12:27:42 +00:00
Doron Cohen
82c1724efb
LUCENE-1348: relax TestTimeLimitedCollector.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682619 13f79535-47bb-0310-9956-ffa450edef68
2008-08-05 07:58:07 +00:00
Doron Cohen
0eb1be2b48
LUCENE-1310: Phrase query with term repeated 3 times needed more slop than expected.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@682186 13f79535-47bb-0310-9956-ffa450edef68
2008-08-03 15:40:14 +00:00
Michael McCandless
e217b2b883
LUCENE-1347: fix hang in rollback() after previous rollback() call hit exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@681082 13f79535-47bb-0310-9956-ffa450edef68
2008-07-30 15:38:16 +00:00
Yonik Seeley
d916665ab7
LUCENE-1346: replace Vector with ArrayList in Queries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@680361 13f79535-47bb-0310-9956-ffa450edef68
2008-07-28 13:58:39 +00:00
Michael McCandless
7c842e3c34
LUCENE-1339: make IndexReader incRef and decRef expert public methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@678716 13f79535-47bb-0310-9956-ffa450edef68
2008-07-22 11:14:36 +00:00
Michael McCandless
7198ead131
LUCENE-1301: refactor DocumentsWriter into a package-private indexing chain, as a first step towards flexible indexing
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@677865 13f79535-47bb-0310-9956-ffa450edef68
2008-07-18 09:20:12 +00:00
Michael McCandless
12e4e67403
add missing synchronized to PerfRunData.getQueryMaker()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@677555 13f79535-47bb-0310-9956-ffa450edef68
2008-07-17 10:50:24 +00:00
Michael McCandless
43c2038ca0
fix javadoc warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@675503 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 10:36:05 +00:00
Michael McCandless
a9ce6fd334
LUCENE-1331: catch if FSDirectory is used after being closed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@675485 13f79535-47bb-0310-9956-ffa450edef68
2008-07-10 09:27:44 +00:00
Mark Harwood
74c551fb88
Added option to allow UserQuery tag to define a different default fieldName.
...
Standard use case for this is where users are presented with a GUI form with multiple input boxes, each targetting a different field and allowing "lucene syntax". The XML query template behind such a form would have a <UserQuery> tag for each form field, each defined with the appropriate choice of default field name.
Added Junit test for changing default field name, updated DTD for XML query syntax and regenerated HTML documentation.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@674975 13f79535-47bb-0310-9956-ffa450edef68
2008-07-08 21:50:06 +00:00
Karl-Johan Wettin
ddc7c290d0
LUCENE-1320
...
ShingleMatrixFilter, a multidimensional shingle token filter.
Bug fix, did not support empty input token streams.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@674367 13f79535-47bb-0310-9956-ffa450edef68
2008-07-07 00:08:41 +00:00
Michael McCandless
dc65b35533
LUCENE-1324: add TokenFilter.reset()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673990 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 10:06:17 +00:00
Michael McCandless
22f76f1ebf
LUCENE-1325: add IndexCommit.isOptimized() method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673979 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 09:43:12 +00:00
Michael McCandless
4099732195
LUCENE-1326: be sure to call Inflator/Deflator.end when working with zlib for compressed fields, to avoid memory leaks
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673972 13f79535-47bb-0310-9956-ffa450edef68
2008-07-04 09:20:41 +00:00
Karl-Johan Wettin
bca43ea3ea
LUCENE-1320
...
ShingleMatrixFilter, a multidimensional shingle token filter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673549 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 23:53:51 +00:00
Michael McCandless
b60829fb0c
LUCENE-1322: remove unnecessary synchronization in CSIndexInput
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673371 13f79535-47bb-0310-9956-ffa450edef68
2008-07-02 11:57:27 +00:00
Mark Robert Miller
943bf37e66
LUCENE-1321: Highlight fragment does not extend to maxDocCharsToAnalyze
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673220 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 21:44:33 +00:00
Michael McCandless
ebf4625870
LUCENE-1323: fix MultiReader to make a private copy of the subReaders array
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@673103 13f79535-47bb-0310-9956-ffa450edef68
2008-07-01 15:30:31 +00:00
Karl-Johan Wettin
4f7ead8112
LUCENE-1318: InstantiatedIndexReader.norms(String, b[], int) didn't treat the array offset right.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@672568 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 18:52:12 +00:00
Karl-Johan Wettin
b8fc54e72a
LUCENE-1312: Added full support for InstantiatedIndexReader#getFieldNames() and extended the test case to assert deleted documents behaves as they should (they did).
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@672556 13f79535-47bb-0310-9956-ffa450edef68
2008-06-28 17:23:35 +00:00
Michael McCandless
5890f58fa4
improve javadocs for numRamDocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@672290 13f79535-47bb-0310-9956-ffa450edef68
2008-06-27 15:00:08 +00:00
Erik Hatcher
3c80f97f7c
MemoryIndex implements Serializable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@671579 13f79535-47bb-0310-9956-ffa450edef68
2008-06-25 15:18:29 +00:00
Michael McCandless
13c08a947c
LUCENE-1311: add IndexReader.listCommits & IndexReader.open methods to open a specific commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@671218 13f79535-47bb-0310-9956-ffa450edef68
2008-06-24 15:41:06 +00:00
Grant Ingersoll
44dcbe184f
add a getter for the StringDistance
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@669476 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 12:52:11 +00:00
Grant Ingersoll
d6dcae49dd
make public
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@669455 13f79535-47bb-0310-9956-ffa450edef68
2008-06-19 11:45:08 +00:00
Otis Gospodnetic
8b11f3b077
- Renamed TRStringDistance to LevensteinDistance (related to LUCENE-1297)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@669086 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 05:09:11 +00:00
Otis Gospodnetic
ce19aa28c0
LUCENE-1297 - Allow other string distance measures for the SpellChecker
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@669085 13f79535-47bb-0310-9956-ffa450edef68
2008-06-18 05:01:57 +00:00
Mark Harwood
4adc3f7ba6
Fixed bug parsing boolean attributes. Boolean.getBoolean(s) was being used by mistake which reads a system property with name of s - instead need to parse s as string value of "true" or "false".
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@667294 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 23:38:39 +00:00
Doron Cohen
d69885c9d7
LUCENE-1303: BoostingTermQuery's explanation marked as a Match
...
depending only upon the non-payload part of the score.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@666949 13f79535-47bb-0310-9956-ffa450edef68
2008-06-12 04:15:10 +00:00
Otis Gospodnetic
ee9a938c79
- Typo fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@666536 13f79535-47bb-0310-9956-ffa450edef68
2008-06-11 06:05:02 +00:00
Doron Cohen
5503aba23b
fix javadoc typo.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@666100 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 13:37:53 +00:00
Doron Cohen
4d9e280788
LUCENE-1090: remove relative paths from benchmark's build.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@666079 13f79535-47bb-0310-9956-ffa450edef68
2008-06-10 11:58:00 +00:00
Michael McCandless
6bbb079a68
fix IndexCommit.equals to compare version of the commit instead of segments filename, in addition to the Directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@664419 13f79535-47bb-0310-9956-ffa450edef68
2008-06-08 00:51:11 +00:00
Grant Ingersoll
8c97e9b87b
LUCENE-1299: Properly handle when IndexReader is not null and Field is in the spell checker
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@663649 13f79535-47bb-0310-9956-ffa450edef68
2008-06-05 16:12:08 +00:00
Grant Ingersoll
f89cda6dde
LUCENE-1298: Allow MLT to use custom similarity
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@663054 13f79535-47bb-0310-9956-ffa450edef68
2008-06-04 10:41:41 +00:00
Michael Busch
455afb322d
Thread.getId() is a java 1.5 feature. Change to Thread.getName().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@662545 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 20:21:38 +00:00
Grant Ingersoll
1979d75605
LUCENE-1295: Made method public and added retrieveInterestingTerms variation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@662413 13f79535-47bb-0310-9956-ffa450edef68
2008-06-02 12:29:02 +00:00
Grant Ingersoll
e33f551cba
LUCENE-1294: remove user.name from JAR manifest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@661648 13f79535-47bb-0310-9956-ffa450edef68
2008-05-30 11:11:32 +00:00
Michael McCandless
d8c8c0e2c0
LUCENE-1288: add getVersion, getGeneration to IndexCommit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@660904 13f79535-47bb-0310-9956-ffa450edef68
2008-05-28 11:00:33 +00:00
Michael Busch
df7fb0f45c
LUCENE-1189: Fixed the QueryParser to handle escaped characters within quoted terms correctly.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@660674 13f79535-47bb-0310-9956-ffa450edef68
2008-05-27 19:55:36 +00:00
Mark Robert Miller
f32b5a5698
LUCENE-1285: WeightedSpanTermExtractor incorrectly treats the same terms occurring in different query types
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659965 13f79535-47bb-0310-9956-ffa450edef68
2008-05-25 11:38:55 +00:00
Michael Busch
33aea48b02
Add missing javadoc to Cache.synchronizedCache().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659875 13f79535-47bb-0310-9956-ffa450edef68
2008-05-24 21:07:48 +00:00