Commit Graph

177 Commits

Author SHA1 Message Date
Wolfgang Hoschek 574f3d3083 some simple queries for benchmarking
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@451715 13f79535-47bb-0310-9956-ffa450edef68
2006-10-01 05:22:33 +00:00
Wolfgang Hoschek 7719af7c94 javadoc typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@451465 13f79535-47bb-0310-9956-ffa450edef68
2006-09-29 21:46:59 +00:00
Wolfgang Hoschek 652d91f982 make files relative to top level directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@450964 13f79535-47bb-0310-9956-ffa450edef68
2006-09-28 18:41:03 +00:00
Wolfgang Hoschek af08199090 fixed array length bug
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@450725 13f79535-47bb-0310-9956-ffa450edef68
2006-09-28 07:11:39 +00:00
Wolfgang Hoschek 5c89547898 added support for per field boost factor
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@450724 13f79535-47bb-0310-9956-ffa450edef68
2006-09-28 07:10:30 +00:00
Mark Harwood 6c53bc3c49 Fixed bug where BooleanQueryBuilder.java and BooleanFilterBuilder.java were mistakenly adding all child (and grandchild) clauses to the top node. A call to Element.getElementsByTagName was the offending code - this descends full depth rather than getting only immediate children which is the desired behaviour. Thanks to Jingkei Ly for spotting this bug.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@441667 13f79535-47bb-0310-9956-ffa450edef68
2006-09-08 21:45:14 +00:00
Yonik Seeley 8c0d242750 GData html render preview: LUCENE-660
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433051 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 21:20:08 +00:00
Mark Harwood d516bf50d8 Fix for http://issues.apache.org/jira/browse/LUCENE-645 with added Junit tests for this bug and related problem where last fragment can be huge if highlighting huge documents.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432042 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 21:42:18 +00:00
Yonik Seeley d3629f25eb gdata fixes: LUCENE-653, LUCENE-654
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432040 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 21:21:26 +00:00
Yonik Seeley aa32350b33 gdata 2006-08-10 checkin
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@430568 13f79535-47bb-0310-9956-ffa450edef68
2006-08-10 22:32:40 +00:00
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