Commit Graph

675 Commits

Author SHA1 Message Date
Erik Hatcher 5d96061ff1 upgrade solr, leverage new property substitution feature, adjusted basic tokenization settings
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508697 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 02:44:05 +00:00
Erik Hatcher 72ef071e96 Correct javadocs with the exception behavior
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508487 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 16:47:30 +00:00
Erik Hatcher 33c0b65e47 SOLR-79: Add system property ${<sys.prop>[:<default>]} substitution for
configuration files loaded, including schema.xml and solrconfig.xml.
    (Erik Hatcher with inspiration from Andrew Saar)



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508485 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 16:42:49 +00:00
Erik Hatcher 7f130dd630 Add full title text, asin and published year, as well as moved publisher to facet
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508292 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 03:02:03 +00:00
Erik Hatcher 4a33261c27 Add year, call number, isbn, and filename to the documents. note that the filename_facet is not currently generalizable and specific to the data files i load, which are numbered but this should not be a problem
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508291 13f79535-47bb-0310-9956-ffa450edef68
2007-02-16 03:01:11 +00:00
Erik Hatcher ea7d510901 Adjust Lucene version value to be a String rather than an numeric. I found a case with Ruby where the numeric
was too big to laod when serialiized to a YAML file (maybe this is an edge case?).  It is unlikely that a client
needs to use this as a numeric anyway, but rather as a comparison against later calls to the IndexInfoRequestHandler.




git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@507825 13f79535-47bb-0310-9956-ffa450edef68
2007-02-15 05:33:11 +00:00
Erik Hatcher c3d36ff179 SOLR-159: Fix DisMax sorting (contributed by Coda Hale)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@507493 13f79535-47bb-0310-9956-ffa450edef68
2007-02-14 11:46:02 +00:00
Erik Hatcher cb2e229a7c Add SIMILE Timeline view, currently specific to the Delicious Library dataset
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@506457 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 14:20:17 +00:00
Erik Hatcher b764a44a18 SOLR-154: more on Rake task to package solrb gem into Rails vendor/pluginsn subdirectory
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@506424 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 11:33:42 +00:00
Erik Hatcher e5c7e68e40 SOLR-155: Fix field contents escaping (patch provided by Coda Hale)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@506420 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 11:27:01 +00:00
Erik Hatcher 6b81f79ae9 clean up imports
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@506221 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 02:08:19 +00:00
Erik Hatcher 2db80e7db1 SOLR-157: Fixed NPE caused by index fields which do not appear on schema.xml. (contributed by Ryan McKinley)
Also relocated package from request package to handler package, and removed experimental warning.



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@506187 13f79535-47bb-0310-9956-ffa450edef68
2007-02-12 00:21:36 +00:00
Erik Hatcher da1f585799 fix up the generated license
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@505501 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 21:03:33 +00:00
Erik Hatcher b4ed197ef1 SOLR-154: Updated tasks to package Rails vendor/plugins structure
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@505499 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 21:01:18 +00:00
Mike Klaas b5a9abd793 Cancel pending autocommits on DUH2.close()
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@505114 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 01:20:13 +00:00
Erik Hatcher e61bc593d0 add dismax handler to config
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@505110 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 01:04:06 +00:00
Erik Hatcher cd44713a89 SOLR-151: Added <optimize/> command support. Also, committing a few files missed from previous dismax support commit.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@505109 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 01:03:34 +00:00
Erik Hatcher 4ac217681f SOLR-150: Add rake task to easily package solrb for use in a Rails app's vendor directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@505107 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 00:51:19 +00:00
Erik Hatcher cf8186165b SOLR-146: fix Solr::Response::Base.make_response raises misleading exception when response class exists but raises an exception on creation
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@505106 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 00:46:40 +00:00
Erik Hatcher d0b674a2a8 SOLR-147: Add DisMax support
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@505105 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 00:43:32 +00:00
Erik Hatcher 33d170b6bc add highlighting support to Standard request
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@505102 13f79535-47bb-0310-9956-ffa450edef68
2007-02-09 00:39:50 +00:00
Mike Klaas 38e272fe23 empty directory for Ryan
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@505069 13f79535-47bb-0310-9956-ffa450edef68
2007-02-08 22:36:21 +00:00
Erik Hatcher 667aba96f2 add sparklines pie charts by the facet counts
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@504694 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 21:03:29 +00:00
Erik Hatcher e3991438b3 add SIMILE Exhibit graphic
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@504693 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 21:02:30 +00:00
Erik Hatcher cb0cb9359e handy rake addition to list routes
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@504689 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 20:57:32 +00:00
Chris M. Hostetter a3775daf45 fix for SOLR-145, some Exceptions were being ignored by RequestHandlers
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@504683 13f79535-47bb-0310-9956-ffa450edef68
2007-02-07 20:48:10 +00:00
Yonik Seeley 28cb43d63b upgrading note about JSON response format
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@504233 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 18:33:53 +00:00
Erik Hatcher 8b194f6d2a SOLR-122: Add optional support for libxml2, with fall back to REXML if libxml is not installed. (Contributed by Coda Hale)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@504077 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 11:13:14 +00:00
Erik Hatcher 60766a8813 Make test more lenient, as it seems Solr changed its error reporting format a bit to include
the full stack trace.  Eventually I think the exception message and stack trace should be separated
in the response so a client could pull out just the message easily.



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@504076 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 11:11:47 +00:00
Erik Hatcher 844f80c67d removing superfluous return statements
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@504071 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 10:47:24 +00:00
Erik Hatcher 42db0f20fe Upgrade Solr support with modified facet data structure.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@504067 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 10:34:44 +00:00
Erik Hatcher 32280db869 Add gunzip capability to MARC importer
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@504065 13f79535-47bb-0310-9956-ffa450edef68
2007-02-06 10:30:06 +00:00
Mike Klaas 57fef31f73 Modified AutoCommitTest to add an superfluous document when expecting a commit to occur. This
should block if by chance the commit is taking too long.  Possible caveat: delays might also 
cause extra commits.

 --This line, and those below, will be ignored--

M    src/test/org/apache/solr/update/AutoCommitTest.java


git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503885 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 21:32:02 +00:00
Yonik Seeley 64166984f6 handle null key for json.nl=flat
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503795 13f79535-47bb-0310-9956-ffa450edef68
2007-02-05 18:22:04 +00:00
Yonik Seeley 24d527bb51 change dataDir to return dir containing index
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503488 13f79535-47bb-0310-9956-ffa450edef68
2007-02-04 21:33:20 +00:00
Erik Hatcher 7dec1958a4 Add SIMILE Exhibit view of the currently filtered set, as proof-of-concept.
Adjusted CSS, improved UI dramatically, even including a logo in the header.



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503379 13f79535-47bb-0310-9956-ffa450edef68
2007-02-04 09:42:05 +00:00
Erik Hatcher 32d4ad8b3b Added author and page count to import. Adjusted schema to not stem or remove stop words.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503377 13f79535-47bb-0310-9956-ffa450edef68
2007-02-04 09:39:55 +00:00
Erik Hatcher c06fe80ce9 SIMILE Exhibit support (prototype) - Tada!
Also started adding some CSS.




git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503361 13f79535-47bb-0310-9956-ffa450edef68
2007-02-04 05:44:09 +00:00
Erik Hatcher e86589e75b remove unnecessary bin directory
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503180 13f79535-47bb-0310-9956-ffa450edef68
2007-02-03 07:37:25 +00:00
Erik Hatcher 36c2419c6b Fix up requires so tests can run from TextMate, and of course still with rake
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503179 13f79535-47bb-0310-9956-ffa450edef68
2007-02-03 07:36:54 +00:00
Erik Hatcher ff7c75418b Add Delicious Library <http://www.delicious-monster.com/> importer and small sample set. This is way more fun than processing MARC records!
To launch Solr properly for this dataset, cd solr: java -Dsolr.solr.home=../examples/delicious_library/ -jar start.jar - this will keep this index separate
from any others you may be experimenting with.



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503178 13f79535-47bb-0310-9956-ffa450edef68
2007-02-03 07:36:04 +00:00
Mike Klaas a77b94cfe4 Patches autocommit max docs test to be less time-sensitive
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503169 13f79535-47bb-0310-9956-ffa450edef68
2007-02-03 03:59:04 +00:00
Erik Hatcher dcbcfd7e8f Ruby solrshell
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@503167 13f79535-47bb-0310-9956-ffa450edef68
2007-02-03 03:45:31 +00:00
Mike Klaas b0a23e258e fixed typo in test solrconfig.xml
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@502500 13f79535-47bb-0310-9956-ffa450edef68
2007-02-02 05:13:13 +00:00
Erik Hatcher 08597d09c8 SOLR-134: Handle Time values using UTC + ISO 8691 representation (contributed by Coda Hale)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@502480 13f79535-47bb-0310-9956-ffa450edef68
2007-02-02 04:33:21 +00:00
Erik Hatcher 162cbb9891 SOLR-132: Add tests to verify roundtripping of accented characters from solrb API to Solr (contributed by Antonio Eggberg)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@502465 13f79535-47bb-0310-9956-ffa450edef68
2007-02-02 03:20:08 +00:00
Mike Klaas 6d18f027e0 Commit SOLR-126. Omitted the typed collection change in DUH2 (trunk has been updated), and
added autocommits to the stats tracked by DUH2


git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@502328 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 19:40:26 +00:00
Erik Hatcher 7e18144473 html escape the field values to be displayed, so we get the nicetag shown
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@502127 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 05:22:10 +00:00
Erik Hatcher 70897331c0 an example of the accented characters of the example data being displayd from Flare via solrb
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@502126 13f79535-47bb-0310-9956-ffa450edef68
2007-02-01 05:16:11 +00:00
Yonik Seeley b6dd62544d SimpleOrderedMap, JSON named list changes: SOLR-125
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@501512 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 18:36:32 +00:00