Commit Graph

2625 Commits

Author SHA1 Message Date
Michael McCandless 1d1e44681e LUCENE-823: add unit test coverage to assert that when a MockRAMDirectory is closed, there are no open files; fixed 2 minor cases this check uncovered
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515316 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 21:40:55 +00:00
Michael McCandless 2380a957ef Fixing backwards compatibility unit test to make its test dirs under tempDir
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515249 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 18:52:32 +00:00
Grant Ingersoll 83efa50f5e https://issues.apache.org/jira/browse/LUCENE-822
Applied Mark Miller's patch.  Added Unit tests to TestRemoteSearchable and TestMultiSearcher.  To get RemoteSearchable to work, had to make FieldSelector and FieldSelectorResult serializable.

All tests pass.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@514675 13f79535-47bb-0310-9956-ffa450edef68
2007-03-05 14:28:01 +00:00
Michael McCandless 4081e733b1 LUCENE-820: improve MockRAMDirectory to mimic Windows (can't delete open files); added test case for this bug (this root cause of this bug was already fixed by the fix to LUCENE-821)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@514370 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 08:25:31 +00:00
Yonik Seeley e6a9d9b318 only open .nrm file once: LUCENE-821
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@514344 13f79535-47bb-0310-9956-ffa450edef68
2007-03-04 03:23:00 +00:00
Otis Gospodnetic d7e203c8b4 - LUCENE-786: Javadoc improvements from Karl Wettin and an extra searcher.close() from me
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513878 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 18:28:55 +00:00
Otis Gospodnetic 534be1599d - LUCENE-759: Two n-gram producting TokenFilters (using them for the spellchecker in SOLR-81)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513876 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 18:19:53 +00:00
Otis Gospodnetic 6636d88def - 2-char indentation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513866 13f79535-47bb-0310-9956-ffa450edef68
2007-03-02 17:54:27 +00:00
Yonik Seeley 1c3ec1d1d2 clarify Term javadoc: field shouldn't be null either
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513547 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 23:10:51 +00:00
Otis Gospodnetic 7b570fc8b2 - LUCENE-759: Made the tokenizer capable of creating n-grams of a varying sizes - from min to max characters per n-gram. Patch from Adam Hiatt.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513344 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 14:22:57 +00:00
Otis Gospodnetic 53e4c9dc02 - Wrapped looong liiines
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513258 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 10:21:16 +00:00
Yonik Seeley 1e1f9bddb1 clarify null term text
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@513142 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 05:03:45 +00:00
Michael McCandless 66d4eb336f LUCENE-812: make sure Native/SimpleFSLockFactory can be set via system property
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@512493 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 23:33:31 +00:00
Doron Cohen 178500b09c LUCENE-813: Leading wildcard fixed to work with trailing wildcard
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@512371 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 19:26:57 +00:00
Michael McCandless 330aa3063e LUCENE-771: fixing the description of the naming of the write lock in the file format doc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@512329 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 17:26:58 +00:00
Michael McCandless 1486b19a4f LUCENE-811: make SegmentInfos class package-private again
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@511384 13f79535-47bb-0310-9956-ffa450edef68
2007-02-25 00:43:45 +00:00
Doron Cohen 64449841ed LUCENE-804: fix build.xml to pack a compilable src_dist
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@510711 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 23:45:34 +00:00
Michael McCandless 4541271b9d LUCENE-793: added 3 new exceptions (subclasses of IOException) to better call out possible root causes of an IOException
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@510176 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 20:01:36 +00:00
Doron Cohen 5ff29d2bef clean IndexWriter unused code: Unused private constructor; Unused imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@509924 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 07:22:13 +00:00
Doron Cohen ff786381b1 search package javadoc fix: Content line; Typo; Update WildCardQuery info with QueryParser.setAllowLeadingWildcard
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@509866 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 02:18:19 +00:00
Daniel Naber 45bf72b22b tiny typo fix in javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@509741 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 20:49:07 +00:00
Grant Ingersoll ef5176288f Fixed the bad link to clover tests in developer-resources.xml.
Added ApacheCon news items to index.xml and updated the site.  

I believe the changes to the skin/images are do to me putting in the SVN eol configuration per Yonik's suggestion on the mailing list.  As far as I can tell, the images still look correct.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@508992 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 20:50:36 +00:00
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
Yonik Seeley 2f91112023 set svn eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@508707 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 04:10:49 +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 4cb0175dd7 update version
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@507636 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 17:37:06 +00:00
Yonik Seeley 3a7486b054 starting 2.1 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@507610 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 16:37:32 +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 ee12ced8e7 LUCENE-801: build lucene core and demo first, change classpath to use the build classes instead of the jar
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@507260 13f79535-47bb-0310-9956-ffa450edef68
2007-02-13 22:17:24 +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 13eaccfd56 Lucene 790
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@506441 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 13:32:20 +00:00
Grant Ingersoll bb66099414 Applied 788 and 790 from Doron Cohen. Ran both the micro-standard and the task runs and results look reasonable.
Thanks, Doron

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@506093 13f79535-47bb-0310-9956-ffa450edef68
2007-02-11 18:59:22 +00:00
Grant Ingersoll 881ab33b81 Forgot changes.txt updates for 762
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@506083 13f79535-47bb-0310-9956-ffa450edef68
2007-02-11 18:12:17 +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
Wolfgang Hoschek 0695150949 javadoc cosmetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@504229 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 18:09:19 +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
Mark Harwood 0149b5f82f Changes to improve server-side speed and thread safety by caching reusable, compiled stylesheets.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@503500 13f79535-47bb-0310-9956-ffa450edef68
2007-02-04 22:51:28 +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
Mark Harwood 387d95417b Added missing Apache license comments - thanks for the reminder, Otis.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@500417 13f79535-47bb-0310-9956-ffa450edef68
2007-01-26 23:51:38 +00:00
Mark Harwood c02aed3b5e Added QueryTemplateManager.java to aid construction of XML queries from form input by using XSL templates. A Junit test provides examples of use. This approach offers a convenient way of externalizing and changing how user input is turned into Lucene queries. Database applications often adopt similar practices by externalizing SQL in template files that can be easily changed/optimized by a DBA.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@500053 13f79535-47bb-0310-9956-ffa450edef68
2007-01-25 23:31:02 +00:00
Mark Harwood 9251a63e01 Fixed bug when BooleanFilter class is used in conjunction with cached filters - the anding of filters' bitsets was changing the original rather than taking a copy of the contents. Changed to use BitSet.clone before performing any destructive operation
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@499592 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 22:19:05 +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