Commit Graph

864 Commits

Author SHA1 Message Date
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
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 efe631cc57 adding doap
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508862 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 04:14:25 +00:00
Yonik Seeley 28d75b04bc make solr more easily embeddable: SOLR-149
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508859 13f79535-47bb-0310-9956-ffa450edef68
2007-02-18 03:33:13 +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
Yonik Seeley 304d6f86ff upgrade to Lucene 2.1
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508806 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 20:48:20 +00:00
Yonik Seeley 3e80baf529 try to distinguish between quote as a string delimiter or something else: SOLR-140
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@508805 13f79535-47bb-0310-9956-ffa450edef68
2007-02-17 20:42:45 +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 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