Commit Graph

12231 Commits

Author SHA1 Message Date
Steven Rowe f3a363708f LUCENE-3690: Re-implemented HTMLStripCharFilter as a JFlex-generated scanner. Fixes LUCENE-2208, SOLR-882, and SOLR-42.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234452 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 05:20:46 +00:00
Shai Erera 17fe719bb5 LUCENE-3703: Calling DirectoryTaxonomyReader.refresh() could mess up reference counting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234451 13f79535-47bb-0310-9956-ffa450edef68
2012-01-22 05:14:45 +00:00
Uwe Schindler 42b2c86116 LUCENE-2858: First steps, still incomplete. No tests pass or even compile, but core code now compiles. See issue!
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1234441 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 23:22:50 +00:00
Uwe Schindler 0e64939f81 Create a branch for LUCENE-2858
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene2858@1234440 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 23:18:26 +00:00
Simon Willnauer acf9e1333d LUCENE-3709: properly release primary output lock if wrapper creation fails
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234398 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 19:10:41 +00:00
Uwe Schindler af9b4d816f LUCENE-3671: Add TypeTokenFilter that filters tokens based on their TypeAttribute
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234396 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 19:02:44 +00:00
Robert Muir f6c6f5dd4c LUCENE-3661: remove duplciate delete-file-handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1234357 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 16:18:11 +00:00
Uwe Schindler 9b86beea98 Remove obsolete javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234318 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 12:50:25 +00:00
Steven Rowe b383f4a044 Added a junit test scope dependency in the grandparent POM to work around a Maven 2.2.X bug in which transitive test dependency resolution omits junit as duplicate everywhere it occurs, resulting in the absence of the junit jar from the test classpath, and then test compilation failure. This manifested only in Solr's clustering contrib, but I'm putting it in the grandfather POM to insure it doesn't happen elsewhere. Under Maven 3.0.4, this behavior no longer occurs, so when we upgrade the minimum Maven version to 3.0.4+, the junit test scope dependency in the grandfather POM can be removed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234219 13f79535-47bb-0310-9956-ffa450edef68
2012-01-21 00:31:03 +00:00
Steven Rowe e5e4434bdb Skip compile:test-compile under Maven 3
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234197 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 23:05:12 +00:00
Robert Muir ac9bb797e1 LUCENE-3661: remove unnecessary method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1234056 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 18:36:14 +00:00
Robert Muir 7a3542f16a LUCENE-3661: clean up how we handle the case of files outside of CFS
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1234051 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 18:10:22 +00:00
Simon Willnauer 315b6ab63d LUCENE-3709: only load norms if they are present in at least on Field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1234013 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 17:19:41 +00:00
Robert Muir aadd4725cc LUCENE-3661: get tests passing with simpletext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1234002 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 16:55:47 +00:00
Robert Muir d95b8943c6 LUCENE-3661: hack test for simpletext
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233994 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 16:40:02 +00:00
Robert Muir 0a09551f34 LUCENE-3661: hack test for simpletext case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233981 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 16:15:29 +00:00
Robert Muir af670f2025 LUCENE-3661: simpletext deletes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233975 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 16:00:35 +00:00
Robert Muir 52ab0d610e LUCENE-3661: clean this up to use IOUtils method
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233945 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 15:14:14 +00:00
Robert Muir f6b18248a9 LUCENE-3661: nuke obselete nocommit, thanks Mike
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233935 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 14:47:42 +00:00
Michael McCandless 5c920cf73a LUCENE-3661: cut back to Bits (from MutableBits) in some places in IW
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233931 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 14:35:01 +00:00
Martijn van Groningen ac8befe5c3 LUCENE-3602: Fixed some typos.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233918 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 14:15:42 +00:00
Robert Muir 6117558c44 LUCENE-3661: remove .del from IndexFileNames
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233726 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 02:18:59 +00:00
Robert Muir 2dee41b88e LUCENE-3661: remove SI.getDelFileName
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233709 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 01:46:07 +00:00
Yonik Seeley 53270bdb9c LUCENE-3711: add CHANGES entry
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233708 13f79535-47bb-0310-9956-ffa450edef68
2012-01-20 01:41:54 +00:00
Michael McCandless 5f33d8d2ae use singletons in FST outputs; add 2 commented out test cases showing non-minimality
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233696 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 23:54:55 +00:00
Yonik Seeley 4fdebf90e5 SentinelIntSet can hang by not resizing really small sets early enough, add random test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233583 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 21:38:40 +00:00
Robert Muir c2ad31a702 LUCENE-3661: generalize from bitvector->livedocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233532 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 18:57:35 +00:00
Robert Muir 2227b6e668 LUCENE-3661: remove bitvector from string
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233531 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 18:54:14 +00:00
Robert Muir cfdd1f1c2d LUCENE-3661: remove bitvector from segmentreader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233530 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 18:52:27 +00:00
Robert Muir ab52c0d7ef if classpath is wrong for preflex-rw, throw an exception up front
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233520 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 18:33:56 +00:00
Robert Muir 413823ceaf LUCENE-3661: bitvector->mutablebits in some strings/javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233508 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 18:16:13 +00:00
Robert Muir e2a4b86260 LUCENE-3661: bitvector->mutablebits in indexwriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233507 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 18:10:51 +00:00
Robert Muir da3dbb0e0c move some bitvector -> mutablebits
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233498 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 17:41:14 +00:00
Robert Muir de495a3c0d LUCENE-3661: dump my current state
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233479 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 17:16:25 +00:00
Robert Muir 5280476fcb create branch for LUCENE-3661
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/branches/lucene3661@1233476 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 17:15:45 +00:00
Robert Muir 3c6d62edbb LUCENE-3708: always call postingswriter.finishDoc when writing postings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233405 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 14:38:34 +00:00
Michael McCandless 5bc7f5bbd0 LUCENE-3121: add reverse-lookup by long to FST, when output grows strictly monotonically w/ input (eg, ord, address, etc.)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233381 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 14:07:40 +00:00
Simon Willnauer 47f474735f LUCENE-3707: Add a Lucene3x private SegmentInfosFormat implementation
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233380 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 14:06:10 +00:00
Simon Willnauer fc0b7cfb59 don't rely on ThreadAffinity in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233288 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 11:21:13 +00:00
Simon Willnauer 52dc6a5908 LUCENE-3705: IWFlushQueue deadlocks if deletes are flushed and a segment is published at the same time
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233248 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 08:54:33 +00:00
Steven Rowe fb1884358d SOLR-2718: Move CHANGES entry under 3.6.0
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233199 13f79535-47bb-0310-9956-ffa450edef68
2012-01-19 06:31:46 +00:00
Steven Rowe 6a8fbf780e SOLR-3048: Fix incorrect test classpath order under the Maven build
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233106 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 23:03:41 +00:00
Yonik Seeley 4c078d97c9 build: make property for javac args
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1233010 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 19:28:39 +00:00
Steven Rowe 61e9317955 LUCENE-3666: fix example consumer code to follow the TokenStream API contract; fix cast-to-interface code to use interface method instead of instance field.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232987 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 18:34:57 +00:00
Robert Muir 98e5328845 LUCENE-3576: add surrogates shuffle for 3.x term vectors, test surrogates in TestBackwardsCompatibility
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232974 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 17:57:05 +00:00
Simon Willnauer 3d66fa922a remove files of dropped segments right after merge
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232943 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 16:10:17 +00:00
Jan Høydahl 374f6fc6c1 SOLR-2970: CSV ResponseWriter returns fields defined as stored=false in schema
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232918 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 14:55:57 +00:00
Steven Rowe c9361a507d LUCENE-3666: Update org.apache.lucene.analysis package summary
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232909 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 14:36:58 +00:00
Simon Willnauer e58eadc95b LUCENE-3697: fix solr testcase
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232818 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 10:31:46 +00:00
Koji Sekiguchi 3150fae20d LUCENE-3697: SimpleBoundaryScanner does not work well when highlighting at the beginning of the text
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1232769 13f79535-47bb-0310-9956-ffa450edef68
2012-01-18 07:34:56 +00:00