Commit Graph

655 Commits

Author SHA1 Message Date
Grant Ingersoll 2225462178 LUCENE-1380: Add PositionFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@725691 13f79535-47bb-0310-9956-ffa450edef68
2008-12-11 14:17:44 +00:00
Michael McCandless d53b6786c9 LUCENE-1461: add Matt Ericson as coauthor
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724551 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 23:26:11 +00:00
Michael McCandless efc985cbf4 LUCENE-1478: allow SortField to use a custom numeric FieldCache parser
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724484 13f79535-47bb-0310-9956-ffa450edef68
2008-12-08 21:07:45 +00:00
Mark Robert Miller 8660ccb303 LUCENE-1390: Added ASCIIFoldingFilter, a Filter that converts alphabetic, numeric, and symbolic Unicode characters which are not in the first 127 ASCII characters (the "Basic Latin" Unicode block) into their ASCII equivalents, if one exists. ISOLatin1AccentFilter, which handles a subset of this filter, has been deprecated.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@724053 13f79535-47bb-0310-9956-ffa450edef68
2008-12-06 23:25:42 +00:00
Michael McCandless 4a0a5664dd LUCENE-1468: switch Directory.list() to Directory.listAll(), which does no filtering of returned array
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@723789 13f79535-47bb-0310-9956-ffa450edef68
2008-12-05 17:03:13 +00:00
Michael McCandless a660f21b99 LUCENE-1461: fix single term per document -> single term for a given field
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@723375 13f79535-47bb-0310-9956-ffa450edef68
2008-12-04 17:13:40 +00:00
Michael McCandless 278dc0fc04 LUCENE-1296: add protected method CachingWrapperFilter.docIdSetToCache
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@722174 13f79535-47bb-0310-9956-ffa450edef68
2008-12-01 18:50:45 +00:00
Michael McCandless f562594180 LUCENE-1461: added FieldCacheRangeFilter, which speeds up creation of RangeFilter by using the FieldCache
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@721663 13f79535-47bb-0310-9956-ffa450edef68
2008-11-29 11:50:28 +00:00
Michael McCandless 755e7aec14 LUCENE-1453: add entry to CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@720783 13f79535-47bb-0310-9956-ffa450edef68
2008-11-26 10:07:14 +00:00
Mark Robert Miller ea3824bf34 LUCENE-1465: NearSpansOrdered returns payloads from first possible match
rather than the correct, shortest match; Payloads could be returned even
   if the max slop was exceeded; The wrong payload could be returned in 
   certain situations.

git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@720669 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 23:38:56 +00:00
Michael Busch eb88fc88fd LUCENE-1467: Add nextDoc() and next(int) methods to OpenBitSetIterator.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@720609 13f79535-47bb-0310-9956-ffa450edef68
2008-11-25 21:39:47 +00:00
Michael Busch 898cfe87cd LUCENE-1422: New TokenStream API that uses a new class called AttributeSource instead of the now deprecated Token class. All attributes that the Token class had have been moved into separate classes: TermAttribute, OffsetAttribute, PositionIncrementAttribute, PayloadAttribute, TypeAttribute and FlagsAttribute.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@718798 13f79535-47bb-0310-9956-ffa450edef68
2008-11-18 23:41:49 +00:00
Michael McCandless 5c9e275c3b fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@718222 13f79535-47bb-0310-9956-ffa450edef68
2008-11-17 11:46:28 +00:00
Yonik Seeley 0979fdc423 LUCENE-1451: Add public constructors to FSDirectory and subclasses
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@714110 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 19:22:22 +00:00
Michael McCandless e213a4e828 LUCENE-1452: fixes cases during merge and lazy field access where binary field is truncated to 0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@713962 13f79535-47bb-0310-9956-ffa450edef68
2008-11-14 10:02:44 +00:00
Michael Busch b69ab2b50a LUCENE-1446: Add compatibility tag to common-build.xml and run backwards-compatibility tests in the nightly build.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712920 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 02:31:50 +00:00
Yonik Seeley b179b038a1 LUCENE-1443: Performance improvement for OpenBitSetDISI.inPlaceAnd()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712908 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 01:54:49 +00:00
Michael McCandless abe6ea0828 LUCENE-1424: enable MultiTermQuery to do constant scoring; refactor Range, Wildcard, Prefix to expose this
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712890 13f79535-47bb-0310-9956-ffa450edef68
2008-11-11 00:40:00 +00:00
Michael Busch 66c16c196d LUCENE-1440: Add new targets to build.xml that allow downloading and executing the junit testcases from an older release for backwards-compatibility testing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712416 13f79535-47bb-0310-9956-ffa450edef68
2008-11-08 18:30:37 +00:00
Mark Harwood de7ab5b898 Added new web application demo for contrib's XmlQueryParser.
This change involves:
* Adding Tomcat's Servlet jar into the lib directory and appropriate entry in NOTICE.txt following the lead from Solr's packaging
* Adding new "demo" directory to XmlQueryParser src directory
* Changing XMLQueryParser's build file to create a demo War file
* Changing the main build to include the demo War file (and any other future contrib/*/war files) in the binary distributions

The packaged source distribution has NOT been changed currently to add a lib directory with the servlet.jar so building from a cut-down src distro as opposed to the full subversion /trunk directory will not currently build the war file (the xml query parser build file detects the absence of servlet.jar). Not sure if this is a problem currently.

TODO: 
Now that the servlet jar is available in Subversion I would recommend that the other existing WAR file,"luceneweb.war", is changed to move much of the java code which is currently embedded in JSP files into servlet .java files. This would ensure that the build system will check that the code in this application compiles cleanly with the latest Lucene APIs - otherwise any issue will only become apparent when a user tries to run a JSP.



git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@712318 13f79535-47bb-0310-9956-ffa450edef68
2008-11-08 00:20:32 +00:00
Michael McCandless 24d76157a0 LUCENE-1420: let Similarity.computeNorm compute the norm; add option to discount overlap tokens when computing lengthNorm
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@710117 13f79535-47bb-0310-9956-ffa450edef68
2008-11-03 18:03:58 +00:00
Michael McCandless 4990152243 LUCENE-1427: speed up QueryWrapperFilter by not computing scores nor an intermediate OpenBitSet
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@709459 13f79535-47bb-0310-9956-ffa450edef68
2008-10-31 16:18:13 +00:00
Grant Ingersoll 8dfe073760 LUCENE-1406. Added Arabic stemming and normalization. Also added new method to WordListLoader to allow for comments in word lists.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706342 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 17:19:29 +00:00
Michael McCandless 0b90b5e23d LUCENE-1382: add opaque userData String passed to IndexWriter.commit, recorded into the segments file
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706240 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 11:33:13 +00:00
Michael McCandless 0250cccacf LUCENE-1411: add expert API to IndexWriter to open an index for writing on an arbitrary commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@706171 13f79535-47bb-0310-9956-ffa450edef68
2008-10-20 09:48:55 +00:00
Michael Busch f8e6c62a30 LUCENE-1419: Add expert API to set custom indexing chain.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@704193 13f79535-47bb-0310-9956-ffa450edef68
2008-10-13 18:12:11 +00:00
Yonik Seeley 00f98b1fd7 LUCENE-1415: MultiPhraseQuery has incorrect hashCode() and equals()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@703565 13f79535-47bb-0310-9956-ffa450edef68
2008-10-10 19:45:19 +00:00
Michael McCandless 98e1129a14 break off contrib/CHANGES.txt's 2.4.0 release section
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700743 13f79535-47bb-0310-9956-ffa450edef68
2008-10-01 11:22:58 +00:00
Michael McCandless 20a0ff09b3 remove ()'s that confuse changes-to-html
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700428 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 12:06:29 +00:00
Michael McCandless 60bb2c1608 new estimate for 2.4 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700398 13f79535-47bb-0310-9956-ffa450edef68
2008-09-30 09:19:35 +00:00
Michael McCandless 575b3cec4a move the NOTE about the change to back compat policy wrt Fieldable under a new 'Changes in backward compatibility policy', so that changes-to-html isn't confused by it
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700095 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 12:29:29 +00:00
Michael McCandless 34cb65c34d fix typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@700083 13f79535-47bb-0310-9956-ffa450edef68
2008-09-29 12:15:41 +00:00
Michael McCandless a40530e4a4 LUCENE-1401: remove new deprecated IndexWriter ctors; default autoCommit=false for new ctors
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@698932 13f79535-47bb-0310-9956-ffa450edef68
2008-09-25 12:04:38 +00:00
Michael McCandless 6927ee46a4 LUCENE-1396: improve PhraseQuery.toString: gaps are shown with a ? and multiple terms at the same position are joined with |
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697469 13f79535-47bb-0310-9956-ffa450edef68
2008-09-21 10:41:41 +00:00
Michael McCandless c206a378b7 LUCENE-1335: adding missing entry to CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@697277 13f79535-47bb-0310-9956-ffa450edef68
2008-09-19 23:23:10 +00:00
Michael McCandless 28bc234edc fix 2.4 -> 2.4.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696718 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 17:09:52 +00:00
Michael McCandless 11074a2c4e switch to 2.9-dev on trunk
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696715 13f79535-47bb-0310-9956-ffa450edef68
2008-09-18 17:06:24 +00:00
Grant Ingersoll a8c0a8a810 LUCENE-1279: Add support for Collator to RangeFilter, etc.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@696056 13f79535-47bb-0310-9956-ffa450edef68
2008-09-16 21:03:21 +00:00
Otis Gospodnetic 8d02d7859f LUCENE-1131 - Added numDeletedDocs() to IndexReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695510 13f79535-47bb-0310-9956-ffa450edef68
2008-09-15 15:33:15 +00:00
Michael McCandless ac6ee32b60 LUCENE-1383: workaround the 'leak' in Java's ThreadLocal to prevent Lucene from causing OutOfMemoryError in certain situations, eg J2EE applications
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@695184 13f79535-47bb-0310-9956-ffa450edef68
2008-09-14 10:32:59 +00:00
Michael McCandless 4218996230 LUCENE-1366: rename Field.Index.* options
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@694004 13f79535-47bb-0310-9956-ffa450edef68
2008-09-10 21:38:52 +00:00
Grant Ingersoll 2bb9ab2246 LUCENE-1354: Provide programmatic access to CheckIndex
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@693508 13f79535-47bb-0310-9956-ffa450edef68
2008-09-09 16:34:18 +00:00
Michael McCandless e6dcf14620 LUCENE-1375: added IndexCommit.getTimestamp method
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691952 13f79535-47bb-0310-9956-ffa450edef68
2008-09-04 09:40:29 +00:00
Doron Cohen 80aed8ddae LUCENE-1356: Allow easy extensions of TopDocCollector.
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691824 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 23:18:51 +00:00
Michael McCandless 01fada8d1d LUCENE-1371: added entry in CHANGES for API change
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@691559 13f79535-47bb-0310-9956-ffa450edef68
2008-09-03 10:08:56 +00:00
Michael McCandless bfff632dbc LUCENE-753: Add new NIOFSDirectory implementation to use java.nio.* for access the same file concurrently with no locking
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690539 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 17:33:06 +00:00
Michael McCandless 1bbfaa5445 LUCENE-1061: make it simpler to override concrete Query implementations created by QueryParser by factoring out protected newXXXQuery() methods
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@690535 13f79535-47bb-0310-9956-ffa450edef68
2008-08-30 17:12:19 +00:00
Michael McCandless 4661a1b02b LUCENE-1367: add IndexCommit.isDeleted()
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@689791 13f79535-47bb-0310-9956-ffa450edef68
2008-08-28 11:50:15 +00:00
Michael McCandless f0d2a151ca LUCENE-1329: enable read-only IndexReaders; the default is to get a read-write IndexReader on open, but in 3.0 this will change to read-only
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@688323 13f79535-47bb-0310-9956-ffa450edef68
2008-08-23 13:47:18 +00:00
Grant Ingersoll 09467ad18e LUCENE-1001: Make payloads accessible from SpanQuery's
git-svn-id: https://svn.apache.org/repos/asf/lucene/java/trunk@687379 13f79535-47bb-0310-9956-ffa450edef68
2008-08-20 16:06:36 +00:00