Michael McCandless
efc985cbf4
LUCENE-1478: allow SortField to use a custom numeric FieldCache parser
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724484 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 21:07:45 +00:00
Mark Robert Miller
8660ccb303
LUCENE-1390: Added ASCIIFoldingFilter, a Filter that converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if one exists. ISOLatin1AccentFilter, which handles a subset of this filter, has been deprecated.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724053 13f79535-47bb-0310-9956-ffa450edef68
2008-12-06 23:25:42 +00:00
Michael McCandless
4a0a5664dd
LUCENE-1468: switch Directory.list() to Directory.listAll(), which does no filtering of returned array
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@723789 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 17:03:13 +00:00
Michael McCandless
a660f21b99
LUCENE-1461: fix single term per document -> single term for a given field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@723375 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 17:13:40 +00:00
Michael McCandless
278dc0fc04
LUCENE-1296: add protected method CachingWrapperFilter.docIdSetToCache
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@722174 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 18:50:45 +00:00
Michael McCandless
f562594180
LUCENE-1461: added FieldCacheRangeFilter, which speeds up creation of RangeFilter by using the FieldCache
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@721663 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 11:50:28 +00:00
Michael McCandless
755e7aec14
LUCENE-1453: add entry to CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@720783 13f79535-47bb-0310-9956-ffa450edef68
2008-11-26 10:07:14 +00:00
Mark Robert Miller
ea3824bf34
LUCENE-1465: NearSpansOrdered returns payloads from first possible match
...
rather than the correct, shortest match; Payloads could be returned even
if the max slop was exceeded; The wrong payload could be returned in
certain situations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@720669 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 23:38:56 +00:00
Michael Busch
eb88fc88fd
LUCENE-1467: Add nextDoc() and next(int) methods to OpenBitSetIterator.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@720609 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 21:39:47 +00:00
Michael Busch
898cfe87cd
LUCENE-1422: New TokenStream API that uses a new class called AttributeSource instead of the now deprecated Token class. All attributes that the Token class had have been moved into separate classes: TermAttribute, OffsetAttribute, PositionIncrementAttribute, PayloadAttribute, TypeAttribute and FlagsAttribute.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@718798 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 23:41:49 +00:00
Michael McCandless
5c9e275c3b
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@718222 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 11:46:28 +00:00
Yonik Seeley
0979fdc423
LUCENE-1451: Add public constructors to FSDirectory and subclasses
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@714110 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 19:22:22 +00:00
Michael McCandless
e213a4e828
LUCENE-1452: fixes cases during merge and lazy field access where binary field is truncated to 0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713962 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 10:02:44 +00:00
Michael Busch
b69ab2b50a
LUCENE-1446: Add compatibility tag to common-build.xml and run backwards-compatibility tests in the nightly build.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712920 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 02:31:50 +00:00
Yonik Seeley
b179b038a1
LUCENE-1443: Performance improvement for OpenBitSetDISI.inPlaceAnd()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712908 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 01:54:49 +00:00
Michael McCandless
abe6ea0828
LUCENE-1424: enable MultiTermQuery to do constant scoring; refactor Range, Wildcard, Prefix to expose this
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712890 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 00:40:00 +00:00
Michael Busch
66c16c196d
LUCENE-1440: Add new targets to build.xml that allow downloading and executing the junit testcases from an older release for backwards-compatibility testing.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712416 13f79535-47bb-0310-9956-ffa450edef68
2008-11-08 18:30:37 +00:00
Mark Harwood
de7ab5b898
Added new web application demo for contrib's XmlQueryParser.
...
This change involves:
* Adding Tomcat's Servlet jar into the lib directory and appropriate entry in NOTICE.txt following the lead from Solr's packaging
* Adding new "demo" directory to XmlQueryParser src directory
* Changing XMLQueryParser's build file to create a demo War file
* Changing the main build to include the demo War file (and any other future contrib/*/war files) in the binary distributions
The packaged source distribution has NOT been changed currently to add a lib directory with the servlet.jar so building from a cut-down src distro as opposed to the full subversion /trunk directory will not currently build the war file (the xml query parser build file detects the absence of servlet.jar). Not sure if this is a problem currently.
TODO:
Now that the servlet jar is available in Subversion I would recommend that the other existing WAR file,"luceneweb.war", is changed to move much of the java code which is currently embedded in JSP files into servlet .java files. This would ensure that the build system will check that the code in this application compiles cleanly with the latest Lucene APIs - otherwise any issue will only become apparent when a user tries to run a JSP.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712318 13f79535-47bb-0310-9956-ffa450edef68
2008-11-08 00:20:32 +00:00
Michael McCandless
24d76157a0
LUCENE-1420: let Similarity.computeNorm compute the norm; add option to discount overlap tokens when computing lengthNorm
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@710117 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 18:03:58 +00:00
Michael McCandless
4990152243
LUCENE-1427: speed up QueryWrapperFilter by not computing scores nor an intermediate OpenBitSet
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@709459 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 16:18:13 +00:00
Grant Ingersoll
8dfe073760
LUCENE-1406. Added Arabic stemming and normalization. Also added new method to WordListLoader to allow for comments in word lists.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706342 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 17:19:29 +00:00
Michael McCandless
0b90b5e23d
LUCENE-1382: add opaque userData String passed to IndexWriter.commit, recorded into the segments file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706240 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 11:33:13 +00:00
Michael McCandless
0250cccacf
LUCENE-1411: add expert API to IndexWriter to open an index for writing on an arbitrary commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706171 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 09:48:55 +00:00
Michael Busch
f8e6c62a30
LUCENE-1419: Add expert API to set custom indexing chain.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@704193 13f79535-47bb-0310-9956-ffa450edef68
2008-10-13 18:12:11 +00:00
Yonik Seeley
00f98b1fd7
LUCENE-1415: MultiPhraseQuery has incorrect hashCode() and equals()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703565 13f79535-47bb-0310-9956-ffa450edef68
2008-10-10 19:45:19 +00:00
Michael McCandless
98e1129a14
break off contrib/CHANGES.txt's 2.4.0 release section
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700743 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 11:22:58 +00:00
Michael McCandless
20a0ff09b3
remove ()'s that confuse changes-to-html
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700428 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 12:06:29 +00:00
Michael McCandless
60bb2c1608
new estimate for 2.4 release
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700398 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 09:19:35 +00:00
Michael McCandless
575b3cec4a
move the NOTE about the change to back compat policy wrt Fieldable under a new 'Changes in backward compatibility policy', so that changes-to-html isn't confused by it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700095 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 12:29:29 +00:00
Michael McCandless
34cb65c34d
fix typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700083 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 12:15:41 +00:00
Michael McCandless
a40530e4a4
LUCENE-1401: remove new deprecated IndexWriter ctors; default autoCommit=false for new ctors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698932 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 12:04:38 +00:00
Michael McCandless
6927ee46a4
LUCENE-1396: improve PhraseQuery.toString: gaps are shown with a ? and multiple terms at the same position are joined with |
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697469 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21 10:41:41 +00:00
Michael McCandless
c206a378b7
LUCENE-1335: adding missing entry to CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697277 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 23:23:10 +00:00
Michael McCandless
28bc234edc
fix 2.4 -> 2.4.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696718 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 17:09:52 +00:00
Michael McCandless
11074a2c4e
switch to 2.9-dev on trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696715 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 17:06:24 +00:00
Grant Ingersoll
a8c0a8a810
LUCENE-1279: Add support for Collator to RangeFilter, etc.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696056 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 21:03:21 +00:00
Otis Gospodnetic
8d02d7859f
LUCENE-1131 - Added numDeletedDocs() to IndexReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695510 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 15:33:15 +00:00
Michael McCandless
ac6ee32b60
LUCENE-1383: workaround the 'leak' in Java's ThreadLocal to prevent Lucene from causing OutOfMemoryError in certain situations, eg J2EE applications
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695184 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 10:32:59 +00:00
Michael McCandless
4218996230
LUCENE-1366: rename Field.Index.* options
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@694004 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 21:38:52 +00:00
Grant Ingersoll
2bb9ab2246
LUCENE-1354: Provide programmatic access to CheckIndex
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@693508 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 16:34:18 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Michael Busch
0ebfcc663e
LUCENE-1187: ChainedFilter and BooleanFilter now work with new Filter API and DocIdSetIterator-based filters.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659635 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 19:25:05 +00:00
Michael Busch
08a2eb4665
LUCENE-1290: Deprecate org.apache.lucene.search.Hits, Hit and HitIterator.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659626 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 18:57:55 +00:00
Michael Busch
eb0596c721
LUCENE-1195: Improve term lookup performance by adding a LRU cache to the TermInfosReader.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659602 13f79535-47bb-0310-9956-ffa450edef68
2008-05-23 17:20:31 +00:00
Otis Gospodnetic
ce557ee4b3
LUCENE-852: Let the SpellChecker caller specify IndexWriter mergeFactor and RAM buffer size.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659021 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 06:47:36 +00:00
Otis Gospodnetic
b4f7c37bd1
LUCENE-1046: Removed dead code in SpellChecker
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659019 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 06:34:18 +00:00
Otis Gospodnetic
f68c9544de
LUCENE-1183: Optimized TRStringDistance class (in contrib/spell) that uses less memory than the previous version
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659016 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 06:24:55 +00:00
Otis Gospodnetic
a379a67875
LUCENE-1152 Fix for calling indexDictionary after clearIndex call
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@659013 13f79535-47bb-0310-9956-ffa450edef68
2008-05-22 06:21:17 +00:00
Michael Busch
b2035b1d9a
Add Lucene 2.3.2 section to CHANGES.txt in trunk
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@657651 13f79535-47bb-0310-9956-ffa450edef68
2008-05-18 22:09:36 +00:00
Grant Ingersoll
7a27cdcbc9
LUCENE-1166: Added token filter for decomposing compound words
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@657027 13f79535-47bb-0310-9956-ffa450edef68
2008-05-16 12:22:50 +00:00
Otis Gospodnetic
aa0074f5db
LUCENE-1003: Don't let RussianAnalyzer drop numbers.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@656111 13f79535-47bb-0310-9956-ffa450edef68
2008-05-14 05:37:45 +00:00
Michael McCandless
8540820fe1
LUCENE-1274: add preparCommit() to IW to do phase 1 of 2-phase commit
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@653878 13f79535-47bb-0310-9956-ffa450edef68
2008-05-06 18:41:10 +00:00
Michael McCandless
aecd167b05
LUCENE-1267: record per-segment deletion count in segments file; add maxDoc() & numDocs() in IW; deprecate docCount() in favor of maxDoc()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@651919 13f79535-47bb-0310-9956-ffa450edef68
2008-04-27 11:14:10 +00:00
Doron Cohen
abc0d25a52
LUCENE-1157 and LUCENE-1256: HTML changes log, created automatically from CHANGES.txt.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@649949 13f79535-47bb-0310-9956-ffa450edef68
2008-04-20 18:29:15 +00:00
Michael McCandless
a6ff3c93df
LUCENE-1262: fix issue that causes BufferedIndexInput to return incorrect bytes after exception was hit during refill
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@647639 13f79535-47bb-0310-9956-ffa450edef68
2008-04-13 22:55:17 +00:00
Grant Ingersoll
cc955c9748
LUCENE-400: Added ShingleFilter (token based ngram)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@642612 13f79535-47bb-0310-9956-ffa450edef68
2008-03-29 21:11:33 +00:00
Michael McCandless
8af3598b74
LUCENE-510: change index format to store strings as true UTF8 not modified UTF8
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@641303 13f79535-47bb-0310-9956-ffa450edef68
2008-03-26 13:39:25 +00:00
Doron Cohen
4bd9dba46f
LUCENE-1238: Fixed intermittent failures of TestTimeLimitedCollector.testTimeoutMultiThreaded.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@638568 13f79535-47bb-0310-9956-ffa450edef68
2008-03-18 21:08:08 +00:00
Doron Cohen
ea688c9363
fix formatting in CHANGES.txt to prevent perl errors in creating changes.html.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@638044 13f79535-47bb-0310-9956-ffa450edef68
2008-03-17 19:39:22 +00:00
Grant Ingersoll
9ac963952f
LUCENE-1236: Added some more javadocs. Also removed @author tags
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637449 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 18:05:10 +00:00
Chris M. Hostetter
32f1054d88
LUCENE-1202 - tweaks to build system to make clover work better with contribs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637344 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 03:16:43 +00:00
Grant Ingersoll
19c4865d72
spelling correction
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637332 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 02:05:19 +00:00
Grant Ingersoll
47da76d1b9
LUCENE-1234: Make BoostingSpanScorer protected
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637331 13f79535-47bb-0310-9956-ffa450edef68
2008-03-15 01:48:04 +00:00
Michael Busch
c5dd46fd02
LUCENE-1230: Include *pom.xml* in source release files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637196 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 18:14:32 +00:00
Michael McCandless
b309970c3d
LUCENE-1233: return empty array instead of null for certain get*s methods in Document
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637053 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 11:08:28 +00:00
Doron Cohen
966ae0382e
LUCENE-1228: IndexWriter.commit() was not updating the index version.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@637041 13f79535-47bb-0310-9956-ffa450edef68
2008-03-14 10:35:18 +00:00
Michael Busch
b3e82f8939
LUCENE-1226: Fixed IndexWriter.addIndexes(IndexReader[]) to commit successfully created compound files.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636893 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 20:57:32 +00:00
Grant Ingersoll
860f6bb673
LUCENE-550: put the comment in the wrong spot
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636749 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 13:00:03 +00:00
Grant Ingersoll
f4cc6e2269
LUCENE-550: Added RAMDirectory alternative as a contrib. Similar to MemoryIndex, but can hold more than one document
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636745 13f79535-47bb-0310-9956-ffa450edef68
2008-03-13 12:34:30 +00:00
Michael McCandless
2768bacab2
LUCENE-1223: fix lazy field loading to not allow string field to be loaded as binary, nor vice/versa
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636568 13f79535-47bb-0310-9956-ffa450edef68
2008-03-12 23:02:38 +00:00
Michael McCandless
a6258c76fd
LUCENE-1217: use Field.isBinary instead of 'instanceof'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@636139 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 22:53:50 +00:00
Doron Cohen
29560fcf50
LUCENE-1213: MultiFieldQueryParser ignored slop for single field phrases.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@635839 13f79535-47bb-0310-9956-ffa450edef68
2008-03-11 08:06:54 +00:00
Michael McCandless
c113c6419d
LUCENE-1201: add IndexReader.getIndexCommit to see which index commit a reader is reading
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@634251 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 12:57:08 +00:00
Michael McCandless
5b113c8af6
LUCENE-1194: add IndexWriter.deleteDocuments(Query)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@634219 13f79535-47bb-0310-9956-ffa450edef68
2008-03-06 11:02:04 +00:00
Michael McCandless
d7d1d680f2
LUCENE-1184: allow SnapshotDeletionPolicy to be re-used across close/open of IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@631223 13f79535-47bb-0310-9956-ffa450edef68
2008-02-26 14:23:45 +00:00
Michael Busch
b86e8e9097
LUCENE-1185: Avoid checking if the TermBuffer 'scratch' in SegmentTermEnum is null for every call of scanTo().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@630377 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 02:35:14 +00:00
Michael Busch
850ffde6a6
Add section for the 2.3.1 release to CHANGES.txt in trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@630362 13f79535-47bb-0310-9956-ffa450edef68
2008-02-23 00:11:44 +00:00
Grant Ingersoll
d5271e5619
LUCENE-1182: Added delegation to scorePayload
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@629772 13f79535-47bb-0310-9956-ffa450edef68
2008-02-21 13:15:19 +00:00
Otis Gospodnetic
95e2e57c86
- Typo fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@628424 13f79535-47bb-0310-9956-ffa450edef68
2008-02-17 04:30:11 +00:00
Michael McCandless
cc64e6fdde
LUCENE-1179: allow Fields with empty string field names
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@628080 13f79535-47bb-0310-9956-ffa450edef68
2008-02-15 15:04:16 +00:00
Doron Cohen
527957bc94
LUCENE-997: Add search timeout (partial) support.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@627101 13f79535-47bb-0310-9956-ffa450edef68
2008-02-12 20:55:32 +00:00
Michael McCandless
1d4ab68796
LUCENE-325: add expungeDeletes methods to IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@620604 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 20:34:49 +00:00
Michael McCandless
862c44215a
LUCENE-1044: sync index files in IndexWriter to ensure index is intact if machine or OS crashes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@620576 13f79535-47bb-0310-9956-ffa450edef68
2008-02-11 18:56:09 +00:00
Michael Busch
9adff2072a
LUCENE-1169: Fixed bug in IndexSearcher.search(): searching with a filter might miss some hits because scorer.skipTo() is called without checking if the scorer is already at the right position.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@619676 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 22:46:37 +00:00
Michael McCandless
9716742942
LUCENE-1168: fix corruption cases with mixed term vectors and autoCommit=false
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@619640 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 21:13:36 +00:00
Grant Ingersoll
0dc6c59ac1
LUCENE-494: Added QueryAutoStopWordAnalyzer in a new query subpackage
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@619420 13f79535-47bb-0310-9956-ffa450edef68
2008-02-07 14:13:38 +00:00
Michael McCandless
53d3a0cfab
LUCENE-1163: get CharArraySet.contains(char[], int offset, int length) to actually pay attention to offset
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@618652 13f79535-47bb-0310-9956-ffa450edef68
2008-02-05 14:02:32 +00:00
Michael Busch
cc6778188f
Update CHANGES.txt for LUCENE-584
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@618188 13f79535-47bb-0310-9956-ffa450edef68
2008-02-04 07:42:14 +00:00
Michael McCandless
0ec1870b11
LUCENE-1151: don't mis-identify HOST as ACRONYM, but, provide static method/property to revert to backwards-compatible but buggy behavior
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@618001 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 15:33:16 +00:00
Michael Busch
3e6a40e89e
LUCENE-1134: Fixed BooleanQuery.rewrite to only optimze a single clause query if minNumShouldMatch<=0.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@617963 13f79535-47bb-0310-9956-ffa450edef68
2008-02-03 08:21:16 +00:00
Michael Busch
18b61286fa
LUCENE-584: Changed Filter API to return a DocIdSet instead of a java.util.BitSet. This allows using more efficient data structures for Filters and makes them more flexible.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@617859 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 19:04:03 +00:00
Grant Ingersoll
1caf5cb9ce
LUCENE-1045: Added short, byte support
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@617745 13f79535-47bb-0310-9956-ffa450edef68
2008-02-02 03:06:08 +00:00
Doron Cohen
fdd5a2040b
remove the byte-order mark characters (BOM)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@616777 13f79535-47bb-0310-9956-ffa450edef68
2008-01-30 14:41:37 +00:00
Doron Cohen
559f4617c2
Undoing change committed in r616534 (LUCENE-1157: Formatable changes log).
...
Need to make the updates of Changes.html smoother.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@616566 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 23:55:10 +00:00
Doron Cohen
f0a617d6bc
LUCENE-1157: Formatable changes log.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@616534 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 22:04:23 +00:00
Michael McCandless
38f8d4e837
LUCENE-1150: make StandardAnalyzer tokenizer constants public again (public access was accidentally removed with LUCENE-966)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@616248 13f79535-47bb-0310-9956-ffa450edef68
2008-01-29 10:51:44 +00:00
Grant Ingersoll
7dd34ef888
LUCENE-1153: added lib/junit and build support
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@615329 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 20:27:55 +00:00
Michael McCandless
76dfb92a44
LUCENE-1120: speed up merging of term vectors by bulk-copying the raw bytes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@615183 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 11:32:32 +00:00
Michael McCandless
ee835ccf21
LUCENE-1084: change all IW ctors to require up-front specification of max field length; deprecated existing ones
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@615168 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 10:21:15 +00:00
Michael McCandless
674eae39ec
LUCENE-705: pre-set the CFS file length before building it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@615160 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 09:42:29 +00:00
Michael McCandless
f99e4e7260
LUCENE-1147: add -segment option to CheckIndex tool, to check only a specific segment or segments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@615159 13f79535-47bb-0310-9956-ffa450edef68
2008-01-25 09:36:21 +00:00
Grant Ingersoll
bc1d7789ef
LUCENE-1137
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@614892 13f79535-47bb-0310-9956-ffa450edef68
2008-01-24 15:01:03 +00:00
Michael Busch
37573a1fdc
Remove leading bytes from CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@613737 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 03:07:34 +00:00
Michael Busch
b8fc4eda59
Update tentative 2.3.0 release date.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@613715 13f79535-47bb-0310-9956-ffa450edef68
2008-01-21 01:03:57 +00:00
Grant Ingersoll
82980ed7c4
LUCENE-1140 patch to fix StandardAnalyzer stop set NPE and test
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@613282 13f79535-47bb-0310-9956-ffa450edef68
2008-01-18 21:28:05 +00:00
Michael Busch
869d6f63ca
Specify tentative 2.3 release date in CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@610862 13f79535-47bb-0310-9956-ffa450edef68
2008-01-10 18:34:02 +00:00
Michael Busch
7d2ffdb8f7
LUCENE-1123: Allow overriding the specification version for MANIFEST.MF
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@610122 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 20:05:53 +00:00
Michael Busch
fab92e9494
Update trunk to version 2.4-dev
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@609846 13f79535-47bb-0310-9956-ffa450edef68
2008-01-08 02:43:24 +00:00
Michael McCandless
2677871bbb
LUCENE-508: make sure SegmentTermEnum.prev() is accurate (= last term) after next() returns false
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@609780 13f79535-47bb-0310-9956-ffa450edef68
2008-01-07 21:15:48 +00:00
Michael McCandless
26bc874e62
LUCENE-1118: skip terms > 255 (by default) characters in length in StandardAnalyzer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@609330 13f79535-47bb-0310-9956-ffa450edef68
2008-01-06 15:37:44 +00:00
Doron Cohen
40eb1cd53f
LUCENE-766: test added for adding two fields with same
...
name but different term vector setting.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@608367 13f79535-47bb-0310-9956-ffa450edef68
2008-01-03 07:32:38 +00:00
Michael Busch
75473edb02
LUCENE-746: Fix error message in AnalyzingQueryParser.getPrefixQuery.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607832 13f79535-47bb-0310-9956-ffa450edef68
2008-01-01 12:49:44 +00:00
Doron Cohen
f39f15ec43
trivial: fix typo.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607724 13f79535-47bb-0310-9956-ffa450edef68
2007-12-31 11:05:02 +00:00
Doron Cohen
ece8361ab5
LUCENE-749: ChainedFilter behavior fixed when logic of first filter is ANDNOT.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607606 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 22:47:59 +00:00
Doron Cohen
f4639c0ab0
LUCENE-1095: option added to StopFilter and QueryParser to consider position increments.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607591 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 21:19:17 +00:00
Doron Cohen
b367e863e6
LUCENE-1101: TokenStream.next(Token) reuse 'policy': calling Token.clear() should be responsibility of token producer.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607521 13f79535-47bb-0310-9956-ffa450edef68
2007-12-30 07:34:30 +00:00
Grant Ingersoll
da2a912919
LUCENE-1068: updated StandardTokenizer, Analyzer to allow for the replaceInvalidAcronym
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@607161 13f79535-47bb-0310-9956-ffa450edef68
2007-12-28 02:46:11 +00:00
Michael Busch
c0040adc27
LUCENE-1098: Make inner class StandardAnalyzer.SavedStreams static and final.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606647 13f79535-47bb-0310-9956-ffa450edef68
2007-12-24 00:48:31 +00:00
Doron Cohen
23da0335a5
LUCENE-1096: Fixed Hits behavior when hits' docs are deleted along with iterating the hits.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@606614 13f79535-47bb-0310-9956-ffa450edef68
2007-12-23 20:50:29 +00:00
Michael McCandless
10c1ec3a66
LUCENE-1089: add new PriorityQueue.insertWithOverflow method to allow for re-use
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@604949 13f79535-47bb-0310-9956-ffa450edef68
2007-12-17 18:05:13 +00:00
Doron Cohen
c3f210db67
LUCENE-1019: CustomScoreQuery enhanced to support multiple ValueSource queries.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603837 13f79535-47bb-0310-9956-ffa450edef68
2007-12-13 06:28:27 +00:00
Doron Cohen
b67cbd7325
for LUCENE-1079, document the change under "API Changes".
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603756 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 22:30:45 +00:00
Doron Cohen
adb9a5c594
LUCENE-1079: DocValues cleanup: constructor & getInnerArray().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603753 13f79535-47bb-0310-9956-ffa450edef68
2007-12-12 22:06:33 +00:00
Michael Busch
c607f48fef
Revert Lucene-944
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603415 13f79535-47bb-0310-9956-ffa450edef68
2007-12-11 23:38:01 +00:00
Grant Ingersoll
c2130982e3
LUCENE-1042: Committed.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@603061 13f79535-47bb-0310-9956-ffa450edef68
2007-12-10 21:49:41 +00:00
Michael McCandless
b0d2b1c90e
LUCENE-1044: revert the doSync option to FSDirectory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@602165 13f79535-47bb-0310-9956-ffa450edef68
2007-12-07 17:42:33 +00:00
Michael Busch
2e678a307d
LUCENE-1064: Changed TopDocs constructor to be public.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601662 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 09:06:40 +00:00
Grant Ingersoll
47d31b60f3
LUCENE-1080
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601602 13f79535-47bb-0310-9956-ffa450edef68
2007-12-06 03:34:06 +00:00
Michael McCandless
5f73506dd3
LUCENE-1073: create SnapshotDeletionPolicy to facilitate taking a live backup of an index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@601104 13f79535-47bb-0310-9956-ffa450edef68
2007-12-04 22:03:24 +00:00
Michael Busch
11a7bf835b
LUCENE-935: Allow to deploy maven artifacts to a remote m2 repository via scp and ssh authentication.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@600440 13f79535-47bb-0310-9956-ffa450edef68
2007-12-03 07:31:02 +00:00
Michael McCandless
97fbfb5427
LUCENE-982: add new method optimize(int maxNumSegments) to IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599766 13f79535-47bb-0310-9956-ffa450edef68
2007-11-30 10:09:45 +00:00
Grant Ingersoll
261382fd4e
LUCENE-1058: Added new buffering tokenizer/token filter for reducing redundant analysis
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599478 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 15:18:08 +00:00
Michael Busch
67e0d82230
LUCENE-1071: Fixed SegmentMerger to correctly set payload bit in the merged segment.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@599264 13f79535-47bb-0310-9956-ffa450edef68
2007-11-29 04:43:03 +00:00
Daniel Naber
52320d2e75
format fixes only (inserting line breaks)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598382 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 18:53:26 +00:00
Daniel Naber
5882ec0659
LUCENE-1045: make SortField.AUTO work with long
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@598376 13f79535-47bb-0310-9956-ffa450edef68
2007-11-26 18:45:39 +00:00
Grant Ingersoll
c70ec4af66
spelling correction
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@597993 13f79535-47bb-0310-9956-ffa450edef68
2007-11-25 14:27:08 +00:00
Michael Busch
54e5550c4d
LUCENE-1062: Add setData(byte[] data), setData(byte[] data, int offset, int length), getData(), getOffset() and clone() methods to o.a.l.index.Payload. Also add the field name as arg to Similarity.scorePayload().
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@597741 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 21:17:32 +00:00
Yonik Seeley
f7ee9f6dfb
LUCENE-693: Speed up nested conjunctions
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@597702 13f79535-47bb-0310-9956-ffa450edef68
2007-11-23 16:58:54 +00:00
Michael Busch
b04703fe8f
LUCENE-1055: Remove gdata from trunk.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596501 13f79535-47bb-0310-9956-ffa450edef68
2007-11-20 00:46:27 +00:00
Yonik Seeley
e395be3faf
LUCENE-1040: new CharArraySet, make StopFilter directly use it
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596484 13f79535-47bb-0310-9956-ffa450edef68
2007-11-19 23:23:04 +00:00
Michael Busch
0805999b66
LUCENE-743: Add IndexReader.reopen() method that re-opens an existing IndexReader.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@596004 13f79535-47bb-0310-9956-ffa450edef68
2007-11-17 21:34:23 +00:00
Michael McCandless
e35a66d8a3
LUCENE-1052: add set/getTermInfosIndexDivisor to IndexReader to reduce memory usage of the TermInfos index
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@595458 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 21:14:27 +00:00
Michael McCandless
c5c1913410
LUCENE-1050: detect errors on releasing the lock (if delete of the lock file fails)s
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@595448 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 20:42:54 +00:00
Michael McCandless
5992c5a1cf
LUCENE-1020: update CHANGES.txt for this issue
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@595444 13f79535-47bb-0310-9956-ffa450edef68
2007-11-15 20:32:13 +00:00
Michael Busch
bb37d2bcff
LUCENE-1051: Generate separate javadocs for core, demo and contrib classes, as well as an unified view.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@595013 13f79535-47bb-0310-9956-ffa450edef68
2007-11-14 19:16:19 +00:00
Michael McCandless
439ba586fc
LUCENE-1044: add doSync option to FSDirectory.getDirectory, defaulting to true, to sync() each file descriptor before close()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593799 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 17:51:00 +00:00
Michael McCandless
f69f98c0e4
LUCENE-1048: fix Lock.obtain(...) to work properly on very large timeouts, eg Long.MAX_VALUE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593774 13f79535-47bb-0310-9956-ffa450edef68
2007-11-10 13:43:18 +00:00
Michael McCandless
a98a30818f
LUCENE-1043: speed up merging of stored fields by bulk-copying bytes for contiguous range of non-deleted docs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593131 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 11:07:04 +00:00
Michael McCandless
658aebd28a
LUCENE-847: woops, I forgot to add an entry to CHANGES.txt for this rather large change!
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@593117 13f79535-47bb-0310-9956-ffa450edef68
2007-11-08 10:28:23 +00:00
Michael McCandless
dc79f47688
fix typos in CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@592487 13f79535-47bb-0310-9956-ffa450edef68
2007-11-06 16:58:19 +00:00
Grant Ingersoll
413c92f178
LUCENE-1038: Sets the document number of the term vector being mapped.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@591620 13f79535-47bb-0310-9956-ffa450edef68
2007-11-03 13:41:46 +00:00
Michael Busch
8508386bcb
LUCENE-935: Defined property "m2.repository.url" to allow setting the url to a maven remote repository to deploy to.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@590873 13f79535-47bb-0310-9956-ffa450edef68
2007-11-01 01:26:43 +00:00
Grant Ingersoll
7012f67027
LUCENE-1015: Added support for caching longs and doubles in a new interface, ExtendedFieldCache and *Impl. Added support into the various sorting fields. Put in some testing for it.
...
Removed the author tag in NumberTools.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@590530 13f79535-47bb-0310-9956-ffa450edef68
2007-10-31 01:28:25 +00:00
Doron Cohen
1df7007219
LUCENE-1028: Fixed Weight serialization for few queries.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@587050 13f79535-47bb-0310-9956-ffa450edef68
2007-10-22 09:58:48 +00:00
Michael McCandless
a4dcb122be
LUCENE-1031: fix a bunch of mis-spellings in CHANGES.txt
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@586410 13f79535-47bb-0310-9956-ffa450edef68
2007-10-19 13:01:38 +00:00
Michael McCandless
065553bd20
LUCENE-1013: fix IndexWriter.setMaxMergeDocs(N) to work out-of-the-box again
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@582384 13f79535-47bb-0310-9956-ffa450edef68
2007-10-05 20:51:53 +00:00
Michael McCandless
f19266575e
LUCENE-1011: 'get multiple writers over NFS' to work even when NFS client dir listing cache can be stale
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@581625 13f79535-47bb-0310-9956-ffa450edef68
2007-10-03 15:24:12 +00:00
Michael McCandless
54729a50b6
LUCENE-1007: allow flushing by ram, doc count, or both (whichever comes first) in IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@581353 13f79535-47bb-0310-9956-ffa450edef68
2007-10-02 19:15:43 +00:00
Michael McCandless
8df6312a30
LUCENE-1009: Fix merge slowdown with LogByteSizeMergePolicy when autoCommit=false and documents are using stored fields and/or term vectors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@580646 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 21:22:35 +00:00
Michael McCandless
8315089cdd
LUCENE-1010: fix corruption case, hit during merge, case when docs with and without term-vectors are mixed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@580643 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 21:11:57 +00:00
Yonik Seeley
16342bedb9
qp accept empty string: LUCENE-1006
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@580584 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 14:10:56 +00:00
Michael McCandless
014f23033f
LUCENE-1008: fix corruption case when document has no term vector fields after other docs with term vector fields were added
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@580578 13f79535-47bb-0310-9956-ffa450edef68
2007-09-29 12:52:45 +00:00
Michael McCandless
a28eb4d978
LUCENE-994: change defaults in IndexWriter to maximize 'out of the box' indexing speed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@579360 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 20:02:07 +00:00
Michael Busch
68aa146535
LUCENE-986: Refactored SegmentInfos from IndexReader into the new subclass DirectoryIndexReader.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@577596 13f79535-47bb-0310-9956-ffa450edef68
2007-09-20 07:27:07 +00:00
Michael McCandless
e7179ea866
LUCENE-992: move buffered deletes into DocumentsWriter so IndexWriter.updateDocument is atomic
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@574260 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 14:33:51 +00:00
Grant Ingersoll
bd493d6c80
minor formatting change to #13
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@574229 13f79535-47bb-0310-9956-ffa450edef68
2007-09-10 12:51:29 +00:00
Grant Ingersoll
bce939dcb2
LUCENE-991: Fixed explain() method reporting issues when no payloads present.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@573881 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 16:57:28 +00:00
Grant Ingersoll
a30a6e44d8
Added apply-patch target
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@568965 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 13:17:49 +00:00
Michael Busch
9c2a036db3
- LUCENE-908: Improvements and simplifications for how the MANIFEST file and the META-INF dir are created.
...
- LUCENE-935: Various improvements for the maven artifacts. Now the artifacts also include the sources as .jar files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@568766 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 23:16:48 +00:00
Michael McCandless
27c4c6a3b1
LUCENE-985: throw clearer exception when term is too long (> 16383 chars)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@567338 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 23:15:14 +00:00
Michael McCandless
c1a76d9dbe
LUCENE-978: ensure all streams are closed when we hit exception in constructor
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@567253 13f79535-47bb-0310-9956-ffa450edef68
2007-08-18 09:42:21 +00:00
Michael McCandless
06d4849ca8
LUCENE-871: speedups for ISOLatin1AccentFilter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@567085 13f79535-47bb-0310-9956-ffa450edef68
2007-08-17 16:58:36 +00:00
Grant Ingersoll
f38b1cf2f8
LUCENE-975: New PositionBasedTermVectorMapper for getting term vector information on a position by position basis.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@565994 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 01:14:54 +00:00