Commit Graph

262 Commits

Author SHA1 Message Date
Doron Cohen ab763bbdae contrib.benhmark.byTask javadocs corrections
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@517566 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 06:54:03 +00:00
Otis Gospodnetic 1a48e218d6 - Committing forgotten classes for LUCENE-759
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@517477 13f79535-47bb-0310-9956-ffa450edef68
2007-03-13 00:30:13 +00:00
Grant Ingersoll f4490ac789 LUCENE 791, INFRA-1173:
Migrated references from Jakarta Lucene Wiki to Lucene Java Wiki

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@516586 13f79535-47bb-0310-9956-ffa450edef68
2007-03-09 22:29:00 +00:00
Erik Hatcher b972b13174 convert interfaces to public visibility that already should have had it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@515431 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 02:39:24 +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
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
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 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
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
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
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
Otis Gospodnetic 8cafdd9b64 - Removed isEmpty() Java 6 method, so Andrzej can compile Luke
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@496628 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 09:07:01 +00:00
Otis Gospodnetic 74e68c9287 - Removed extra ;
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@496283 13f79535-47bb-0310-9956-ffa450edef68
2007-01-15 11:45:04 +00:00
Grant Ingersoll db238e787f Lucene 675: Initial commit of Doron Cohen's byTask benchmarking contribution. Thanks Doron!
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@495834 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 04:08:23 +00:00
Mark Harwood 18ece160e3 Fix to apply any custom boost setting when the Query is rewritten
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@492830 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 00:18:32 +00:00
Mark Harwood 998908257b Added new "CachedFilter" feature to XML syntax enabling any queries or filters to be cached for better repeat performance. Added JUnit test and example XML file. Also fixed ClassCastException in DOMUtils which occured when getAttributeWithInheritance reached the root of a document without finding the required attribute.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@492823 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 00:05:17 +00:00
Grant Ingersoll 8cffe45c2a replaced string concatenation with chained appends
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@492383 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 02:17:58 +00:00
Daniel Naber 67399fdd8d ingore case in the names of commands (Search == search etc.)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@490513 13f79535-47bb-0310-9956-ffa450edef68
2006-12-27 15:22:22 +00:00
Otis Gospodnetic 2cf113a022 - Javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489847 13f79535-47bb-0310-9956-ffa450edef68
2006-12-23 03:36:34 +00:00
Otis Gospodnetic 8b7f6e4ef6 - LUCENE-759: New n-gram-capable tokenizers and their unit tests.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489802 13f79535-47bb-0310-9956-ffa450edef68
2006-12-22 23:43:17 +00:00
Otis Gospodnetic 17315a9be7 - LUCENE-741: command-line utility for modifying or removing field norms
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@489213 13f79535-47bb-0310-9956-ffa450edef68
2006-12-20 22:32:13 +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
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
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
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
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
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
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
Wolfgang Hoschek 8dc26ad30e javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479895 13f79535-47bb-0310-9956-ffa450edef68
2006-11-28 04:36:41 +00:00
Wolfgang Hoschek 64d4421321 cosmetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479755 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 20:36:29 +00:00
Wolfgang Hoschek 06b36cb004 For repeatable exceptions, store into cache only if child.tokenStream(fieldName, reader) does not throw an exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479754 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 20:34:45 +00:00
Wolfgang Hoschek deb74c1dfb javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479751 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 20:30:52 +00:00
Wolfgang Hoschek 8ab762aef2 Reverting back because of:
"Actually, now I'm considering reverting back to the version without a public clear() method. The rationale is that this would be less complex and more consistent with the AnalyzerUtil design (simple methods generating simple anonymous analyzer wrappers). If desired, you can still (re)use a single static "child" analyzer instance. It's cheap and easy to create a new caching analyzer on top of the static analyzer, and to do so before each document. The old one will simply be gc'd."


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479749 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 20:25:32 +00:00
Wolfgang Hoschek ad49369d3d added clear() method to TokenCachingAnalyzer, changed anonymous class to public class
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@479699 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 17:37:26 +00:00
Wolfgang Hoschek f76157f560 javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@478407 13f79535-47bb-0310-9956-ffa450edef68
2006-11-23 00:27:36 +00:00