Commit Graph

167 Commits

Author SHA1 Message Date
Yonik Seeley 729ae8f039 gdata update
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@425563 13f79535-47bb-0310-9956-ffa450edef68
2006-07-26 00:20:00 +00:00
Yonik Seeley 5e61ac9bf1 gdata update
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@425538 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 22:23:01 +00:00
Otis Gospodnetic 895f763d21 - Renamed some variables and made minScore private
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@424239 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 09:10:52 +00:00
Otis Gospodnetic c0128f900b - Removed a useless tearDown()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@424232 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 08:39:32 +00:00
Otis Gospodnetic 8723cd5585 - Moved IndexSearcher creation to setSpellIndex(Dictionary) method,
so IndexSearcher is not opened/closed for every suggestion
- Fixed typo in method name: setAccuraty -> setAccuracy
- Cosmetics, comments and other cleanups



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@424230 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 08:39:02 +00:00
Otis Gospodnetic 9bc6ba0863 - Cosmetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@424229 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 08:36:29 +00:00
Otis Gospodnetic de09962750 - Reformatted
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@424183 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 05:14:59 +00:00
Mark Harwood 482ad148f9 Added Yonik's patch for overlapping token support See http://issues.apache.org/jira/browse/LUCENE-627?page=comments#action_12421332
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@422302 13f79535-47bb-0310-9956-ffa450edef68
2006-07-15 22:20:29 +00:00
Mark Harwood 5f7214b023 Added Yonik's patch to deal with overlapping tokens - see http://issues.apache.org/jira/browse/LUCENE-627?page=comments#action_12421332
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@422301 13f79535-47bb-0310-9956-ffa450edef68
2006-07-15 22:19:51 +00:00
Mark Harwood 69299c5663 Exposed support for stop words facility through LikeThisQueryBuilder and updated example LikeThisQuery.xml to illustrate usage
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@421413 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 21:09:15 +00:00
Mark Harwood 72af4e813d Exposed underlying support for stop words in the MoreLikeThis class
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@421411 13f79535-47bb-0310-9956-ffa450edef68
2006-07-12 21:02:49 +00:00
Otis Gospodnetic ddae8f0c57 - LUCENE-593, inner Iterator fixed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@418368 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 20:14:48 +00:00
Chris M. Hostetter d13def5f21 patch_29_06_06.diff from LUCENE-620
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@418363 13f79535-47bb-0310-9956-ffa450edef68
2006-06-30 19:31:32 +00:00
Mark Harwood b2dd60bd4b Added new TermsQueryBuilder to simply build boolean queries from text without having concern over clashing reserved words/special characters/legal syntax that is demanded by normal query parser syntax. Added new xml attributes to BooleanQueryBuilder to control disableCoord and minimumNumberShouldMatch.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@417593 13f79535-47bb-0310-9956-ffa450edef68
2006-06-27 21:56:47 +00:00
Chris M. Hostetter 0e23b32894 LUCENE-618: commiting GData server patch 27.06.06.diff
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@417565 13f79535-47bb-0310-9956-ffa450edef68
2006-06-27 19:31:20 +00:00
Yonik Seeley 4707eea96c gdata dev update from Simon 2006-06-06
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@417265 13f79535-47bb-0310-9956-ffa450edef68
2006-06-26 18:14:53 +00:00
Otis Gospodnetic a7151c0767 - LUCENE-593 partial fix (field name interned)
- Made vars and LuceneIterator ctor private
- Fixed comments


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415097 13f79535-47bb-0310-9956-ffa450edef68
2006-06-18 05:47:26 +00:00
Otis Gospodnetic 7bbc7b1544 - Cosmetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@415093 13f79535-47bb-0310-9956-ffa450edef68
2006-06-18 05:32:54 +00:00
Otis Gospodnetic 924914d82b - Removed Jakarta reference
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@414743 13f79535-47bb-0310-9956-ffa450edef68
2006-06-16 05:29:53 +00:00
Mark Harwood e4ffe0679e Added optimization to ignore duplicate terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413732 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 19:38:36 +00:00
Otis Gospodnetic f0bfc02d4d - perl -pi -e 's/\t/ /g'
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@413584 13f79535-47bb-0310-9956-ffa450edef68
2006-06-12 05:46:16 +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
Doug Cutting 631585bf5a LUCENE-578. First version of gdata-server. Contributed by Simon Willnauer.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@412574 13f79535-47bb-0310-9956-ffa450edef68
2006-06-07 21:56:25 +00:00
Chris M. Hostetter 2123b476df LUCENE-503: New ThaiAnalyzer and ThaiWordFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@411863 13f79535-47bb-0310-9956-ffa450edef68
2006-06-05 17:29:01 +00:00
Yonik Seeley 3afc9192b9 SpellChecker min score is incorrectly changed by suggestSimilar: LUCENE-575
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@410971 13f79535-47bb-0310-9956-ffa450edef68
2006-06-01 21:36:13 +00:00
Mark Harwood 1ef156da34 git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409994 13f79535-47bb-0310-9956-ffa450edef68 2006-05-28 20:24:42 +00:00
Doug Cutting 39852b3b59 Add package documentation for a few contrib modules.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409694 13f79535-47bb-0310-9956-ffa450edef68
2006-05-26 16:29:02 +00:00
Chris M. Hostetter d2b63d328b LUCENE-577: initial checkin of SweetSpotSimilarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409472 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 21:21:29 +00:00
Chris M. Hostetter d96e03e914 Grrr... unbelievably bad compilation failure typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409429 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 18:54:50 +00:00
Chris M. Hostetter dd3d979905 LUCENE-496 - Command line tool for modifying the field norms of an existing index
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@409428 13f79535-47bb-0310-9956-ffa450edef68
2006-05-25 18:49:04 +00:00
Daniel Naber cb15338e26 small javadoc cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@400190 13f79535-47bb-0310-9956-ffa450edef68
2006-05-05 21:59:07 +00:00
Daniel Naber 18f330f6a6 add missing license header
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@398112 13f79535-47bb-0310-9956-ffa450edef68
2006-04-29 09:54:16 +00:00
Andreas Vajda 9a451c8011 applied fix for issue 536 to bdb code as well
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@394218 13f79535-47bb-0310-9956-ffa450edef68
2006-04-14 22:38:22 +00:00
Andreas Vajda 597b011b27 resolved JIRA issue 536
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@394214 13f79535-47bb-0310-9956-ffa450edef68
2006-04-14 22:23:20 +00:00
Yonik Seeley d490983a24 (LUCENE-539) Fix for deprecations in contrib/surround
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@391763 13f79535-47bb-0310-9956-ffa450edef68
2006-04-05 19:55:30 +00:00
Mark Harwood 286f4f5f07 Simplified QueryTermExtractor.java to make use of Query.extractTerms method (especially now that all the SpanQuery classes implement this correctly).
Added tests in Junit test to demonstrate new support for other Queries (FilteredQuery) now that we use the standard extractTerms feature of Query objects.
Also deprecated highlighter getBestFragments method that hard-coded choice of fieldname and introduced new variation that takes an additional fieldName argument

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@389888 13f79535-47bb-0310-9956-ffa450edef68
2006-03-29 21:01:40 +00:00
Mark Harwood 0fa0e25de8 Added BooleanFilter with JUnit test, added BooleanFilter support to XMLQueryParser, Changed TermsFilterBuilder to only build a filter for a single choice of field - multiples can be combined using new BooleanFilter clauses. Added missing MatchAllDocsQueryBuilder source.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@389037 13f79535-47bb-0310-9956-ffa450edef68
2006-03-27 07:23:37 +00:00
Mark Harwood fa0516f6ee Added support for MatchAllDocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@388296 13f79535-47bb-0310-9956-ffa450edef68
2006-03-23 23:30:33 +00:00
Wolfgang Hoschek c954a1c51a removed methods deprecated in lucene-1.9
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@387672 13f79535-47bb-0310-9956-ffa450edef68
2006-03-22 00:02:26 +00:00
Yonik Seeley f65db2faf2 deprecation fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@387581 13f79535-47bb-0310-9956-ffa450edef68
2006-03-21 16:56:11 +00:00
Yonik Seeley 2d7dbf8131 more deprecation fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@387575 13f79535-47bb-0310-9956-ffa450edef68
2006-03-21 16:26:10 +00:00
Yonik Seeley 3666a166a1 remove deprecations
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@387550 13f79535-47bb-0310-9956-ffa450edef68
2006-03-21 15:36:32 +00:00
Mark Harwood 9078b805d3 Fixed bug which ignored user's choice of QueryParser. Thanks to Terry Steichen for spotting it.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@385762 13f79535-47bb-0310-9956-ffa450edef68
2006-03-14 08:49:43 +00:00
Erik Hatcher 04ca37fb49 Modified lastmodified field to use DateTools instead of the deprecated DateField, and added an antlib.xml file to make Ant integration easier
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@384336 13f79535-47bb-0310-9956-ffa450edef68
2006-03-08 21:32:04 +00:00
Mark Harwood 7dab9545be Added more helper methods to DOMUtils and cleaned up error handling in builders - thanks Chris.
Moved FilteredQueryBuilder.java to "builders" package with all other builders

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382170 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 21:49:17 +00:00
Daniel Naber 85f9706b6b trivial import cleanup to avoid compiler warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382156 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 20:59:54 +00:00
Daniel Naber e5de36e653 clean up imports to avoid warnings; fix typo in usage message
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382154 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 20:54:59 +00:00
Daniel Naber 4189b329f8 stop using deprecated methods; make more fields private
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@382151 13f79535-47bb-0310-9956-ffa450edef68
2006-03-01 20:47:32 +00:00
Erik Hatcher 297d1429eb Many javadoc additions, and adding ASL to each file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@381108 13f79535-47bb-0310-9956-ffa450edef68
2006-02-26 15:38:30 +00:00