Michael McCandless
6242cb3322
LUCENE-1151: fix misleading javadoc comment and testcase for StandardAnalyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@692634 13f79535-47bb-0310-9956-ffa450edef68
2008-09-06 10:58:33 +00:00
Michael McCandless
9e88734177
LUCENE-1126: modify JFlex grammar to fallback to the JRE's Character.isDigit() (using :digit:) and Character.isLetter() (using :letter:) to define inclusion of unicode characters
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@692211 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 19:48:29 +00:00
Grant Ingersoll
f262830a7f
fix minor typo in javadocs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@692109 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 15:36:08 +00:00
Michael McCandless
e398f4e930
LUCENE-1376: catch BG merge exceptions even if all merges finish before FG thread (running optimize) advances to while loop
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691964 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 11:14:04 +00:00
Michael McCandless
e6dcf14620
LUCENE-1375: added IndexCommit.getTimestamp method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691952 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 09:40:29 +00:00
Doron Cohen
80aed8ddae
LUCENE-1356: Allow easy extensions of TopDocCollector.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691824 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 23:18:51 +00:00
Michael McCandless
626fa7664f
LUCENE-1374: fix test case to close reader/writer in try/finally; add assert b!=null in RAMOutputStream.writeBytes (matches FSIndexOutput which hits NPE)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691694 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 17:34:29 +00:00
Michael McCandless
3f65c64d9e
LUCENE-1374: fixed NPE case when merging compressed fields with heterogeneous segments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691617 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 13:59:31 +00:00
Michael McCandless
01fada8d1d
LUCENE-1371: added entry in CHANGES for API change
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691559 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 10:08:56 +00:00
Michael McCandless
4ae5fcbf53
LUCENE-1371: add convenience method TopDocs Searcher.search(Query query, int n)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691549 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 09:06:13 +00:00
Michael McCandless
120d01bb09
remove DOCTYPE declaration in testEncoding (it's causing intermittant false failures in nightly build when xerces has trouble loading the DTD from w3.org)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690914 13f79535-47bb-0310-9956-ffa450edef68
2008-09-01 09:07:16 +00:00
Karl-Johan Wettin
bf238a5743
Javadocs fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690779 13f79535-47bb-0310-9956-ffa450edef68
2008-08-31 20:46:47 +00:00
Michael McCandless
bfff632dbc
LUCENE-753: Add new NIOFSDirectory implementation to use java.nio.* for access the same file concurrently with no locking
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690539 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 17:33:06 +00:00
Michael McCandless
4b9a300730
LUCENE-1135: fix concurrency issues in IndexWriter when calling commit, rollback, close, optimize, addIndexes*
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690537 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 17:16:29 +00:00
Michael McCandless
1bbfaa5445
LUCENE-1061: make it simpler to override concrete Query implementations created by QueryParser by factoring out protected newXXXQuery() methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690535 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 17:12:19 +00:00
Yonik Seeley
09114186ba
javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690306 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 15:39:52 +00:00
Yonik Seeley
0b9512aa23
fix OpenBitSet.hashCode rotate
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690302 13f79535-47bb-0310-9956-ffa450edef68
2008-08-29 15:33:44 +00:00
Michael McCandless
4661a1b02b
LUCENE-1367: add IndexCommit.isDeleted()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@689791 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 11:50:15 +00:00
Karl-Johan Wettin
82c70c018e
LUCENE-1016 : TermVectorAccessor, transparent vector space access via stored vectors or by resolving the inverted index.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@688745 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 15:02:20 +00:00
Michael McCandless
85102bd84a
LUCENE-1280: prevent NPE in PhraseQuery.toString() when the PhraseQuery is empty
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@688689 13f79535-47bb-0310-9956-ffa450edef68
2008-08-25 10:02:16 +00:00
Karl-Johan Wettin
3034575f66
LUCENE-1142 : Updated Snowball package, org.tartarus distribution revision 500.
...
Introducing Hungarian, Turkish and Romanian support, updated older stemmers and optimized (reflectionless) SnowballFilter.
IMPORTANT NOTICE ON BACKWARDS COMPATIBILITY: an index created using the 2.3.2 (or older) might not be compatible with these updated classes as some algorithms have changed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@688420 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 22:02:47 +00:00
Karl-Johan Wettin
9fe7a35378
Contrib level CHANGES.txt. I forgot to add this some time ago.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@688370 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 17:12:57 +00:00
Michael McCandless
f0d2a151ca
LUCENE-1329: enable read-only IndexReaders; the default is to get a read-write IndexReader on open, but in 3.0 this will change to read-only
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@688323 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 13:47:18 +00:00
Michael McCandless
59b8dca69a
LUCENE-1365: deprecate addIndexes(Directory[]) in favor of addIndexesNoOptimize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@688315 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 13:32:05 +00:00
Michael McCandless
003a853cc8
LUCENE-1333: don't use LuceneTestCase in contrib until we can fix the build dependency
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687539 13f79535-47bb-0310-9956-ffa450edef68
2008-08-21 02:45:37 +00:00
Grant Ingersoll
09467ad18e
LUCENE-1001: Make payloads accessible from SpanQuery's
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687379 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 16:06:36 +00:00
Michael McCandless
bb6b711718
LUCENE-1333: improvements to Token reuse API and full cutover to reuse API for all core and contrib analyzers
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687357 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 14:38:07 +00:00
Mark Robert Miller
7675606908
LUCENE-1355: highlighter can incorrectly produce negative idf when index has deletes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687052 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 13:16:41 +00:00
Michael McCandless
0541628af1
LUCENE-1249: fix small issues with TermVectorsReader.clone
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687046 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 13:01:11 +00:00
Michael McCandless
a486bff689
fix javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687039 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 12:48:02 +00:00
Michael McCandless
e31a9da835
LUCENE-1334: add Term(String fieldName) constructor that sets term text to empty string
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687014 13f79535-47bb-0310-9956-ffa450edef68
2008-08-19 10:40:39 +00:00
Michael McCandless
bc47023b3a
fix javadoc warnings in Searcher.java
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@686801 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 15:58:30 +00:00
Michael McCandless
a26f3734c6
LUCENE-1219: add Fieldable.getBinaryValue/Offset/Length reuse API
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@686723 13f79535-47bb-0310-9956-ffa450edef68
2008-08-18 10:31:03 +00:00
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