Yonik Seeley
65c9c90703
site update for Lucene 2.1
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@508904 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 14:24:11 +00:00
Doron Cohen
cb2f8390b2
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@508359 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 10:00:55 +00:00
Yonik Seeley
070ed839b2
add getFilter to ConstantScoreQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@507374 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 03:12:50 +00:00
Grant Ingersoll
09930c9349
LUCENE-799: Added support for Lazy compressed string fields. Thanks to Mike Klaas.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@507009 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 14:06:52 +00:00
Michael McCandless
95bab8401f
LUCENE-565: merge NewIndexModifier back into IndexWriter
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@506964 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 10:43:08 +00:00
Grant Ingersoll
65d27c8d72
Lucene 762 - Applied original patch as I could not find a nice way to handle lazy fields as part of a readField() method on FieldSelectorResult per the suggestion on 762.
...
All tests pass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@505154 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 03:16:20 +00:00
Daniel Naber
edde3b691a
there was no test case for subSearcher() -> adding at least a simple one
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@505038 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 21:12:49 +00:00
Grant Ingersoll
df6894f7ad
Added link to my FOAF page on people.a.o
...
See http://people.apache.org/foaf/index.html for info on adding a FOAF
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@504631 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 17:41:47 +00:00
Daniel Naber
55450e5b2c
LUCENE-795: deprecate Directory.renameFile()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@503911 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 22:49:42 +00:00
Michael McCandless
842995a83c
LUCENE-701: make IndexFileDeleter class package protected and final (was public unnecessarily)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@503293 13f79535-47bb-0310-9956-ffa450edef68
2007-02-03 19:45:35 +00:00
Doug Cutting
3e0bd9472d
Organize 'who we are' page to better match current active committers.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@502786 13f79535-47bb-0310-9956-ffa450edef68
2007-02-02 23:08:52 +00:00
Michael Busch
e5a6d06899
added myself to the committer list on the "Who we are" page
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@502589 13f79535-47bb-0310-9956-ffa450edef68
2007-02-02 12:43:11 +00:00
Michael McCandless
7d583030ce
LUCENE-565: added NewIndexModifier (IndexWriter subclass) to more efficiently handle updating documents (delete then add)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@502191 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 10:55:12 +00:00
Michael McCandless
4e79f49f23
LUCENE-785: make RAMDirectory serializable again
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@500611 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 20:39:14 +00:00
Grant Ingersoll
ec0dc7b8f6
Updated Solr link per Solr graduation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@499208 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 01:28:53 +00:00
Daniel Naber
9a57076257
revert LUCENE-781 for now
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@499176 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 22:54:40 +00:00
Daniel Naber
fb60f574aa
LUCENE-781: fixed NPE in MultiReader.isCurrent() and getVersion()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@499152 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 22:01:05 +00:00
Michael McCandless
d8979209bc
LUCENE-773: fixed NPE caused by IndexWriter assuming LockFactory was non-null
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@499089 13f79535-47bb-0310-9956-ffa450edef68
2007-01-23 17:33:11 +00:00
Michael McCandless
3b13126bf5
LUCENE-780: add static Directory.copy() method to copy files from one Directory to another
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@498755 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 19:21:56 +00:00
Michael McCandless
02d6b05cd6
LUCENE-773: deprecate "create" argument to
...
FSDirectory.getDirectory(*); use IndexWriter's "create" argument
instead
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@497612 13f79535-47bb-0310-9956-ffa450edef68
2007-01-18 22:47:03 +00:00
Michael McCandless
30083146b4
LUCENE-756: small improvement to not rely on IO operation (fileExists)
...
to check whether a "single norm file" is in use for the segment.
Instead, save this information per segment explicitly into the segment
infos file. Also renamed to "singleNormFile".
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@496851 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 20:24:52 +00:00
Michael McCandless
ff86319f03
LUCENE-776: just clarifying comment on the private DIRECTORIES cache in FSDirectory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@496166 13f79535-47bb-0310-9956-ffa450edef68
2007-01-14 22:13:04 +00:00
Michael McCandless
9ae7389701
LUCENE-771:
...
* API change: change LockFactory.clearAllLocks() to
LockFactory.clearLock(String lockName) because locks are no longer
so "global". (This API is not released yet). Now FSDirectory
just clears specifically the write lock when create=true.
* Fix abstraction violation of LockFactory: FSDirectory now calls
clearLock() instead of doing File deletes itself (duh!).
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@495911 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 15:40:34 +00:00
Michael McCandless
0e556e399b
LUCENE-771:
...
* Default write lock location to the index directory and use the
name "write.lock" (without prefix).
* Make the LockFactory.clearAllLocks() method package protected.
* Remove LOCK_DIR and no-argument constructors for
SimpleFSLockFactory and NativeFSLockFactory (no more global lock
directory).
* Deprecate FSDirectory.LOCK_DIR
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@495760 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 22:09:45 +00:00
Otis Gospodnetic
7c241242f0
- Added more javadoc for NO_NORMS
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@495191 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 10:55:32 +00:00
Otis Gospodnetic
9b0986ae37
- Added isOptimized() to IndexReader
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@495190 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 10:53:25 +00:00
Otis Gospodnetic
da7c50925d
- Cosmetics
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@495186 13f79535-47bb-0310-9956-ffa450edef68
2007-01-11 10:51:19 +00:00
Michael McCandless
815f4f252e
LUCENE-140:
...
- Add 2 more checks on initializing SegmentReader that raise
IllegalStateException if corruption is detected. This would have
caught the second cause in LUCENE-140 (incorrectly re-using old
.del files) earlier.
- Fixed bugs in two unit tests that tripped up on these new checks.
- Fixed (tightened) one more boundary case (when lastDoc was 0) in
the pre-existing "docs out of order" check in SegmentMerger.java.
- Simplified the unit test I added to TestIndexReader to test this
issue.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494933 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 19:06:36 +00:00
Michael McCandless
91204f8d54
LUCENE-767: derive maxDoc from SegmentInfo.docCount instead of file length of fieldsReader's index file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494871 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 16:06:33 +00:00
Bernhard Messer
fe9c033464
remove "tvp" from INDEX_EXTENSIONS which not used at all.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494521 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 18:56:37 +00:00
Michael McCandless
853c03ac43
LUCENE-768: make sure IndexReader.close releases write lock even after hitting an exception in one of the methods that acquire the write lock
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494492 13f79535-47bb-0310-9956-ffa450edef68
2007-01-09 17:13:57 +00:00
Chris M. Hostetter
ceaa0c3091
LUCENE-732 - DateTools support for QueryParser, Resolution can be set on a per field basis
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494184 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 20:02:51 +00:00
Michael McCandless
dc20634a97
LUCENE-140: Add bounds checking to BitVector's get, set, clear methods
...
to prevent index corruption on calling IndexReader.deleteDocument(int
docNum) on a "slightly" out of bounds docNum. Other changes:
* In IndexReader.deleteDocument, set hasChanges to true before
calling doDelete in case an Exception is hit in doDelete.
* Changed the "docs out of order" check to be tighter (<= instead of
<) to catch boundary case that was missed.
* Fixed small unrelated javadoc typo.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@494136 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 18:11:08 +00:00
Yonik Seeley
0971e23550
norms test: LUCENE-756
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@493897 13f79535-47bb-0310-9956-ffa450edef68
2007-01-08 01:05:19 +00:00
Yonik Seeley
c9795dd56b
Maintain norms in a single file .nrm: LUCENE-756
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@493641 13f79535-47bb-0310-9956-ffa450edef68
2007-01-07 04:19:21 +00:00
Grant Ingersoll
f0b51f5e2b
Lucene.NET should be Lucene.Net
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@493285 13f79535-47bb-0310-9956-ffa450edef68
2007-01-06 03:38:44 +00:00
Grant Ingersoll
957be9a455
News item for LUCENE-493, announcing nightly source build availability. Also fixed a missing section tag in index.xml.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@492315 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 21:44:43 +00:00
Michael McCandless
c82b1703e3
LUCENE-764: add details to javadocs about temporary disk usage of IndexWriter optimize, addIndexes, addDocument methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@492300 13f79535-47bb-0310-9956-ffa450edef68
2007-01-03 20:59:01 +00:00
Michael McCandless
411575b600
LUCENE-758: fix javadocs to clarify that RAMDirectory(Directory) makes a full copy of the original Directory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@491574 13f79535-47bb-0310-9956-ffa450edef68
2007-01-01 14:06:26 +00:00
Grant Ingersoll
9814a94714
Added some info on what is in a release
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@491026 13f79535-47bb-0310-9956-ffa450edef68
2006-12-29 15:19:14 +00:00
Grant Ingersoll
ec9cbca90c
LUCENE-708: Added a news item announcing the new nightly build based structure of the website.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489780 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 22:13:20 +00:00
Grant Ingersoll
c778473589
Lucene 654 - Added GData
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489253 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 03:04:53 +00:00
Otis Gospodnetic
8e6c9a7f49
- ThreadLocals' remove() was added in Java 1.5, using set(null) instead
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489230 13f79535-47bb-0310-9956-ffa450edef68
2006-12-21 00:21:05 +00:00
Otis Gospodnetic
42592aeb49
- LUCENE-436: removed finalize() methods
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489183 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 19:45:40 +00:00
Yonik Seeley
f4b3239092
fix FieldCache holding hard ref to readers: LUCENE-754
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488908 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 03:47:09 +00:00
Michael McCandless
dc910bdc53
LUCENE-701: remove unnecessary and confusing extra line
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488854 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 23:41:22 +00:00
Yonik Seeley
30c8ce4f10
remove FSIndexOutput finalizer, move FSIndexInput finalizer to it's Descriptor: LUCENE-750
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488722 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 16:31:06 +00:00
Michael McCandless
19ba76b0d4
LUCENE-750: fix one case that was not closing an IndexOutput with a try/finally
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488716 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 16:17:35 +00:00
Michael McCandless
7c4b667f71
LUCENE-748: add javadoc around semantics of Exception during IndexWriter.close()
...
LUCENE-129: fix finalizers to always call super.finalize
LUCENE-301: add new constructors IndexWriter({String,File,Directory}, Analyzer) that create index if it's not already there, else append
LUCENE-701: found two cases of "open IndexWriter for create while reader is open, on Windows" that I didn't properly fix; added new test cases
LUCENE-702: corrected some small javadoc issues
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488640 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 11:31:27 +00:00
Michael McCandless
d6823ef374
LUCENE-702: make sure addIndexes(*) does not corrupt index on disk full; change to transactional semantics; fix IndexWriter.mergeSegments and IndexReader.commit to clean up (and leave instance consistent) on exception
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488330 13f79535-47bb-0310-9956-ffa450edef68
2006-12-18 16:45:29 +00:00
Yonik Seeley
f1467191f1
replace Vector with ArrayList, add clauses() to return that List of clauses: LUCENE-745
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487931 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 02:40:37 +00:00
Yonik Seeley
487fd6657c
fix confusing indentation
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487929 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 02:24:49 +00:00
Otis Gospodnetic
d0f24d87da
- Typo and tabs
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487922 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 00:10:40 +00:00
Grant Ingersoll
9b2405c0cc
Uses JUnit Task defined tempDir instead of system temp.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487878 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 20:38:44 +00:00
Grant Ingersoll
a4e0edd530
LUCENE-713. Updated fileformats.xml to include how position and offset info is stored in the TVF file.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487874 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 20:23:30 +00:00
Grant Ingersoll
16a578c21a
Hooked in link to Clover test code coverage reports, which will be generated by the nightly build once it goes live. Currently the webserver holds a snapshot of the reports as generated on 12-16-06. See issue 708.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487860 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 19:22:10 +00:00
Otis Gospodnetic
5b21cee1b0
- Fixed typo and unused import
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487514 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 10:49:21 +00:00
Yonik Seeley
86442612f3
SpanOrQuery simplification and test: LUCENE-742
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@486295 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 19:52:03 +00:00
Grant Ingersoll
15df97db57
LUCENE 744 - Appended user.name property onto the directory that gets created in temp so that there aren't naming clashes.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485988 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 02:44:42 +00:00
Yonik Seeley
10460b5e87
Performance improvement for SegmentMerger.mergeNorms: LUCENE-739
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485469 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 02:38:29 +00:00
Yonik Seeley
0d109d1485
read/write .del as d-gaps when the deleted bit vector is sufficiently sparse: LUCENE-738
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485463 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 02:03:38 +00:00
Grant Ingersoll
6ccabb7c8f
http://issues.apache.org/jira/browse/LUCENE-721 -- Added in Clover code coverage, thanks to Michael Busch.
...
Updated the xdocs with a new file named systemrequirements that details the system requirements for using Lucene. Linked to them via the developer-resources and the releases page. Regenerated the site.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485001 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 16:32:22 +00:00
Grant Ingersoll
e3f84c2a19
Fixed the trail (thanks Marvin) in skinconf and put in a temporary feather logo for the left image.
...
Added in developer-resources.xml that contains info on contributing, downloading nightly builds and getting code from SVN and added it under the resources section.
Fixed the news release item on the main page to be Nov. 26
Added in links to previous versions of site under the Site Versions so that we have links. These sites have been downloaded and are available on the website, just not linked to until now
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@481549 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 12:11:45 +00:00
Michael McCandless
2b39422870
LUCENE-669: don't double-close RandomAccessFile in finalize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480785 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 00:07:46 +00:00
Daniel Naber
16d9dc0f49
fix a typo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480706 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 20:22:11 +00:00
Grant Ingersoll
ae1b4dba98
Readded the lock-less commits documentation that was accidentally lost.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480702 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 20:10:44 +00:00
Michael McCandless
3ec7fb833f
LUCENE-727: adding unit test for MMapDirectory
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480163 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 19:27:58 +00:00
Yonik Seeley
5b7b831122
map *:* to MatchAllDocsQuery: LUCENE-723
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480150 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 18:29:28 +00:00
Yonik Seeley
42e2191b93
non-recursive MultiTermDocs.next,skipTo: LUCENE-729
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480147 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 18:17:56 +00:00
Grant Ingersoll
fa2be4c0d2
Updated the website to new Forrest based site, see Issue 707, part one of commits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479465 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 00:00:46 +00:00
Otis Gospodnetic
fe47121a67
- LUCENE-726: removed the use of a deprecated method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479458 13f79535-47bb-0310-9956-ffa450edef68
2006-11-26 23:40:18 +00:00
Otis Gospodnetic
694dceaa33
- Added the ASF License header
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479096 13f79535-47bb-0310-9956-ffa450edef68
2006-11-25 07:30:23 +00:00
Michael McCandless
a01711b245
LUCENE-720: added a few missing close's
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@478241 13f79535-47bb-0310-9956-ffa450edef68
2006-11-22 17:07:00 +00:00
Michael McCandless
19f90a38ee
LUCENE-720: fix two new unit tests (with lockless) to dynamically compute field number since this number can vary depending on JRE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@478239 13f79535-47bb-0310-9956-ffa450edef68
2006-11-22 17:01:31 +00:00
Yonik Seeley
9ba7a8e612
RAMDirectory.sizeInBytes, public flushRamSegments: LUCENE-709
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@478014 13f79535-47bb-0310-9956-ffa450edef68
2006-11-22 02:47:49 +00:00
Michael McCandless
e6f5697499
LUCENE-701: temporarily disable 2 unit tests until I can fix to pass cross-platform/JRE
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477637 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 11:49:44 +00:00
Erik Hatcher
c44be0c446
LUCENE-543: WildcardQuery without wildcarded term rewrites to a TermQuery
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477424 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 00:09:50 +00:00
Otis Gospodnetic
0568a30552
LUCENE-651: Fixed a race condition in initialization of FieldCache.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477084 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 07:10:04 +00:00
Yonik Seeley
a37adee24c
remove Java5 method call
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@477008 13f79535-47bb-0310-9956-ffa450edef68
2006-11-20 02:29:59 +00:00
Chris M. Hostetter
5569c9f610
minor change: clean up some tmp test index directories (only on successful completion of test method)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476972 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 23:14:31 +00:00
Yonik Seeley
f5661f7c58
unicode escapes for QueryParser: LUCENE-716
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476679 13f79535-47bb-0310-9956-ffa450edef68
2006-11-19 01:34:10 +00:00
Yonik Seeley
fd42f16265
backslash escapes within quotes: LUCENE-573
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476590 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 19:32:10 +00:00
Michael McCandless
4b9f177128
Lockless commits: LUCENE-701
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476422 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 02:55:14 +00:00
Michael McCandless
f09b8d311e
Lockless commits: LUCENE-701
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476383 13f79535-47bb-0310-9956-ffa450edef68
2006-11-18 00:11:59 +00:00
Michael McCandless
79bf43b2a4
Lockless commits: LUCENE-701
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476371 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 23:43:47 +00:00
Michael McCandless
9b7d1209ac
Lockless commits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476363 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 23:23:40 +00:00
Michael McCandless
d634ccf4e9
Lockless commits
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476359 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 23:18:47 +00:00
Michael McCandless
bd6f012511
make sure to release write lock in IndexWriter if we hit IOException during construction
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476345 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 22:34:17 +00:00
Michael McCandless
7e3c1bfb0d
Optimization: call System.arraycopy instead of manual for loop copying
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@476110 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 11:18:11 +00:00
Mark Harwood
bb00247904
QueryParser changed to default to use of ConstantScoreRangeQuery for range queries.
...
Added useOldRangeQuery property to QueryParser to allow selection of old RangeQuery class if required.
Updated Junit tests.
Updated javadocs for RangeQuery to reflect the new default behaviour in QueryParser
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@475435 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 21:26:09 +00:00
Yonik Seeley
7ca20ee19f
new ASF licenses header
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@472959 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 16:21:50 +00:00
Yonik Seeley
4a5ace9a4e
remove incorrect javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@470109 13f79535-47bb-0310-9956-ffa450edef68
2006-11-01 21:35:32 +00:00
Yonik Seeley
c0d330c041
Lazy skipping on proximity file: LUCENE-687
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@469289 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 22:00:31 +00:00
Yonik Seeley
eea8ea91b4
new test: LUCENE-695
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@469271 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 20:53:11 +00:00
Yonik Seeley
a20830e78f
new test: LUCENE-528
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@469269 13f79535-47bb-0310-9956-ffa450edef68
2006-10-30 20:52:24 +00:00
Chris M. Hostetter
1a5ac808c8
LUCENE-569: Fixed bug in ordered SpanNearQueries
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468554 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 22:03:53 +00:00
Otis Gospodnetic
7abe11514a
- LUCENE-489: Add support for leading wildcard characters to QueryParser.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468291 13f79535-47bb-0310-9956-ffa450edef68
2006-10-27 06:17:24 +00:00
Yonik Seeley
4dfdd6a0af
new IndexWriter.addIndexesNoOptimize(): LUCENE-528
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468177 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 22:47:15 +00:00
Yonik Seeley
19bf841c27
Improve BufferedIndexInput.readBytes() performance: LUCENE-695
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@468172 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 22:25:44 +00:00
Otis Gospodnetic
1eb10aba44
- LUCENE-657: Made FuzzyQuery non-final and the inner ScoreTerm class, protected.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467853 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 03:49:58 +00:00
Yonik Seeley
e1b804ff9a
added nested conjunction tests: LUCENE-693
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467843 13f79535-47bb-0310-9956-ffa450edef68
2006-10-26 02:51:25 +00:00
Yonik Seeley
7eca52679f
factor boost into hashCode and equals to pass generic tests: LUCENE-698
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467559 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 04:24:10 +00:00
Yonik Seeley
71c3f0332d
ensure Scorer.skipTo() is interchangeable with next(): LUCENE-696
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467558 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 04:20:34 +00:00
Yonik Seeley
bc23956ebb
ConjunctionScorer tests: LUCENE-693
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@467539 13f79535-47bb-0310-9956-ffa450edef68
2006-10-25 01:46:15 +00:00
Otis Gospodnetic
59d5576068
- Removed tabs and extra spaces
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@466016 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 07:09:06 +00:00
Yonik Seeley
d969f3ce2e
help TestThreadSafe fail faster
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465996 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 05:13:32 +00:00
Yonik Seeley
c270fa8a2f
test demonstrating problem cloning active IndexInput in LazyField: LUCENE-690
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465995 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 05:10:49 +00:00
Yonik Seeley
247a4e2f4c
unsafe use of IndexInput.clone(): LUCENE-690
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465958 13f79535-47bb-0310-9956-ffa450edef68
2006-10-20 03:08:02 +00:00
Yonik Seeley
936b7ba82a
fix sharing of native locks by diff dirs: LUCENE-678
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465882 13f79535-47bb-0310-9956-ffa450edef68
2006-10-19 21:03:22 +00:00
Yonik Seeley
901c8c379c
DisjunctionSumScorer performance improvement: LUCENE-365
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465114 13f79535-47bb-0310-9956-ffa450edef68
2006-10-18 00:56:08 +00:00
Otis Gospodnetic
b75358ebc9
- LUCENE-544 - allow per-field boosts to be specified.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465081 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 22:26:57 +00:00
Yonik Seeley
3c35b82cb0
ConjunctionScorer performance increase: LUCENE-443
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@465043 13f79535-47bb-0310-9956-ffa450edef68
2006-10-17 20:50:52 +00:00
Yonik Seeley
70472ad2cd
NativeFSLockFactory: LUCENE-678
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464611 13f79535-47bb-0310-9956-ffa450edef68
2006-10-16 18:28:02 +00:00
Yonik Seeley
cb4f27f25f
data corruption reading lazy loaded fields: LUCENE-683
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464313 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 22:37:52 +00:00
Daniel Naber
32b1946cc1
LUCENE-684: improve javadoc of deleDocuments(Term), thanks to Paul Elschot
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@464201 13f79535-47bb-0310-9956-ffa450edef68
2006-10-15 14:22:51 +00:00
Grant Ingersoll
1fad6b0052
Added javadocs for FieldSelectorResult.java
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@454769 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 15:02:29 +00:00
Grant Ingersoll
75f561901e
Updated scoring information to only have one copy of the Scoring Formula. Implemented Doron Cohen's new scoring formula description in the javadoc.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@454767 13f79535-47bb-0310-9956-ffa450edef68
2006-10-10 14:57:25 +00:00
Yonik Seeley
0d4e1b171d
remove LazyField.chars to reduce memory consumption
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@454434 13f79535-47bb-0310-9956-ffa450edef68
2006-10-09 17:26:49 +00:00
Yonik Seeley
efab233ed8
new PrefixFilter from Solr: LUCENE-676
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@453381 13f79535-47bb-0310-9956-ffa450edef68
2006-10-05 21:10:30 +00:00
Otis Gospodnetic
7456fdc365
- Small wording changes to make javadoc a bit easier to understand
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@448454 13f79535-47bb-0310-9956-ffa450edef68
2006-09-21 04:07:41 +00:00
Yonik Seeley
b1322d5acd
retain zero size segments resulting from a merge: LUCENE-672
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@447570 13f79535-47bb-0310-9956-ffa450edef68
2006-09-18 21:26:02 +00:00
Yonik Seeley
4465baafa5
new segment merging policy: LUCENE-672
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@443434 13f79535-47bb-0310-9956-ffa450edef68
2006-09-14 18:31:21 +00:00
Grant Ingersoll
d0b971a021
Updated scoring.xml per suggestions by Doug and Chris on issue 664. Moved the Query information and Similarity info to the o.a.l.s package.html in the Javadocs and provided links to the javadocs from the scoring file.
...
Added scoring.html into the project.xml so that it will now be live on the Lucene java site.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@442406 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 01:05:20 +00:00
Yonik Seeley
d0f5077d27
remove accidentally added file
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@438135 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 18:01:27 +00:00
Yonik Seeley
82d2306b41
remove accidentally added files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437905 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:39:08 +00:00
Yonik Seeley
f0375e3f82
remove accidentally added files
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437904 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:38:20 +00:00
Yonik Seeley
254945aa32
Decouple locking from Directory: LUCENE-635
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437897 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:13:10 +00:00
Grant Ingersoll
8456ba93f8
Changed explain method to use TermDocs.skipTo instead of looping.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433081 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 23:11:00 +00:00
Chris M. Hostetter
9763d03f48
LUCENE-650: Fixed NPE in Locale specific String Sort when Document has no value
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433049 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 21:17:59 +00:00
Grant Ingersoll
d4cc53d466
Initial check in of TestTermScorer. All test methods should pass.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432734 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 21:32:37 +00:00
Yonik Seeley
abb1bfc290
move singleDocSegmentsCount maintinence to mergeSegments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432580 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 13:33:16 +00:00
Yonik Seeley
fa293670a1
fix getPositionIncrement: LUCENE-659
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432443 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 00:16:42 +00:00
Yonik Seeley
8e3608845d
keep track of number of buffered documents: LUCENE-388
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432125 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 02:52:21 +00:00
Daniel Naber
7a90732466
don't use deprecated method (thanks to Simon Willnauer)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431976 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 18:31:36 +00:00
Otis Gospodnetic
f7849f1469
- Undid LUCENE-388, as it turned out it caused problems
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431303 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 06:58:42 +00:00
Otis Gospodnetic
c5d950da35
- LUCENE-388: optimize maybeMergeSegments() to speed up indexing.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431153 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 08:20:13 +00:00
Otis Gospodnetic
a9691a40e8
- Modified some CJK Unicode code point ranges in StandardTokenizer.jj,
...
and added a few more of them to increase CJK character coverage.
Also documented some of the ranges.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431152 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 07:47:34 +00:00
Otis Gospodnetic
5705f8dfd2
- LUCENE-478: Updated Unicode code point ranges for CJK
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431151 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 07:02:26 +00:00
Otis Gospodnetic
1a933665d6
- LUCENE-629: indexing and optimizing performance improvements when working with compressed fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431148 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 06:12:07 +00:00
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
Daniel Naber
cb5f472525
improve the exception messages and init the cause
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@405852 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 20:12:59 +00:00
Otis Gospodnetic
67f3d7f262
- Made class non-public. http://issues.apache.org/jira/browse/LUCENE-564
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@405824 13f79535-47bb-0310-9956-ffa450edef68
2006-05-12 18:29:51 +00:00
Daniel Naber
d8d159da77
fix links in javadoc (LUCENE-563); clean up import statements
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@400187 13f79535-47bb-0310-9956-ffa450edef68
2006-05-05 21:47:58 +00:00
Otis Gospodnetic
5deeaa3f10
- Added testQueryStringEscaping() to test QueryParser.escape(String) method
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@399452 13f79535-47bb-0310-9956-ffa450edef68
2006-05-03 22:02:15 +00:00
Daniel Naber
0e71a40936
trivial javadoc typo fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@396146 13f79535-47bb-0310-9956-ffa450edef68
2006-04-22 18:39:42 +00:00
Daniel Naber
2ef9c7e5fc
trivial javadoc fix
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@396011 13f79535-47bb-0310-9956-ffa450edef68
2006-04-21 21:42:56 +00:00
Daniel Naber
0065df6858
fix typo in javadoc
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@393166 13f79535-47bb-0310-9956-ffa450edef68
2006-04-11 09:40:58 +00:00
Daniel Naber
891b25d92c
slightly improve javadoc of toString(String)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@392961 13f79535-47bb-0310-9956-ffa450edef68
2006-04-10 14:39:40 +00:00
Yonik Seeley
d214dd8cd1
LUCENE-512: Fixed ClassCastException in ParallelReader.getTermFreqVectors
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@392017 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 17:25:02 +00:00
Yonik Seeley
fc0d666c81
added getTermArrays() and extractTerms() to MultiPhraseQuery: LUCENE-514
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@392016 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 17:12:44 +00:00
Yonik Seeley
901d7ca635
added missing extractTerms() to DisjunctionMaxQuery: LUCENE-541
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391897 13f79535-47bb-0310-9956-ffa450edef68
2006-04-06 04:16:36 +00:00