Commit Graph

2376 Commits

Author SHA1 Message Date
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
Grant Ingersoll 0d8f7b704a Mapped java.io.tmpdir to the same value as tempDir.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@488004 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 16:45:53 +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
Grant Ingersoll 24a33435fc http://issues.apache.org/jira/browse/LUCENE-747 fixed per patch from Simon Willnauer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487369 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 22:02:03 +00:00
Simon Willnauer 550b50fdd8 redefined compile-core and compile-test to exclude db4o dependend classes if db4o jar is not present
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487315 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 19:26:27 +00:00
Simon Willnauer fb0c30d061 defined default task to use inherit ant tasks in sub folders
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@487313 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 19:25:43 +00:00
Simon Willnauer ad3ccde3a0 fixed some path errors due to the new structure
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@486811 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 19:36:49 +00:00
Simon Willnauer 4374e2e88a created internal "subproject" structure to reuse the common-build.xml ant tasks
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@486798 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 19:04:23 +00:00
Simon Willnauer 5aabf7a0b9 Fixed compile error in GDataIndexWriterTest as IndexWriter has not commitTimeout setter anymore.
Fixed misspelled path in gom-build.xml


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@486631 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 12:55:43 +00:00
Simon Willnauer d775297874 modifications added to changes.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@486629 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 12:46:13 +00:00
Simon Willnauer 4711af4ef3 Removed unneccessary UML metadata
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@486628 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 12:41:32 +00:00
Simon Willnauer 3bd4a16711 Initial Revision GData Object Model
GOM is a GData object representation for render, parse and manipulate GData Feeds (RSS/ATOM)

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@486627 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 12:39:54 +00:00
Simon Willnauer 9cc3210dd0 deleted hivemind related test from core test folder.
This source has been copied/moved to ./src/hivemind/test

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@486625 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 12:37:16 +00:00
Simon Willnauer e3e2ed3801 Applied new structure of the gdata-server project.
All source and test-sources are located under the ./src/ folder.
Created GData Object Model (GOM) folder ./src/gom, Core-Folder ./src/core and ./src/hivemind
Sources and Tests now splitted into their "sub" projects.

Fixed compile error in GDataIndexWriter as IndexWriter has not commitTimeout setter anymore.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@486622 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 12:32:08 +00:00
Michael McCandless 59afa74fb1 LUCENE-738: regenerating web site docs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@486579 13f79535-47bb-0310-9956-ffa450edef68
2006-12-13 10:08:28 +00:00
Grant Ingersoll 277ac026f5 Set the source to be the ${ant.java.version}
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@486307 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 20:56:44 +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 f9cc865eac Added in Benchmark javadocs to the contrib section
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@486139 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 13:44:09 +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
Otis Gospodnetic 00250552f8 - Cosmetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485884 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 21:42:32 +00:00
Michael McCandless f4d9f44828 LUCENE-669: I forgot attribution to Michael Busch for this (thanks Michael!)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@485686 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 15:01:07 +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 c67444564a 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@485012 13f79535-47bb-0310-9956-ffa450edef68
2006-12-09 17:27:13 +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
Otis Gospodnetic 65cd9b86bf - Reindented
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@483579 13f79535-47bb-0310-9956-ffa450edef68
2006-12-07 18:07:09 +00:00
Grant Ingersoll e47e6bd920 git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@481552 13f79535-47bb-0310-9956-ffa450edef68 2006-12-02 12:27:27 +00:00
Grant Ingersoll 683d60447c 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@481550 13f79535-47bb-0310-9956-ffa450edef68
2006-12-02 12:24:55 +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
Otis Gospodnetic e58c3c3b4a - Removed empty lib directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480866 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 07:29:03 +00:00
Andreas Vajda 63d2e582ad added support for Berkeley DB 4.5.20
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480800 13f79535-47bb-0310-9956-ffa450edef68
2006-11-30 01:28:11 +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 0a69bdfe93 Readded the lock-less commits documentation that was accidentally lost.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480704 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 20:11:38 +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
Wolfgang Hoschek f620d56554 find/replace tab --> space
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480343 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 02:35:43 +00:00
Wolfgang Hoschek 06a9b2e22a better estimation of memory consumption
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480339 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 02:29:19 +00:00
Michael McCandless 989b1cb981 LUCENE-672: added description of the 'under-merging' bug that was also fixed with this change
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480238 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 22:20:24 +00:00
Otis Gospodnetic 57ce49d49a - LUCENE-728: Removed duplicate/old MoreLikeThis and SimilarityQueries classes,
as their new home is under contrib/queries.
  This means contrib/similarity is not completely empty.  I am leaving it in SVN
  for now, as it seems like it could be a nice warm home for custom Similarity
  implementations.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480200 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 20:46:42 +00:00
Otis Gospodnetic 338991bd51 - LUCENE-717: Avoid build failure when (unused) lib directory does not exist
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@480191 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 20:33:00 +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