Commit Graph

2304 Commits

Author SHA1 Message Date
Grant Ingersoll d0b971a021 Updated scoring.xml per suggestions by Doug and Chris on issue 664. Moved the Query information and Similarity info to the o.a.l.s package.html in the Javadocs and provided links to the javadocs from the scoring file.
Added scoring.html into the project.xml so that it will now be live on the Lucene java site.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@442406 13f79535-47bb-0310-9956-ffa450edef68
2006-09-12 01:05:20 +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 d0f5077d27 remove accidentally added file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@438135 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 18:01:27 +00:00
Grant Ingersoll b237052d3a scoring documentation updates from Michael McCandless
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@438127 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 17:43:18 +00:00
Grant Ingersoll 18c5d5be0e scoring documentation updates from Michael McCandless
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@438126 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 17:42:41 +00:00
Yonik Seeley 82d2306b41 remove accidentally added files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437905 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:39:08 +00:00
Yonik Seeley f0375e3f82 remove accidentally added files
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437904 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:38:20 +00:00
Yonik Seeley 254945aa32 Decouple locking from Directory: LUCENE-635
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@437897 13f79535-47bb-0310-9956-ffa450edef68
2006-08-29 01:13:10 +00:00
Grant Ingersoll 9f374d9202 Applied patch from:
http://issues.apache.org/jira/browse/LUCENE-664

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@434091 13f79535-47bb-0310-9956-ffa450edef68
2006-08-23 17:28:04 +00:00
Grant Ingersoll e14f9e35ee Initial check in of scoring.xml documentation. I have also added lucene.css stylesheet and included it in the Anakia Site VSL, although I am open to other ways of including style information on a per document basis (I just don't know Velocity to make the changes).
I have not linked in scoring.xml to the main documentation yet, as I wanted others to proofread/edit before making it official.  Once it is official, I will hook it in via the projects.xml

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433642 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 14:25:28 +00:00
Grant Ingersoll e2b5047f9c Initial check in of scoring.xml documentation. I have also added lucene.css stylesheet and included it in the Anakia Site VSL, although I am open to other ways of including style information on a per document basis (I just don't know Velocity to make the changes).
I have not linked in scoring.xml to the main documentation yet, as I wanted others to proofread/edit before making it official.  Once it is official, I will hook it in via the projects.xml

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433629 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 13:41:33 +00:00
Grant Ingersoll 4ba69db562 Initial check in of scoring.xml documentation. I have also added lucene.css stylesheet and included it in the Anakia Site VSL, although I am open to other ways of including style information on a per document basis (I just don't know Velocity to make the changes).
I have not linked in scoring.xml to the main documentation yet, as I wanted others to proofread/edit before making it official.  Once it is official, I will hook it in via the projects.xml

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433627 13f79535-47bb-0310-9956-ffa450edef68
2006-08-22 13:38:16 +00:00
Grant Ingersoll 8456ba93f8 Changed explain method to use TermDocs.skipTo instead of looping.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433081 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 23:11:00 +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
Chris M. Hostetter 9763d03f48 LUCENE-650: Fixed NPE in Locale specific String Sort when Document has no value
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@433049 13f79535-47bb-0310-9956-ffa450edef68
2006-08-20 21:17:59 +00:00
Grant Ingersoll d4cc53d466 Initial check in of TestTermScorer. All test methods should pass.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432734 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 21:32:37 +00:00
Yonik Seeley abb1bfc290 move singleDocSegmentsCount maintinence to mergeSegments
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432580 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 13:33:16 +00:00
Yonik Seeley fa293670a1 fix getPositionIncrement: LUCENE-659
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432443 13f79535-47bb-0310-9956-ffa450edef68
2006-08-18 00:16:42 +00:00
Yonik Seeley 8e3608845d keep track of number of buffered documents: LUCENE-388
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@432125 13f79535-47bb-0310-9956-ffa450edef68
2006-08-17 02:52:21 +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
Daniel Naber d24ee28c66 LUCENE-649: tiny typo fixes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431979 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 18:34:37 +00:00
Daniel Naber 7a90732466 don't use deprecated method (thanks to Simon Willnauer)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431976 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 18:31:36 +00:00
Grant Ingersoll 3308763643 Also updated the link to changes.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431923 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 15:26:51 +00:00
Grant Ingersoll 2946a6a802 Also updated the link to changes.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431922 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 15:25:57 +00:00
Grant Ingersoll a40febc259 Updated the link to the 1.4.x archives, as the current jakarta link no longer works. Added instructions on how to navigate to the archives section where the 1.4.x is archived.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431918 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 15:17:30 +00:00
Grant Ingersoll 6ce81945cc Updated the link to the 1.4.x archives, as the current jakarta link no longer works. Added instructions on how to navigate to the archives section where the 1.4.x is archived.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431915 13f79535-47bb-0310-9956-ffa450edef68
2006-08-16 15:08:20 +00:00
Otis Gospodnetic f7849f1469 - Undid LUCENE-388, as it turned out it caused problems
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431303 13f79535-47bb-0310-9956-ffa450edef68
2006-08-14 06:58:42 +00:00
Otis Gospodnetic c5d950da35 - LUCENE-388: optimize maybeMergeSegments() to speed up indexing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431153 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 08:20:13 +00:00
Otis Gospodnetic a9691a40e8 - Modified some CJK Unicode code point ranges in StandardTokenizer.jj,
and added a few more of them to increase CJK character coverage.
  Also documented some of the ranges.


git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431152 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 07:47:34 +00:00
Otis Gospodnetic 5705f8dfd2 - LUCENE-478: Updated Unicode code point ranges for CJK
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431151 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 07:02:26 +00:00
Otis Gospodnetic 1a933665d6 - LUCENE-629: indexing and optimizing performance improvements when working with compressed fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431148 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 06:12:07 +00:00
Otis Gospodnetic 395115d8d7 - Typo fix
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@431147 13f79535-47bb-0310-9956-ffa450edef68
2006-08-13 06:06:23 +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
Daniel Naber 1d65537c75 remove "s" and "t" as stopwords because they make searching less precise, e.g. "t-online" gives the same results as "online" with "t" being a stopword
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428998 13f79535-47bb-0310-9956-ffa450edef68
2006-08-05 13:11:09 +00:00
Daniel Naber a9a325a4df LUCENE-646: fix various small issues with the "getting started" demo pages (patch by Michael McCandless)
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428554 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 22:24:42 +00:00
Yonik Seeley 10517a310c performance test for TermDoc iteration speed
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428488 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 19:26:48 +00:00
Daniel Naber 93ab8fd2cc fix the code example (still used the old API); fix a few spelling mistakes
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428479 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 19:07:32 +00:00
Daniel Naber 8cd09aae46 trivial whitespace fix only
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@428475 13f79535-47bb-0310-9956-ffa450edef68
2006-08-03 19:00:41 +00:00
Daniel Naber 52e9e3dac3 LUCENE-641: fix off-by-one bug for maximum field length
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@426883 13f79535-47bb-0310-9956-ffa450edef68
2006-07-30 11:56:57 +00:00
Daniel Naber 8c0d234ffa fix LUCENE-638: ignore files unrelated to Lucene in FSDirectory.list(); also make rename more robust by using try/finally
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@426774 13f79535-47bb-0310-9956-ffa450edef68
2006-07-29 09:54:48 +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
Daniel Naber a0288da46d slightly more verbose output for TooManyClauses exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@425524 13f79535-47bb-0310-9956-ffa450edef68
2006-07-25 21:03:17 +00:00
Daniel Naber 53888844c0 add the original query to the parse exception message for easier debugging
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@424708 13f79535-47bb-0310-9956-ffa450edef68
2006-07-23 11:08:36 +00:00
Daniel Naber f72c1e579f Don't re-create SimpleDateFormat objects, use static ones instead. Gives about a 2x performance increase in a micro benchmark.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@424449 13f79535-47bb-0310-9956-ffa450edef68
2006-07-21 20:38:23 +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