Commit Graph

94 Commits

Author SHA1 Message Date
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 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
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
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
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
Chris M. Hostetter 3c603b2aea SOLR-104 - Support for Update Plugins: giving RequestHandlers access to ContentStreams, new URL structure allowing for more RESTful URLs, common baseclass for RequestHandlers, refactoring existing XML based updates into a RequestHandler
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@501174 13f79535-47bb-0310-9956-ffa450edef68
2007-01-29 20:33:21 +00:00
Yonik Seeley dcb98c1eca generics for NamedList: SOLR-107
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@500050 13f79535-47bb-0310-9956-ffa450edef68
2007-01-25 23:22:52 +00:00
Yonik Seeley 8cf4a87acb facet.prefix: SOLR-117
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@499834 13f79535-47bb-0310-9956-ffa450edef68
2007-01-25 16:32:01 +00:00
Yonik Seeley befe8bd62b negative queries: SOLR-80
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498813 13f79535-47bb-0310-9956-ffa450edef68
2007-01-22 21:23:22 +00:00
Yonik Seeley 33ad0e6975 HashDocSet new hash, union, andNot: SOLR-114
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@498246 13f79535-47bb-0310-9956-ffa450edef68
2007-01-21 05:46:31 +00:00
Yonik Seeley b2ec237b5d remove incubating from CHANGES, test svn move
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@497238 13f79535-47bb-0310-9956-ffa450edef68
2007-01-17 23:16:59 +00:00
Yonik Seeley b9e804e032 facet.mincount,facet.offset,facet.sort params: SOLR-106
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@496811 13f79535-47bb-0310-9956-ffa450edef68
2007-01-16 18:26:14 +00:00
Erik Hatcher daa6ab89ca spellcheck
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495841 13f79535-47bb-0310-9956-ffa450edef68
2007-01-13 05:19:47 +00:00
Yonik Seeley 92c5c6933c throw error for missing sort direction, sort on unindexed field: SOLR-99 SOLR-9
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495772 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 22:48:44 +00:00
Yonik Seeley 6e43239634 maxWarmingSearchers: SOLR-91
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@495753 13f79535-47bb-0310-9956-ffa450edef68
2007-01-12 22:00:08 +00:00
Chris M. Hostetter a2beac1e38 SOLR-89 new PatternReplaceFilter, TrimFilter, and corrisponding Factories
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@494675 13f79535-47bb-0310-9956-ffa450edef68
2007-01-10 01:18:38 +00:00
Chris M. Hostetter 21b830ba5c SOLR-82 - allow default field values to be specified in the schema.xml
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@493170 13f79535-47bb-0310-9956-ffa450edef68
2007-01-05 20:12:18 +00:00
Mike Klaas 4202fc353f Changed the query processed by the highlighter for DisMax: instead of using the whole query
(which included boost and filter terms), the highlighting will be limited to the user's query 
terms by default.

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

M    CHANGES.txt
M    src/java/org/apache/solr/request/DisMaxRequestHandler.java


git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@492793 13f79535-47bb-0310-9956-ffa450edef68
2007-01-04 22:47:54 +00:00
Chris M. Hostetter e44e51ece0 SOLR-92: better handling of Attributes in DOMUtils.getText
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@489961 13f79535-47bb-0310-9956-ffa450edef68
2006-12-24 01:10:00 +00:00
Yonik Seeley 36e388040b fix escapes in StrUtils.split*: SOLR-87
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@488728 13f79535-47bb-0310-9956-ffa450edef68
2006-12-19 17:08:17 +00:00
Yonik Seeley c900566f79 bump version numbers
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@487935 13f79535-47bb-0310-9956-ffa450edef68
2006-12-17 03:37:59 +00:00
Chris M. Hostetter 6c995edfc2 SOLR-74 - user input wasn't being HTML escaped when echoed back on the page
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@487773 13f79535-47bb-0310-9956-ffa450edef68
2006-12-16 08:38:09 +00:00
Chris M. Hostetter dc2d6485ff SOLR-78 - replaced usage of Node.getTextContent with new helper method which allows Solr to work with DOM Level 2 parsers instead of requiring DOM Level 3
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@487438 13f79535-47bb-0310-9956-ffa450edef68
2006-12-15 03:32:28 +00:00
Yonik Seeley 65b37766d6 docs: version back-compat
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@487286 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 18:15:08 +00:00
Bertrand Delacretaz 7fdba93037 SOLR-59, make echoParams=explicit the default in the example config
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@487204 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 13:20:15 +00:00
Bertrand Delacretaz 17dee73e4e SOLR-59, copy request parameters to Solr's response
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@487199 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 13:03:40 +00:00
Yonik Seeley fd37d3620f adding intro and release notes type stuff to CHANGES
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@486976 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 05:48:58 +00:00
Chris M. Hostetter c86a81b90e when i added the version numbers to the Info page, I created some new temp variables in _info.jsp (assuming the numbers might be useful on other pages as well) that wound up conflicting with a temp variable already in use in distribution.jsp ... this commit cleans up _info.jsp so that only variables we want to bleed into the other JSPs do so.
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@486907 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 00:30:34 +00:00
Chris M. Hostetter b2fcbed95b SOLR-70 - better parsing of pingQuery ... it's still not a very clean syntax, but at least it's now possible to have any pingQuery you want and it will acctaully respect multiple query params
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@486904 13f79535-47bb-0310-9956-ffa450edef68
2006-12-14 00:15:45 +00:00
Otis Gospodnetic 88b053e2cb - SOLR-58: make admin pages return XML and transform them to HTML using XSL
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@486373 13f79535-47bb-0310-9956-ffa450edef68
2006-12-12 22:24:47 +00:00
Chris M. Hostetter d06948412d per suggestion on solr-user, added a mime-mapping for .xsl files to the web.xml so that the mime-type will be set correctly even if the servlet container doesn't have one configured. used application/xslt+xml instead of application/xml based on W3C XSLT recommendation since 2003/May ... tested in Firefox2 and IE6
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@485856 13f79535-47bb-0310-9956-ffa450edef68
2006-12-11 20:30:02 +00:00
Chris M. Hostetter db54dcf890 war now contains the solr jar, instead of the direct class files ... this also allows us to display the MANIFEST.MF version info on registry.jsp (it can't read from the WAR's manifest for some reason)
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@483872 13f79535-47bb-0310-9956-ffa450edef68
2006-12-08 08:01:51 +00:00
Yonik Seeley 462ca75cb9 useColdSearcher: LUCENE-77
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@482875 13f79535-47bb-0310-9956-ffa450edef68
2006-12-06 03:25:43 +00:00
Chris M. Hostetter fc9694bd2f new numeric build property specversion added so we can ensure our manifest files have a purely numeric Specification-Version
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@482538 13f79535-47bb-0310-9956-ffa450edef68
2006-12-05 07:34:22 +00:00
Yonik Seeley d7e5cc00dc added incubation disclaimer to CHANGES.txt per incubator
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@481280 13f79535-47bb-0310-9956-ffa450edef68
2006-12-01 16:35:42 +00:00
Chris M. Hostetter eb897e53d0 cleaning up the forms on index.jsp and form.jsp ... main motivation was to get rid of hte stylesheet param since it's pretty much worthless, but i also wanted to try and make the only options displayed on form.jsp things that were general enough to apply to any combination of request handler / response writer pair that comes out of the box ... i deliberatley didn't include all of the highlight and facet params however, because I wasworred that would make the page too cluttered.
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@481116 13f79535-47bb-0310-9956-ffa450edef68
2006-12-01 00:16:46 +00:00
Chris M. Hostetter c5dbbf9f4a SOLR-3 Removed src/apps containing the legacy SolrTest app
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@480683 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 18:58:27 +00:00
Yonik Seeley 75164dd17a license updates
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@480395 13f79535-47bb-0310-9956-ffa450edef68
2006-11-29 04:30:33 +00:00
Mike Klaas c982fdedd6 SOLR-52 lazyfields patch implemented.
I am going to commit this with solrconfig defaulting to disabling lazyfields and use it in my 
application.  When I'm satisfied with the behaviour, I'll close SOLR-52 and perhaps enable 
lazyfields as the default option.



git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@479793 13f79535-47bb-0310-9956-ffa450edef68
2006-11-27 22:40:21 +00:00
Chris M. Hostetter 57653c5490 SOLR-71: Date Math for DateField
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@477465 13f79535-47bb-0310-9956-ffa450edef68
2006-11-21 01:55:05 +00:00
Yonik Seeley bd7fe4c6bb add subersion revision numbers for lucene nightlies
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@476187 13f79535-47bb-0310-9956-ffa450edef68
2006-11-17 15:59:32 +00:00
Mike Klaas 383145546b updated to lucene nightly 2006-11-15
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@475475 13f79535-47bb-0310-9956-ffa450edef68
2006-11-15 22:41:57 +00:00
Chris M. Hostetter 11d9ba2463 SOLR-68 - new ClassLoader that knows about jars in solr/lib/ used for accessing resources specified in Config files, ie: plugins. Added example/solr/README.txt while i was at it so the various subdirs including 'lib' would be documented.
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@474625 13f79535-47bb-0310-9956-ffa450edef68
2006-11-14 02:05:32 +00:00
Mike Klaas 5cd72ec45a checked patch for SOLR-65
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@472720 13f79535-47bb-0310-9956-ffa450edef68
2006-11-09 00:43:54 +00:00
William Au 0a428ad3fb check solr return code
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@472148 13f79535-47bb-0310-9956-ffa450edef68
2006-11-07 16:07:57 +00:00
Mike Klaas 2c71186808 BugFix: field boosts were being ignored and doc boosts applied to fields rather than the doc
(testcase + fix)


git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@471059 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 23:44:11 +00:00
William Au 4ffd204da6 SOLR-63 - blackslash escape * in ssh command used in snappuller for zsh compatibility
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@470950 13f79535-47bb-0310-9956-ffa450edef68
2006-11-03 19:01:31 +00:00
Yonik Seeley d2fbaf889f added json.wrf, wrapper function: SOLR-56
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@465369 13f79535-47bb-0310-9956-ffa450edef68
2006-10-18 20:58:27 +00:00
Chris M. Hostetter 1a12258057 SOLR-49 - new XSLTResponseWriter for server side XSLT processing, and a new QueryResponseWriter.init(NamedList) method
git-svn-id: https://svn.apache.org/repos/asf/incubator/solr/trunk@465317 13f79535-47bb-0310-9956-ffa450edef68
2006-10-18 17:53:08 +00:00