Commit Graph

293 Commits

Author SHA1 Message Date
Erik Hatcher 021f4eef00 Ignore blank queries instead of adding a bum empty one, and change redirect not be hard-coded
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@528295 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 00:36:31 +00:00
Erik Hatcher d116528602 Revert dismax support for the time being - this will be resurrected (with test cases even) in the near future when it works properly
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@528294 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 00:35:37 +00:00
Erik Hatcher a85eefd70a Add XPathMapper, useful for mapping XML file data into Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@525033 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 04:50:54 +00:00
Erik Hatcher 7ab87c4293 Only use symbols for mapping keys. Strings pass through as static field values
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@525031 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 04:49:31 +00:00
Erik Hatcher dcf9e3ea66 Dynamically load all tests for suite.rb (contribution from Josh Goebel)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@524986 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 01:01:25 +00:00
Erik Hatcher 83066b443b Add better update request handler, CVS handler, etc from latest Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@524983 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 00:53:42 +00:00
Erik Hatcher 8756ade7f6 Allow passing through of options to Solr::Connection
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@524982 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 00:52:17 +00:00
Erik Hatcher 421dc4ffc8 add TODO about new xml update handler
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@524981 13f79535-47bb-0310-9956-ffa450edef68
2007-04-03 00:50:17 +00:00
Erik Hatcher 8b7cdb9de1 Fix for clearing constraints, which also cleared saved searches. Added edit saved search action.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522963 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 15:52:53 +00:00
Erik Hatcher 9901f0a29c Fix SimileController that broke with the plugin change
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522710 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 02:00:17 +00:00
Erik Hatcher 79bb0f1421 Add document_by_id method to Flare::Context
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522697 13f79535-47bb-0310-9956-ffa450edef68
2007-03-27 01:33:06 +00:00
Erik Hatcher ff396cac79 Add yield to indexer, allowing client to have final control over the Solr document indexed after the mapping has been made
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522532 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 14:52:39 +00:00
Erik Hatcher cd9862fceb Add support for dismax query
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522527 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 14:33:08 +00:00
Erik Hatcher 6016746b57 The beginnings of a general purpose importer / data mapper in order to feed data into Solr
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522416 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 04:47:56 +00:00
Erik Hatcher 1da74f6678 dismax apparently does not even output a _highlighting_ section in the output unless there is a full-text query to highlight
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522415 13f79535-47bb-0310-9956-ffa450edef68
2007-03-26 04:45:00 +00:00
Erik Hatcher f363315601 add TODO
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522288 13f79535-47bb-0310-9956-ffa450edef68
2007-03-25 15:56:08 +00:00
Erik Hatcher a9500c3a58 Add support for q.alt to Dismax query
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@522287 13f79535-47bb-0310-9956-ffa450edef68
2007-03-25 15:55:04 +00:00
Erik Hatcher aaf20b2670 Move the page number out of session scope into the Context.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@521989 13f79535-47bb-0310-9956-ffa450edef68
2007-03-24 07:40:44 +00:00
Erik Hatcher 8221d93386 Fix install_solr_ruby so duplicate subdirectory is not created on subsequent runs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@521173 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 09:40:04 +00:00
Erik Hatcher 80314c1564 add utility methods to deal with Solr ordered hash maps
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@521084 13f79535-47bb-0310-9956-ffa450edef68
2007-03-22 02:18:41 +00:00
Erik Hatcher b781ee8775 Take advantage of flare as a plugin, removing code that is now in the plugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@520719 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 02:27:05 +00:00
Erik Hatcher e10ac8f652 Start work on flare as a plugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@520716 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 02:24:58 +00:00
Erik Hatcher c537524e01 add empty_constraints? method
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@520713 13f79535-47bb-0310-9956-ffa450edef68
2007-03-21 02:23:53 +00:00
Erik Hatcher 7921ba10d4 Add waitSearcher/waitFlush options to commit request.
Also bumped solr-ruby version to 0.0.2 for the future development.



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@520437 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 15:42:38 +00:00
Erik Hatcher 22305abbd1 Add _display field that is stored, but not indexed
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@520435 13f79535-47bb-0310-9956-ffa450edef68
2007-03-20 15:41:06 +00:00
Erik Hatcher 5f5bd3b620 humanize facet labels, more config work
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@519127 13f79535-47bb-0310-9956-ffa450edef68
2007-03-16 20:21:02 +00:00
Erik Hatcher dc7a3984f1 SOLR-171: Add per-doc and per-field boosts. (contributed by Coda Hale)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@515436 13f79535-47bb-0310-9956-ffa450edef68
2007-03-07 03:06:00 +00:00
Erik Hatcher ccadb5498c introduced FlareContext, added saved search feature, and made things more configurable through SOLR_ENV
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@515272 13f79535-47bb-0310-9956-ffa450edef68
2007-03-06 19:47:55 +00:00
Erik Hatcher c1a58825ce previous commit meant to send document_controller, not browse_controller.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@512207 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 10:21:00 +00:00
Erik Hatcher bb81d5f485 component rendering is much slower than partial rendering, and nothing custom was being done in DocumentController (yet) so switch to partial rendering for now
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@512206 13f79535-47bb-0310-9956-ffa450edef68
2007-02-27 10:19:24 +00:00
Erik Hatcher 69b9438a44 fix issue with empty suggest item - it was the count of all objects that do _not_ have a term (facet.missing) in the text field. ultimately the request made to Solr should not request for missing values on suggest lookups
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@511705 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 02:51:55 +00:00
Erik Hatcher e847eac1c0 Add primitive timeline configurability - ability to set field name used for start/stop dates
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@511698 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 02:21:41 +00:00
Erik Hatcher 3e0352059b leverage SOLR_CONFIG for determining the field name for data information
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@511696 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 02:20:18 +00:00
Erik Hatcher 6ce02c5898 Add custom delcious library view which includes Amazon images
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@511695 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 02:19:31 +00:00
Erik Hatcher c2f542416e Fix off-by-one error with paging, and wetly add going to the first page any time changes to constraints occur.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@511616 13f79535-47bb-0310-9956-ffa450edef68
2007-02-25 21:17:05 +00:00
Erik Hatcher adafb312c4 license/comment update
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@511604 13f79535-47bb-0310-9956-ffa450edef68
2007-02-25 20:52:58 +00:00
Erik Hatcher e136c15822 Add ChineseAnalyzer to the mix for *_zh_text fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@511600 13f79535-47bb-0310-9956-ffa450edef68
2007-02-25 20:38:29 +00:00
Erik Hatcher b6541aa0a7 * Added DocumentController to control search results detail rendering. SOLR_ENV selects one of the
Solr environment configuration mappings defined in environment.rb ('development' by default).  solr.yml
  eliminated (Ruby is a fine configuration language!).

* With the new DocumentController, a few custom results views have been added, one for UVa data (linking to VIRGO),
  Tang poetry example (blending multiple languages), and a default development one that shows all fields returned
  by Solr.

* Added paging to search results, finally.

* Configured in-place-editor of query to redirect, thereby refreshing the view with the changed criteria.

* Set Simile Exhibit/Timeline field mappings to MARC data example.



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@511599 13f79535-47bb-0310-9956-ffa450edef68
2007-02-25 20:37:06 +00:00
Erik Hatcher 55b6b3db9f Change pie color to match CSS look
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@511467 13f79535-47bb-0310-9956-ffa450edef68
2007-02-25 08:45:44 +00:00
Erik Hatcher bebe033fb5 tweaks to suggest popup to avoid overlay issue, lowercased flare as that seems a good persona, and added commas on document display
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510678 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 22:05:16 +00:00
Erik Hatcher 8680e2a02a more of Beths beautification
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510665 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 21:53:03 +00:00
Erik Hatcher 48ca17444f Add Beth Nowviskie's beautiful touch!
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510648 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 20:57:13 +00:00
Erik Hatcher 022e5a8234 Allow filename to be specified on the command-line
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510552 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 15:36:39 +00:00
Erik Hatcher 729c510640 Remove this sample data due to copyrights. It will have to be manually downloaded by individuals
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510401 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 05:11:09 +00:00
Erik Hatcher a8353ff8e4 remove sparklines dependency, replace with staticly generated pie charts, added script/pie.rb to easily regenerate them if necessary
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510399 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 05:02:42 +00:00
Erik Hatcher 185814af86 sample MARC file removed to save space. it is being distributed to the code4lib class separately
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510368 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 03:24:52 +00:00
Erik Hatcher 91a659aff8 pull conf directory up a level, since we no longer have a copy of Solr here
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510359 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 02:50:53 +00:00
Erik Hatcher b58de26d2c Bump default filterCache up even further to accomodate library facets, sheesh
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510348 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 02:22:04 +00:00
Erik Hatcher 2a452383c8 Add placeholder for future Solr Rake tasks
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510347 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 02:21:07 +00:00
Erik Hatcher 57404e1500 add timeout option to Solr::Connection. Net::HTTP has a default of 30 seconds, but a large index requires much longer than that for an optimize, for example
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510346 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 02:19:18 +00:00
Erik Hatcher 57d6f91ad6 Switch all-docs query to new *:* syntax
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510345 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 02:17:13 +00:00
Erik Hatcher 0e5ea39bed Functional tests overhaul. Solr now must be externally installed, and is configurd by default to assume
a full trunk Solr checkout directory structure and points to the example Solr installation.

There are several environment configuration parameters available to control the settings for the functional tests:

   SOLR_CONSOLE:    If true, shows Solr console (default: false)
   SOLR_JETTY_HOME: Directory where Jetty and Solr are installed (default: ../../../example)
   SOLR_JETTY_PORT: Port to launch test Jetty instance (default: 8888)
   SOLR_HOME:       Parent directory of Solr's "conf" directory (default: test)



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509266 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 17:33:11 +00:00
Erik Hatcher f5a83ed4c0 This README is not suitable for solr-ruby at the moment
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509065 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 02:37:56 +00:00
Erik Hatcher 3f405ad9d9 Remove Solr binary installation from solr-ruby directory, lightening the load. Functional tests will require some path adjustments, and developers will be required to point to their own Solr instance
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509064 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 02:37:09 +00:00
Erik Hatcher 11b35c3f78 Rename solrb -> solr-ruby
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509059 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 02:20:25 +00:00
Erik Hatcher 7c68d380ee adjust to renamed file
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508985 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 20:37:04 +00:00
Erik Hatcher cf8e2f176a rename file to be more sensible
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508982 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 20:25:50 +00:00
Erik Hatcher 2bc67ded17 several changes, including warts... almost functional in_place_editor, Solr configuration separation, etc
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508978 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 20:22:10 +00:00
Erik Hatcher 4c14e8ed6f Add sample MARC data file
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508973 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 20:10:26 +00:00
Erik Hatcher 5dd230d169 Add Tang dynastry poetry example importer and data
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508970 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 20:06:11 +00:00
Erik Hatcher fe49f0564c Require Rails 1.2.2 for Flare
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508953 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 19:35:28 +00:00
Erik Hatcher 64319497dd conf directory not needed
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508943 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 18:57:41 +00:00
Erik Hatcher 6ac1068671 Rename solrb to solr-ruby. Long live solrb
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508938 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 18:37:34 +00:00
Erik Hatcher 7b76e70852 Latest Solr WAR, includes Lucene 2.1 and system property features
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508934 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 18:32:07 +00:00
Yonik Seeley a6f0f036ac fix typo + allow multiple param values - Wade Leftwich
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508826 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 23:47:04 +00:00
Erik Hatcher b7e7ea6afe Put back comment that got deleted in last patch application
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508711 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 05:14:05 +00:00
Erik Hatcher d565def0bf Loosen up test_bad_connection to hopefully also work on Windows
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508703 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 03:13:58 +00:00
Erik Hatcher 5f4e9eed88 SOLR-160: work on functional tests functioning on Windows. This commit is a slight tweak to the code contributed by Mel Riffe
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508701 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 02:53:20 +00:00
Erik Hatcher 47f7ed8e39 Add todo note
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508698 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 02:44:45 +00:00
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 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 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 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
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
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
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
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
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
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
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
Erik Hatcher 54bf86c7b8 doing away with brittle case statement
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@501328 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 06:54:50 +00:00
Erik Hatcher 05d7b69626 straggler, creating empty module so it is defined, so classes later can be created as class Solr::ClassName
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@501321 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 06:28:02 +00:00
Erik Hatcher a877d34a49 Cosmetic cleanup, eliminating double nesting of modules which visually reads a bit cleaner, less nesting
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@501320 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 06:27:09 +00:00
Erik Hatcher 8e82ba6386 Define Solr::Request first thing, allowing future simplification of the request class definitions
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@501319 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 06:07:43 +00:00
Erik Hatcher 3051e0a8dd Simplify Solr::Exception - Exception already allows for a message
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@501318 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 06:06:37 +00:00
Erik Hatcher bcc539c7ae Cosmetic cleanup of Rakefile, adding descriptions for all publicly desirable tasks
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@501317 13f79535-47bb-0310-9956-ffa450edef68
2007-01-30 06:05:21 +00:00
Erik Hatcher 7e877bc49f Add more features to the UI: inverting/removing of filters and queries, Ajax suggestion of terms.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@500769 13f79535-47bb-0310-9956-ffa450edef68
2007-01-28 10:15:08 +00:00
Erik Hatcher 8ad1ec2f87 Add TODO note about perhaps replacing our mock with the use of flexmock. Not worth adding this dependency just yet, only when we feel pain in mocking later
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@500588 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 18:49:31 +00:00
Erik Hatcher ee16eafe72 add testcase Coda Hale also contributed, missed in previous commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@500587 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 18:47:56 +00:00
Erik Hatcher f061d45a84 Allow Solr startup-time to be configurable, setting the default down to 5 seconds.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@500584 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 18:43:35 +00:00
Erik Hatcher 1c738dba1f SOLR-121: Add support for multiple document adds. (contributed by Coda Hale)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@500566 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 17:26:54 +00:00
Erik Hatcher 7aef3946df SOLR-120: Add persistent HTTP connections. (contributed by Coda Hale).
Also, some additional commenting and cleanup.



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@500545 13f79535-47bb-0310-9956-ffa450edef68
2007-01-27 15:26:15 +00:00
Erik Hatcher f027d99c6f fix test that fails on zones server by replacing reference to localhost with 127.0.0.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499804 13f79535-47bb-0310-9956-ffa450edef68
2007-01-25 14:31:40 +00:00
Erik Hatcher b85c0cbbd2 Remove Solr specific licenses, leaving it with only ASL for solrb
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499476 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 16:52:48 +00:00
Erik Hatcher 70d1a4f8ce tidy up documentation and add license, preparing for an 0.01 release
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499463 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 16:16:01 +00:00
Erik Hatcher bbf2ddef81 fix tests due to change in symbols to strings in hash
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499443 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 15:28:17 +00:00
Erik Hatcher 29935fe9a7 add TODO about all docs constant
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499440 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 15:25:41 +00:00
Erik Hatcher 7dc02690f9 Add test for field_facets method
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499439 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 15:23:55 +00:00
Erik Hatcher 1bebd85d26 Add helper method to retrieve and sort facets
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499438 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 15:23:11 +00:00
Erik Hatcher f294acbcd7 :"word.word" symbols make rdoc unhappy, unfortunately, so changed them to just strings
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499433 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 15:19:26 +00:00
Erik Hatcher 07a87711db add TODO listing task to Rakefile
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499431 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 15:09:51 +00:00
Erik Hatcher 39c8be6447 Add support for new facet.prefix feature
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499218 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 02:59:17 +00:00
Erik Hatcher 2f37fb1633 add some additional facet mappings to MARC importer example
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499216 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 02:57:50 +00:00
Erik Hatcher 4dffe932f5 Add some comments about auto-commit
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498663 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 15:57:13 +00:00
Erik Hatcher 0e560eccfa Upgrade to Rails 1.2, only this JavaScript file changed in the application itself
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498511 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 02:38:55 +00:00
Erik Hatcher da5722fa35 Omit functional tests from gem as the overhead of a Solr server and risk someone would run functional tests against an existing Solr instance and remove all documents is not worth it at this point
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498454 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 21:04:39 +00:00
Erik Hatcher 80606b5f15 Bring test coverage back to 100 percent
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498447 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 20:42:14 +00:00
Erik Hatcher d5bc3ec4ba add new indexinfo request capability
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498440 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 20:00:18 +00:00
Erik Hatcher 189ffc877c Push @response down into Request::Standard, because not all Ruby responses have a response key
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498439 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 19:58:54 +00:00
Erik Hatcher 18e95b18a7 Remove creating new Solr::Document in #add, as AddDocument.new already does this. This change allows a SolrDocument to be passed to #add/#update, instead of just a Hash
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498436 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 19:54:53 +00:00
Erik Hatcher b9f5817c3c remove temporary test data directory before running functional tests, and convert to rm_rf instead of rm_f in other places, and also set the default task to unit test instead of unit+functional tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498428 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 19:11:34 +00:00
Erik Hatcher 7b6a592110 Clean up test language. Sorry I didn't catch this earlier in Ed's patch.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498392 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 16:08:31 +00:00
Erik Hatcher 96922ef419 crude search / faceted UI, requires faceted fields to be *_facet
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496984 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:39:56 +00:00
Erik Hatcher 3250a9b7b9 add ASL to several files
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496983 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 10:37:56 +00:00
Erik Hatcher 9373fa3f45 update to facet parameter changes to Solr via SOLR-106
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496954 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 07:57:48 +00:00
Erik Hatcher bd3e81a1a8 add TODO discussion comment to ruby.rb
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496953 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 07:55:00 +00:00
Erik Hatcher 59f0a1bc46 Update example to use _text field name and have explicit require/include code too, suitable for copy/pasting right into irb to work it, and cleaned up output
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496939 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 05:44:37 +00:00
Erik Hatcher db6cbaa709 adjust README to have autocommit specified so the rest of the example works as-is
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496872 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 22:03:44 +00:00
Erik Hatcher 8b963995a0 SOLR-111: add new response classes and enhance connection. one change i made was to make autocommit off by default and use a symbol for :on/:off
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496871 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 22:02:29 +00:00
Erik Hatcher b8ac946026 SOLR-111: add new response classes and enhance connection. one change i made was to make autocommit off by default and use a symbol for :on/:off
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496870 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 22:02:13 +00:00
Erik Hatcher ce8064d4bb temporary change, make parsed response publicly available until facets are robustly implemented. seems odd that facet response is not inside the *response* container though
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496865 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 21:29:59 +00:00
Erik Hatcher 4f85c3998b Exempt nil parameters from the Solr request
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496863 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 21:28:44 +00:00
Erik Hatcher 4c8747190b oops, broke a test, fixed when a field value does not respond to :each
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496821 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 19:01:13 +00:00
Erik Hatcher ebfafc6d63 Add more MARC mappings. Add a -debug switch to dump documents to stdout instead of sending to Solr
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496805 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 18:06:18 +00:00
Erik Hatcher c7d72e0e5a allow facets and text fields to be multi-valued
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496803 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 18:05:11 +00:00
Erik Hatcher 718618922c upgrade to newer trunk build of solr
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496801 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 18:04:50 +00:00
Erik Hatcher 5e4dcfa889 Allow field hash to take an array for values
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496797 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 17:50:55 +00:00