Commit Graph

69 Commits

Author SHA1 Message Date
Erik Hatcher 54e45e64d8 Remove helper method that was pushed down to the plugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@581036 13f79535-47bb-0310-9956-ffa450edef68
2007-10-01 18:51:19 +00:00
Erik Hatcher b1a09b7379 Move flare helper method into plugin too
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@580343 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 13:18:42 +00:00
Erik Hatcher aa1e9e1064 Minor formatting changes, and exposed Solr::Connection from Context
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579880 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 02:59:33 +00:00
Erik Hatcher 8b242f76ee Add templates to the plugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579879 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 02:58:47 +00:00
Erik Hatcher d2ba024634 Remove SIMILE link from default view - it will come back as a configuration option somehow
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579878 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 02:58:29 +00:00
Erik Hatcher fdfcbf0d30 Move layout and routes to flare plugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579748 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 18:27:23 +00:00
Erik Hatcher 0658c38980 remove views now within the Flare plugin
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579352 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 19:03:57 +00:00
Erik Hatcher d7bd3f981a Add Rails Engines, MIT licensed. And move the heart of Flare's UI into the plugin where it belongs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579351 13f79535-47bb-0310-9956-ffa450edef68
2007-09-25 19:01:11 +00:00
Erik Hatcher a69eeb2674 fix such that running tests works ok without a database, sheesh
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540693 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:40:28 +00:00
Erik Hatcher f2837a8ab0 sparklines is not used in flare, remove auto-generated test
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540686 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:32:06 +00:00
Erik Hatcher 1e0e887878 Adjust test for Luke request handler response
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540685 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:30:23 +00:00
Erik Hatcher 6bd5301ed5 Allow suggest field to be configured with a suggest_field option to the flare method
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540684 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:29:25 +00:00
Erik Hatcher 4bddbd8363 add simile_helper to avoid warning in logs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540683 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:28:09 +00:00
Erik Hatcher add862af79 Adjust delicious library view for change in asin field name
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540682 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:26:53 +00:00
Erik Hatcher b681326861 Adjust delicious library view for change in asin field name
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540681 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:26:37 +00:00
Erik Hatcher 766f825fe6 Improve the save constraints feature to only show the save box when save is clicked
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540563 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 12:38:46 +00:00
Erik Hatcher bcf88974a9 getting a start on some Flare plugin unit tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@529547 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 09:58:19 +00:00
Erik Hatcher 690dbac32c add sorting capability to Flare::Context
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@528431 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 10:34:14 +00:00
Erik Hatcher 46873c3ccc Update to require Rails 1.2.3
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@528296 13f79535-47bb-0310-9956-ffa450edef68
2007-04-13 00:37:31 +00:00
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 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 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 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 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 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 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 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 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 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 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 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 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 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