Commit Graph

874 Commits

Author SHA1 Message Date
Yonik Seeley 4997068dc5 site: sync news w/ announcement better, and add links
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1087446 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 21:31:08 +00:00
Robert Muir 74c9b8887f SOLR-2338: improved per-field similarity integration into schema.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1087430 13f79535-47bb-0310-9956-ffa450edef68
2011-03-31 20:13:22 +00:00
Koji Sekiguchi 787b6019bf SOLR-2445: remove standard request handler and change the default qt to blank in form.jsp
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1086821 13f79535-47bb-0310-9956-ffa450edef68
2011-03-30 02:17:31 +00:00
Ryan McKinley 9d1854b390 LUCENE-3001 -- moving TrieFieldHelper out of lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1086710 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 20:11:00 +00:00
Ryan McKinley 591f3b5ea9 LUCENE-3001 -- moving TrieFieldHelper out of lucene
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1086708 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 20:09:59 +00:00
Ryan McKinley f6ddf2723a SOLR-1566 -- passing SolrQueryRequest to DocTransformer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1086699 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 19:40:37 +00:00
Ryan McKinley 9027875384 LUCENE-3001 fix solr trie date field from #1086651
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1086681 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 18:45:54 +00:00
Ryan McKinley b95ca2b453 LUCENE-3001 -- Adding TrieFieldHelper to write solr compatible numeric fields without the solr dependency.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1086651 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 17:41:58 +00:00
Robert Muir 4bfb56d42b SOLR-2396: add [ICU]CollationField
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1086637 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 16:37:39 +00:00
Ryan McKinley b822bb427c SOLR-2423 -- fixing DateField and adding test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1086582 13f79535-47bb-0310-9956-ffa450edef68
2011-03-29 13:48:37 +00:00
Koji Sekiguchi 76b494593d SOLR-2445: Register standard search handler
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1086276 13f79535-47bb-0310-9956-ffa450edef68
2011-03-28 15:39:10 +00:00
Robert Muir da659773a0 correct wrongly-licensed file
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085815 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 21:55:20 +00:00
Ryan McKinley b5f436d6ea SOLR-1298 -- parsing ValueSource as DocTransformer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085644 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 04:52:39 +00:00
Ryan McKinley f54e1805de adding svn keywords and eol:style=native
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085635 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 03:34:42 +00:00
Ryan McKinley 71f33f2597 SOLR-1566, using factories to create transformers
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085633 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 03:18:34 +00:00
Ryan McKinley 27cabecc68 remove nocommit from log message
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085618 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 00:44:10 +00:00
Koji Sekiguchi 85969ee908 SOLR-2417: typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085615 13f79535-47bb-0310-9956-ffa450edef68
2011-03-26 00:38:28 +00:00
Yonik Seeley e15954f5a4 SOLR-2444: fix parsing of key in fl
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085572 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 21:52:05 +00:00
Ryan McKinley e510d3f530 SOLR-2444 -- moving ReturnFields to search package. Integrating yoniks basic parsing.
(should also fix regression)

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085564 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 21:26:33 +00:00
Ryan McKinley ad221cb514 SOLR-2417 -- by default spit out the explain text as string, but allow NL or HTML
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085550 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 20:31:45 +00:00
Ryan McKinley b1572f8f3e SOLR-1566 -- calling commit after adding document to make sure that it is actually commited before the other.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085500 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 18:17:29 +00:00
Ryan McKinley caaa23a1b7 SOLR-1566: Transforming documents in the ResponseWriters. This will allow for more complex results in responses and open the door for function queries as results.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085450 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 16:24:21 +00:00
Robert Muir 0934039ced LUCENE-2986: split DefaultSimilarity's provider methods into DefaultSimilarityProvider; clean up uses of sim in tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085374 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 14:00:42 +00:00
Yonik Seeley 0b76d21921 comments: spelling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085220 13f79535-47bb-0310-9956-ffa450edef68
2011-03-25 00:36:29 +00:00
Ryan McKinley a191a9d3e4 use DateUtil rather then deprecated ClientUtils.parseDate
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1085130 13f79535-47bb-0310-9956-ffa450edef68
2011-03-24 20:45:33 +00:00
Ryan McKinley 32c6c7aad4 SOLR-2423 don't add null copy fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1083934 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 20:23:39 +00:00
Ryan McKinley 0655899487 SOLR-2423 -- checking doc.getFieldable avoids unnecessary toString and plays nicer with binary fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1083853 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 16:03:35 +00:00
Robert Muir e67bf6b089 LUCENE-2944: fix BytesRef reuse bugs, TermToBytesRefAttribute owns the bytes like other attributes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1083784 13f79535-47bb-0310-9956-ffa450edef68
2011-03-21 13:52:15 +00:00
Chris M. Hostetter 67fecffee5 clean up javadoc warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1083124 13f79535-47bb-0310-9956-ffa450edef68
2011-03-19 01:51:29 +00:00
Chris M. Hostetter cb326421ba SOLR-2434: eliminate version injection into forrest docs, and remove build-site from prepare-release's dependency chain (it was fundementally flawed since the build requires java 1.6 but forrest only works with java 1.5)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1082998 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 18:06:51 +00:00
Yonik Seeley 7e1a9ee6ef docs: update release announcement
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1082776 13f79535-47bb-0310-9956-ffa450edef68
2011-03-18 00:52:00 +00:00
Ryan McKinley e80cfecd28 SOLR-2423: FieldType argument changed from String to Object Conversion from SolrInputDocument > Object > Fieldable is now managed by FieldType rather then DocumentBuilder.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1082638 13f79535-47bb-0310-9956-ffa450edef68
2011-03-17 18:53:48 +00:00
Yonik Seeley 22ec0cc7df docs: update site
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1082601 13f79535-47bb-0310-9956-ffa450edef68
2011-03-17 17:32:39 +00:00
Robert Muir df907f97de SOLR-2422: fix too-low timeout
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1080852 13f79535-47bb-0310-9956-ffa450edef68
2011-03-12 02:24:07 +00:00
Robert Muir 3ba04fee2c ignore didnt work either, giving up and reverting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1080753 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 20:46:07 +00:00
Robert Muir 969067c0e2 try to avoid jre bug in test, take 2
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1080748 13f79535-47bb-0310-9956-ffa450edef68
2011-03-11 20:12:04 +00:00
Uwe Schindler 0e043f9bd7 SOLR-2414: All ResponseWriters now use only ServletOutputStreams and wrap their own Writer around it when serializing. This fixes the bug in PHPSerializedResponseWriter that produced wrong string length if the servlet container had a broken UTF-8 encoding that was in fact CESU-8 (see SOLR-1091). The hack was removed by this followup-patch.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1080038 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 22:32:09 +00:00
Ryan McKinley e066a7e911 SOLR-2413: Support for returning multi-valued fields w/o <arr> tag in the XMLResponseWriter was removed. XMLResponseWriter only no longer work with values less then 2.2
Replaced "version" string with CommonParams.VERSION where possible

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1079963 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 19:48:33 +00:00
Robert Muir 9ce62b7c07 SOLR-2381: update jetty to a new patched version (fixes boundary issue); avoid slow/buggy jetty unicode conversion when possible; adds unicode test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1079949 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 19:19:29 +00:00
Ryan McKinley b951626aa3 SOLR-2413 -- XMLWriter implemented its own (almost) identical writeVal(String name, Object val)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1079893 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 17:12:51 +00:00
Yonik Seeley bcc16311a1 SOLR-2410: add test that normally hits phase3 cleaning w/ PQ
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1079827 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 15:12:16 +00:00
Uwe Schindler bdaa02c3c0 LUCENE-2953: PriorityQueue's internal heap was made private final
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1079707 13f79535-47bb-0310-9956-ffa450edef68
2011-03-09 09:18:56 +00:00
Ryan McKinley b466795470 (trivial) adding missing spaces
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1079540 13f79535-47bb-0310-9956-ffa450edef68
2011-03-08 21:00:24 +00:00
Ryan McKinley 16b1b1d6c9 SOLR-2402 -- more verbose errors from DocumentBuilder
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1078928 13f79535-47bb-0310-9956-ffa450edef68
2011-03-07 20:34:03 +00:00
Koji Sekiguchi 7c20272df2 fix weird import
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1078398 13f79535-47bb-0310-9956-ffa450edef68
2011-03-06 01:53:10 +00:00
Yonik Seeley b03e13577c SOLR-2134: trie fields should get sortMissingLast/First flags from field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1076514 13f79535-47bb-0310-9956-ffa450edef68
2011-03-03 04:44:00 +00:00
Chris M. Hostetter fea853a3d2 SOLR-309: Fix FieldType so setting an analyzer on a FieldType that doesn't expect it will generate an error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1076432 13f79535-47bb-0310-9956-ffa450edef68
2011-03-02 22:14:17 +00:00
Chris M. Hostetter a25f2f7470 SOLR-2339: tweak test to not log expected exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1076005 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 19:58:56 +00:00
Andrzej Bialecki e71e682352 SOLR-2375 Store & Load functionality for Suggester Lookup implementations.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1075804 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 13:04:01 +00:00
Chris M. Hostetter 21355a452b SOLR-1240: facet.range.include now defaults to 'lower' (facet.date.include still defaults to lower,upper,edge)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1075603 13f79535-47bb-0310-9956-ffa450edef68
2011-03-01 01:09:57 +00:00
Uwe Schindler 6421e1aa77 SOLR-2388: Fix possible NPE, fix indent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1075287 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 11:03:05 +00:00
Robert Muir 308e0bd4a9 LUCENE-2514, LUCENE-2551: collation uses byte[] keys, deprecate old unscalable locale sort/range, termrangequery/filter work on bytes
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1075210 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 05:15:50 +00:00
Uwe Schindler aaad623e64 SOLR-2391: Replace remaining occurences of text/xml mime types to application/xml & further cleanups in XSLTResponseWriter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1075190 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 00:41:32 +00:00
Uwe Schindler 09b9091711 SOLR-2392: Add a dummy-compile task using jspc task (imported from jetty's jasper) to check that all webapps's JSP files at least compile
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1075184 13f79535-47bb-0310-9956-ffa450edef68
2011-02-28 00:12:52 +00:00
Uwe Schindler 129dcfc99b SOLR-2388: Log XML warnings and errors to slf4j
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1075089 13f79535-47bb-0310-9956-ffa450edef68
2011-02-27 17:14:45 +00:00
Uwe Schindler d45074306e SOLR-1656: Fix XInclude xi:fallback by throwing IOException instead of RuntimeException from ResourceLoader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1075079 13f79535-47bb-0310-9956-ffa450edef68
2011-02-27 15:40:57 +00:00
Uwe Schindler b76bef12fd SOLR-1656: XIncludes and other HREFs in XML files loaded by ResourceLoader are fixed to be resolved using the URI standard (RFC 2396)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1075053 13f79535-47bb-0310-9956-ffa450edef68
2011-02-27 13:31:08 +00:00
Yonik Seeley ee1228ac82 SOLR-2381: remove jetty==CESU8 assumption
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1074750 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 23:44:59 +00:00
Robert Muir 7b7d144aec SOLR-2381: use patched version of jetty with correct UTF-8 handling
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1074726 13f79535-47bb-0310-9956-ffa450edef68
2011-02-25 22:42:32 +00:00
Yonik Seeley b43011aef5 SOLR-2380 fix facet.limit for distrib faceting and facet.sort=index
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1074326 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 22:29:35 +00:00
Robert Muir e315a4a311 LUCENE-2894: additional minor improvements to factory examples
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1074226 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 17:25:40 +00:00
Koji Sekiguchi 6f614bdf2a LUCENE-2894: add more contribution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1074017 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 02:16:30 +00:00
Koji Sekiguchi 521fb53da5 LUCENE-2894: add more contribution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1074009 13f79535-47bb-0310-9956-ffa450edef68
2011-02-24 01:40:58 +00:00
Koji Sekiguchi d0a8a1fcb8 LUCENE-2894: add more contribution
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1073806 13f79535-47bb-0310-9956-ffa450edef68
2011-02-23 16:23:57 +00:00
Koji Sekiguchi e5309e652b LUCENE-2894: add schema.xml samples for solr analysis factories (A to H)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1073336 13f79535-47bb-0310-9956-ffa450edef68
2011-02-22 14:17:10 +00:00
Chris M. Hostetter 972e53c413 SOLR-2377: fix test/example configs that use a bad meme in dataDir
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1072397 13f79535-47bb-0310-9956-ffa450edef68
2011-02-19 17:09:45 +00:00
Chris M. Hostetter 55af869609 SOLR-1240: deprecating date faceting methods now that we have generalized range faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1071842 13f79535-47bb-0310-9956-ffa450edef68
2011-02-18 00:14:22 +00:00
Yonik Seeley 742f95598f SOLR-2369: turn off zookeeper log4j mbean registration due to slf4j incompat
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1071831 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 23:09:43 +00:00
Grant Ingersoll e4d29a1da2 remove javadoc warning about functions not being weighted.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1071673 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 16:08:40 +00:00
Grant Ingersoll 545ea4021b SOLR-2371: adds min function, makes max take two value sources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1071658 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 15:52:33 +00:00
Grant Ingersoll ff77defb92 SOLR-2371: adds min function, makes max take two value sources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1071655 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 15:44:59 +00:00
Grant Ingersoll 68f9ccffe7 SOLR-2371: adds min function, makes max take two value sources
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1071654 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 15:44:42 +00:00
Chris M. Hostetter 0d57f3b786 SOLR-2348: Fix field types to explicitly generate an error if you attempt to get a ValueSource for a multiValued field.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1071459 13f79535-47bb-0310-9956-ffa450edef68
2011-02-17 00:38:04 +00:00
Koji Sekiguchi 59b0e98cfb SOLR-1449, SOLR-2364: revert r1069656 change
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1071121 13f79535-47bb-0310-9956-ffa450edef68
2011-02-16 01:44:33 +00:00
Yonik Seeley 8bff9e1ff5 SOLR-1711: fix SUSS deadlock
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1071074 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 21:29:01 +00:00
Robert Muir 39de6aabc8 SOLR-1553: mark experimental
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1070879 13f79535-47bb-0310-9956-ffa450edef68
2011-02-15 13:10:29 +00:00
Michael McCandless 573ecf2e16 SOLR-2342: don't let hot add/updates starve commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1070691 13f79535-47bb-0310-9956-ffa450edef68
2011-02-14 22:56:35 +00:00
Mark Robert Miller 23e9af6057 SOLR-2353: SpellCheckCollator uses org.mortbay.log.Log for logging - via Sami Siren
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1070321 13f79535-47bb-0310-9956-ffa450edef68
2011-02-13 23:09:50 +00:00
Robert Muir a01e9cbb86 LUCENE-2912: remove field param from computeNorm, scorePayload ; remove UOE'd lengthNorm, switch SweetSpot to per-field
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1069980 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 23:16:14 +00:00
Koji Sekiguchi 7972ac83ad SOLR-1449: output error log in addToClassLoader(String,FileFilter), same as addToClassLoader(String) does, when baseDir is not correct
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1069656 13f79535-47bb-0310-9956-ffa450edef68
2011-02-11 01:29:01 +00:00
Chris M. Hostetter 6d41320143 SOLR-2350: SimplePostTool (aka: post.jar) has been improved to work with files of any mime-type or charset
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1068149 13f79535-47bb-0310-9956-ffa450edef68
2011-02-07 21:39:32 +00:00
Koji Sekiguchi a3dbc97978 LUCENE-2894: Use google-code-prettify for syntax highlighting in javadocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067551 13f79535-47bb-0310-9956-ffa450edef68
2011-02-05 23:36:32 +00:00
Uwe Schindler 7c69aee7cc More charset violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067165 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 12:37:31 +00:00
Uwe Schindler 783c8fd7b5 More charset violations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067163 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 12:27:16 +00:00
Uwe Schindler 0188da6a73 Fix lots of default charset violations in Solr caused by String.getBytes() and IOUtils.toString() [and others]
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067160 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 12:01:49 +00:00
Koji Sekiguchi 6f31407109 SOLR-1057: Add PathHierarchyTokenizer
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067131 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 10:19:52 +00:00
Uwe Schindler 1f9a474116 SOLR-96: Add test case
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067119 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 09:27:40 +00:00
Chris M. Hostetter e2970ad77c clean up my nocommit mess
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067044 13f79535-47bb-0310-9956-ffa450edef68
2011-02-04 00:16:49 +00:00
Chris M. Hostetter dc16b7efea SOLR-2339: Fix sorting to explicitly generate an error if you attempt to sort on a multiValued field.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1067030 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 23:21:44 +00:00
Uwe Schindler 69ad01cb98 Fix issue in CommonsHttpSolrServer where a Reader is copied to an OutputStream using default encoding
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066889 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 17:41:53 +00:00
Yonik Seeley 7b32753293 tests: get model order from index, fix some json numeric comparisons
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066850 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 16:14:07 +00:00
Yonik Seeley 30ed34d4fe tests: fix doclist offset in grouping model
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066847 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 16:07:26 +00:00
Uwe Schindler b2e9fa1d26 SOLR-96: Fix XML parsing in XMLUpdateRequestHandler and DocumentAnalysisRequestHandler to respect charset from XML file and only use HTTP header's "Content-Type" as a "hint"
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066819 13f79535-47bb-0310-9956-ffa450edef68
2011-02-03 14:49:06 +00:00
Simon Willnauer 2635ac0cf7 LUCENE-2831: Use leaf reader slices for parallel execution instead of SubSearcher instances.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066669 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 22:34:15 +00:00
Yonik Seeley eee47902b7 LUCENE-2831: remove unnecessary casts
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1066515 13f79535-47bb-0310-9956-ffa450edef68
2011-02-02 16:22:51 +00:00
Robert Muir 107c06324b fix more javadocs warnings
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065474 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 02:59:40 +00:00
Koji Sekiguchi 1377b916e6 print out version infos in JavaBinCodec when throwing exception
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065465 13f79535-47bb-0310-9956-ffa450edef68
2011-01-31 01:57:57 +00:00
Yonik Seeley 146c27063f SOLR-236: fix bug where numFound was always zero if group.offset and group.limit were both zero.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065406 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 22:26:22 +00:00
Uwe Schindler e7088279f7 LUCENE-1253: LengthFilter (and Solr's KeepWordTokenFilter) now require up front specification of enablePositionIncrement. Together with StopFilter they have a common base class (FilteringTokenFilter) that handles the position increments automatically. Implementors only need to override an accept() method that filters tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065343 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 18:30:34 +00:00
Robert Muir 9af1a72569 add missing svn:eol-style
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065327 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 17:29:55 +00:00
Robert Muir d1a5ca1460 add missing @Override and @Deprecated annotations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065304 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 15:10:15 +00:00
Yonik Seeley 6569aa5da3 add ASL
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065302 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 15:03:01 +00:00
Robert Muir 24cfce7c1a add missing license headers where there are none, but the JIRA box was checked (solr)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065286 13f79535-47bb-0310-9956-ffa450edef68
2011-01-30 14:17:46 +00:00
Ryan McKinley 5f7f97021c LUCENE-2671 -- deprecate FieldTypes that will be removed in 5.x
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065093 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 19:43:20 +00:00
Ryan McKinley 5dcacafcb4 - add comments to pivot test
- change capitalization so that testing looks the same as the input

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065074 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 17:10:09 +00:00
Yonik Seeley d4c9a81452 SOLR-792: fix test to match fix to mincount
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065067 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 16:50:51 +00:00
Koji Sekiguchi cbf8d878f7 SOLR-792: fix comparison for mincount
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1065020 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 14:30:45 +00:00
Yonik Seeley 5d8790eb85 SOLR-1983 SOLR-2156: set replication flags and cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1064942 13f79535-47bb-0310-9956-ffa450edef68
2011-01-29 02:24:53 +00:00
Koji Sekiguchi 92874ddaa6 SOLR-860: Add debug output for MoreLikeThis
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1064735 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 15:37:43 +00:00
Simon Willnauer a7a9be923e Only create a Filter list if there is a non-empty fq parameter
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1064730 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 15:25:33 +00:00
Chris M. Hostetter f13449ce48 SOLR-1940: Fix SolrDispatchFilter behavior when Content-Type is unknown
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1064395 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 01:02:28 +00:00
Chris M. Hostetter e70311f386 SOLR-2085: Improve SolrJ behavior when FacetComponent comes before QueryComponent
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1064386 13f79535-47bb-0310-9956-ffa450edef68
2011-01-28 00:34:40 +00:00
Yonik Seeley 946dc5c68a SOLR-2263: Add ability for RawResponseWriter to stream binary files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1064330 13f79535-47bb-0310-9956-ffa450edef68
2011-01-27 22:00:14 +00:00
Yonik Seeley 471c0ced82 SOLR-2327: error handling - force queryResultWindowSize to a min of 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063877 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 21:39:42 +00:00
Yonik Seeley 326ab7d577 SOLR-1711: fix hang when queue is full but there are no runners
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063869 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 20:57:05 +00:00
Robert Muir 20621a4e72 SOLR-1826: Add tests for highlighting with termOffsets=true and overlapping tokens
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063702 13f79535-47bb-0310-9956-ffa450edef68
2011-01-26 13:00:41 +00:00
Chris M. Hostetter dfb9a0faf8 SOLR-2320: Fixed ReplicationHandler detail reporting for masters
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063339 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 16:28:04 +00:00
Grant Ingersoll 27fe1ca874 SOLR-482: add some improved exception information for CSV files that fail
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063333 13f79535-47bb-0310-9956-ffa450edef68
2011-01-25 16:14:59 +00:00
Chris M. Hostetter 4a63988060 SOLR-1240: followup: use NL instead of SOM for counts list
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1063052 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 23:03:58 +00:00
Robert Muir 3f255f6cea LUCENE-2236: per-field similarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062927 13f79535-47bb-0310-9956-ffa450edef68
2011-01-24 19:13:31 +00:00
Mark Robert Miller 22f0fe9718 SOLR-2127: Fixed serialization of default core and indentation of solr.xml when serializing.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1062319 13f79535-47bb-0310-9956-ffa450edef68
2011-01-23 03:58:30 +00:00
Steven Rowe 74360c80f5 LUCENE-2657: Replace Maven POM templates with full POMs
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061613 13f79535-47bb-0310-9956-ffa450edef68
2011-01-21 03:44:13 +00:00
Robert Muir 4f2a9e7aa3 LUCENE-2876: Remove Scorer.getSimilarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061499 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 20:36:44 +00:00
Michael McCandless 1a0f78778b LUCENE-2872: block-encode terms in between indexed terms
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061453 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 18:53:55 +00:00
Yonik Seeley f320ade2b7 SOLR-2325: allow tagging and exclusion of many query for faceting
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061424 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 17:58:23 +00:00
Uwe Schindler ca0598b3e7 LUCENE-2374: Fix bug in position-sorting - too stupid :(
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061078 13f79535-47bb-0310-9956-ffa450edef68
2011-01-20 00:37:40 +00:00
Yonik Seeley 0a30dcd945 SOLR-1297: fix weighting when sorting by function
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061065 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 23:48:28 +00:00
Robert Muir ede75ff9ae LUCENE-2869: remove Query.getSimilarity
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061050 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 23:03:19 +00:00
Uwe Schindler 460fa90564 LUCENE-2374: Added Attribute reflection API: It's now possible to inspect the contents of AttributeImpl and AttributeSource using a well-defined API
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1061039 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 22:41:16 +00:00
Uwe Schindler 6a9f686f58 Fix some minor issues in TrieTokenizer and also add support for offsets (same way like KeywordTokenizer)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060997 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 21:24:57 +00:00
Yonik Seeley b2cad88aad SOLR-2316: fail early if synonym file not provided
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060846 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 16:11:42 +00:00
Chris M. Hostetter 713f2abd4f SOLR-2318: fix jsp compile error
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060653 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 02:26:34 +00:00
Chris M. Hostetter da841d5969 SOLR-2314: fix test ordering
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060645 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 01:15:07 +00:00
Chris M. Hostetter 886004667a SOLR-2307: followup to ensure consistent ordering of fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060641 13f79535-47bb-0310-9956-ffa450edef68
2011-01-19 00:55:57 +00:00
Chris M. Hostetter 5c1f81c1a0 SOLR-2307: fix bug in PHPSerializedResponseWriter (wt=phps) when dealing with SolrDocumentList objects -- ie: sharded queries
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060585 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 21:30:33 +00:00
Shai Erera 2a0484bd40 LUCENE-2295: remove maxFieldLength (trunk)
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060340 13f79535-47bb-0310-9956-ffa450edef68
2011-01-18 12:01:40 +00:00
Robert Muir aed4a3972d SOLR-2259: warn if you are using a deprecated analysis factory
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1060023 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 17:50:04 +00:00
Robert Muir 56026e37a2 SOLR-1930: remove analysis API deprecations
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1059901 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 12:34:39 +00:00
Robert Muir 6e66286f9d SOLR-2259: warn if you are using a deprecated matchVersion constant
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1059866 13f79535-47bb-0310-9956-ffa450edef68
2011-01-17 11:01:51 +00:00
Michael McCandless a0c82b0f41 LUCENE-2862: add TermsEnum.totalTermFreq() and Terms.getSumTotalTermFreq()
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1059344 13f79535-47bb-0310-9956-ffa450edef68
2011-01-15 14:42:37 +00:00
Simon Willnauer 7913804b28 LUCENE-2865: Pass a context struct to Weight#scorer instead of naked booleans
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1058592 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 14:59:11 +00:00
Simon Willnauer 05565c3b29 fixed testcases which failed with -Dtests.multiplier > 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1058547 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 13:37:26 +00:00
Simon Willnauer 23ad1c0f19 fixed testcases which failed with -Dtests.multiplier > 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1058540 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 13:16:34 +00:00
Simon Willnauer f19e8c58fb LUCENE-2831: Cut over ValueSource#docValues to AtomicReaderContext & removed SolrIndexReader
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1058431 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 07:13:23 +00:00
Koji Sekiguchi 3478bb9358 SOLR-2282: use solr home properly in the test
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1058393 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 02:39:35 +00:00
Robert Muir cfcaa9edcc LUCENE-2846: remove fake norms and invalid uses of Similarity.getDefault
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1058367 13f79535-47bb-0310-9956-ffa450edef68
2011-01-13 00:08:48 +00:00
Simon Willnauer eacfb5d636 LUCENE-2694: Make MTQ rewrite + weight/scorer single pass
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1058328 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 21:38:51 +00:00
Simon Willnauer a04fe4c9a9 fixed testcase which failed with -Dtests.multiplier > 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1058214 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 16:10:14 +00:00
Simon Willnauer 84af9e5b5e fixed testcase which failed with -Dtests.multiplier > 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1058138 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 13:44:22 +00:00
Simon Willnauer 121b79e7e5 fixed testcase which failed with -Dtests.multiplier > 1
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1058131 13f79535-47bb-0310-9956-ffa450edef68
2011-01-12 13:27:38 +00:00