Commit Graph

643 Commits

Author SHA1 Message Date
Yonik Seeley 6fdf11d7aa fix synonymfilter offsets: SOLR-167
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@513517 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 21:36:36 +00:00
Yonik Seeley 52d00cda6a fix display of multiple tokens at same position: SOLR-168
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@513152 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 05:46:34 +00:00
Yonik Seeley 50c59eb8b6 upgrade to commons-fileupload-1.2
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@513147 13f79535-47bb-0310-9956-ffa450edef68
2007-03-01 05:31:21 +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
Chris M. Hostetter 919a3881d0 SOLR-173 - fix for 'too many open files' - close requests at end of SolrDispatchFilter, and only get Searcher in response writers if it's actually needed.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@511970 13f79535-47bb-0310-9956-ffa450edef68
2007-02-26 19:42:21 +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
Chris M. Hostetter 81fef0c161 reverting some of Erik's recent changes to the SolrQueryParser constructor and implementing the intent in a new IndexSchema.getSolrQueryParser method
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510689 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 22:18:02 +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
Mike Klaas 72ee2ce324 finished removing old HL params
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510436 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 07:58:44 +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 4702ce2e7c remove empty dir
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510361 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 02:57:00 +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
Mike Klaas 2ca3943e78 - moved highlighting-specific classes to Highlighting Utils.java
- brace consistency in HU.java
 - removed unused final static in SolrPArams (should highlighting param defs be moved here?)


git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510338 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 01:38:47 +00:00
Erik Hatcher 3b968a0bc9 QueryParsing.parseQuery(String,IndexSchema) and QueryParsing.parseQuery(String,String,IndexSchema) now
respects the schema.xml <solrQueryParser defaultOperator="..."/> setting.  Before, only
QueryParsing.parseQuery(String,String,SolrParams,IndexSchema) respected the schema setting.

SolrQueryParser itself now sets the default operator based on the schema setting, and is overridden
with the q.op param when the latter QueryParsing.parseQuery() method is used.



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510334 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 01:00:23 +00:00
Chris M. Hostetter 95158fda84 indenting cleanup
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510328 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 00:41:57 +00:00
Chris M. Hostetter 0aa2a95ee7 SOLR-158: new qs (Query Slop) param for DisMaxRequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510325 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 00:37:51 +00:00
Chris M. Hostetter a76bf773c6 SOLR-152 - support for q.alt in dismax handler so requests without query strings can return results based on whatever alternate query is configured
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510322 13f79535-47bb-0310-9956-ffa450edef68
2007-02-22 00:22:10 +00:00
Otis Gospodnetic 85e27f07de - Cosmetics
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@510056 13f79535-47bb-0310-9956-ffa450edef68
2007-02-21 15:30:22 +00:00
Bertrand Delacretaz 5ea4bd68b6 SOLR-164, use the SOLR-86 client in examples of the Solr tutorial
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509455 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 08:22:27 +00:00
Bertrand Delacretaz beb009b8d8 add README mentioning http://wiki.apache.org/solr/Website_Update_HOWTO
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509454 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 08:21:37 +00:00
Chris M. Hostetter e1c7613805 SOLR-166 - JNDI solr.home code refactoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509407 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 01:41:34 +00:00
Chris M. Hostetter cacf143d65 SOLR-166 - JNDI solr.home code refactoring
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509406 13f79535-47bb-0310-9956-ffa450edef68
2007-02-20 01:38:26 +00:00
Chris M. Hostetter 5ddfe531ed small bug fix from Ryan over email...
: If you commit a document while the updater is autocommiting, it is
: likely to immediatly start another autocommit (unless you are also
: using maxDocs).
: 
: Here is the one line patch to fix it:


git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509349 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 21:54:58 +00:00
Chris M. Hostetter 062850fe7a svn ignore post.jar in exampledocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509341 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 21:41:28 +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
Bertrand Delacretaz 4d3d23a806 Explicit version number added ($Id didn't work in a constant?)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509119 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 07:58:10 +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 6248e8f2e2 binary of post.jar not needed
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509062 13f79535-47bb-0310-9956-ffa450edef68
2007-02-19 02:28:05 +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 a88d95bc07 Check in binary post.jar to make life easier for curl unfriendly environments
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509013 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 22:17:33 +00:00
Erik Hatcher 4ac02f06f8 SOLR-86: SimplePostTool, contributed by Bertrand Delecretaz
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@509009 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 21:30:03 +00:00