Ryan McKinley
39e99c9a63
1. remove @deprecated servlets: /select and /update from JettySolrRunner (added in 1.3)
...
2. added a main() function to JettySolrRunner so you can easily debug the example setup from within eclipse
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@580763 13f79535-47bb-0310-9956-ffa450edef68
2007-09-30 18:34:38 +00:00
Erik Hatcher
95803ec77e
Remove old TODO
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@580485 13f79535-47bb-0310-9956-ffa450edef68
2007-09-28 20:58:35 +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
ebf602df89
SOLR-359: LukeResponse.FieldInfo should expose the selected flags info and the indexInfo
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@580089 13f79535-47bb-0310-9956-ffa450edef68
2007-09-27 16:43: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
56ceddd6c0
Add Spellcheck support
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@579743 13f79535-47bb-0310-9956-ffa450edef68
2007-09-26 18:04:49 +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
Ryan McKinley
6d8ae540e2
SOLR-215 -- extracting multicore config stuff from SOLR-350. This does three key things (that will make SOLR-350 easier to maintain)
...
1. extract SolrCore from SolrRequestParser -- this lets it be shared across cores
2. go back to the 1.2 interface for XmlUpdateRequestHandler
public void doLegacyUpdate(Reader input, Writer output)
3. add a constructor to Config that lets you set the instanceDir explicitly (otherwise it forced static and needs to be specified as a property)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@578507 13f79535-47bb-0310-9956-ffa450edef68
2007-09-22 21:44:38 +00:00
Ryan McKinley
da32f1d023
SOLR-360 -- removing static JUnit references
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577437 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 20:33:03 +00:00
Ryan McKinley
aec2619ae0
SOLR-260 -- adding solrj tests for fast concurrent updates. With the commited low number for threads and docs, these would not always fail. But increasing the number takes a long time to run.
...
I think we should leave it low and let people increase the value for performance testing... these will fail if something is amiss with concurancy even at low numbers.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577427 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 19:53:11 +00:00
Ryan McKinley
533f5cb7a5
SOLR-361 : refactor solrj tests so they are more extendable
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577394 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 17:31:05 +00:00
Yonik Seeley
c364ddd185
make solr.py work with current server
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@577338 13f79535-47bb-0310-9956-ffa450edef68
2007-09-19 15:55:56 +00:00
Ryan McKinley
deafb3207e
escape all non-alpha/numeric characters with \
...
Thanks erik. See also: 575369
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@575809 13f79535-47bb-0310-9956-ffa450edef68
2007-09-14 22:45:02 +00:00
Ryan McKinley
4d8f34f394
ClientUtils escapes !
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@575369 13f79535-47bb-0310-9956-ffa450edef68
2007-09-13 16:51:35 +00:00
Ryan McKinley
1bccc85177
ClientUtils also needs to escape the slop: ~
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@575064 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 20:19:13 +00:00
William Au
39328264aa
use a combination of default values that is supported by Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@574920 13f79535-47bb-0310-9956-ffa450edef68
2007-09-12 12:40:55 +00:00
William Au
14e8c34757
SOLR-352: remove duplicated commit and optimize
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@574608 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 14:19:38 +00:00
William Au
7f54a7c94e
SOLR-335: work-around in lieu of PingRequestHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@574605 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 14:18:03 +00:00
William Au
2b25ec85ef
SOLR-335: work-around in lieu of PingRequestHandler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@574600 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 14:08:39 +00:00
Ryan McKinley
31480199dd
solrj upgrade to commons-httpclient-3.1.jar (API is compatible)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@574434 13f79535-47bb-0310-9956-ffa450edef68
2007-09-11 02:18:18 +00:00
Ryan McKinley
e3dacf01c7
SOLR-215 -- removing the core name and 'cores' registry stuff. this should be part of SOLR-350, not SolrCore
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573950 13f79535-47bb-0310-9956-ffa450edef68
2007-09-09 05:59:56 +00:00
Ryan McKinley
ec60f7a3ca
Force the server to stop at shutdown. Hopefully this will help our tests pass regularly while running on hudson.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573897 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 19:47:01 +00:00
Ryan McKinley
5f003559b5
SOLR-215 - remove static singleton for SolrCore. This commit enables multiple solr cores, but does not yet provide an interface to manage them. This is a rather substantial change.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573893 13f79535-47bb-0310-9956-ffa450edef68
2007-09-08 19:03:54 +00:00
Erik Hatcher
112796dd03
Add test to check the proper parsability of CHANGES.yml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573430 13f79535-47bb-0310-9956-ffa450edef68
2007-09-07 02:47:47 +00:00
Erik Hatcher
843b9fe797
Fix YAML parsing issue
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573296 13f79535-47bb-0310-9956-ffa450edef68
2007-09-06 15:24:27 +00:00
Mike Klaas
d38a98d85a
SOLR-299: python client will be replaced, but fix a buglet in the interim
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@573019 13f79535-47bb-0310-9956-ffa450edef68
2007-09-05 18:16:17 +00:00
Erik Hatcher
b016188d22
Add support for _delete_ option of modifying a document. This requires patches from SOLR-139 that are not committed to Solr
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@569952 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 01:31:09 +00:00
Erik Hatcher
5bf7de1f56
Make filter_queries unrequired
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@569951 13f79535-47bb-0310-9956-ffa450edef68
2007-08-27 01:29:35 +00:00
Erik Hatcher
8f752e08bb
fix mlt.fl
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@568955 13f79535-47bb-0310-9956-ffa450edef68
2007-08-23 12:17:29 +00:00
Erik Hatcher
0a2aab70e9
Fix modify document implementation to support multivalued fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@568654 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 15:22:06 +00:00
Erik Hatcher
e801fecc99
add language values to Tang example
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@568578 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 12:06:30 +00:00
Erik Hatcher
8c0599def1
Add preliminary support for SOLR-139, allowing updateable documents. Added utility method to backslash escape strings suitable for QueryParser. Bumped version number for another upcoming gem push.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@568577 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 12:05:15 +00:00
Erik Hatcher
d72ae657f1
Fix typos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@568349 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 01:07:40 +00:00
Erik Hatcher
7068f0344e
Add highlighter fragment size and more like this support to Standard request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@568347 13f79535-47bb-0310-9956-ffa450edef68
2007-08-22 01:05:55 +00:00
Erik Hatcher
dfa0b8a004
Preparing for an 0.0.4 rubyforge gem push
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@566795 13f79535-47bb-0310-9956-ffa450edef68
2007-08-16 18:30:47 +00:00
Erik Hatcher
dfc60d67b1
Rubyism tidying
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@566295 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 18:33:11 +00:00
Erik Hatcher
6a3597cdb7
Add entity test, to show text goes through literally
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@566294 13f79535-47bb-0310-9956-ffa450edef68
2007-08-15 18:32:22 +00:00
Ryan McKinley
e7e530bcd7
SOLR-326 remove unused imports
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@565144 13f79535-47bb-0310-9956-ffa450edef68
2007-08-12 20:47:42 +00:00
Erik Hatcher
022e1d7633
SOLR-323: Remove JAR that now ships with Solr itself
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@563201 13f79535-47bb-0310-9956-ffa450edef68
2007-08-06 17:32:21 +00:00
Ryan McKinley
77f2a49896
SOLR-301 -- Move deprecated functions out of o.a.s.common and put it in the deprecated classes from SOLR-135. This seperates the parameter defination classes from the SolrParams classes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@561900 13f79535-47bb-0310-9956-ffa450edef68
2007-08-01 18:36:45 +00:00
Ryan McKinley
8025c0a2a9
exposing the CommonsHttpSolrServer invariant params.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@556770 13f79535-47bb-0310-9956-ffa450edef68
2007-07-16 23:48:02 +00:00
Chris M. Hostetter
a53367d319
removing all author tags per dev list consensus
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@555343 13f79535-47bb-0310-9956-ffa450edef68
2007-07-11 17:46:25 +00:00
Erik Hatcher
e651f05738
Add more sample data
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@554382 13f79535-47bb-0310-9956-ffa450edef68
2007-07-08 16:28:07 +00:00
Ryan McKinley
1e3534a431
removing XPP, jetty, and snowball license info -- they aren't included in solrj
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@553664 13f79535-47bb-0310-9956-ffa450edef68
2007-07-05 22:47:59 +00:00
Ryan McKinley
1d3418e0d3
using normal "add" command
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@553575 13f79535-47bb-0310-9956-ffa450edef68
2007-07-05 17:43:19 +00:00
Ryan McKinley
3fd423d27a
fixing multiple document adding error.
...
setting: addCmd.indexedId = null; before each add
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@553574 13f79535-47bb-0310-9956-ffa450edef68
2007-07-05 17:36:38 +00:00
Ryan McKinley
1dc2aad0d8
stop the jetty server in tearDown.
...
This should help the test failing problem ;)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552760 13f79535-47bb-0310-9956-ffa450edef68
2007-07-03 09:24:41 +00:00
Ryan McKinley
69bd5b7f17
SOLR-280 -- changing SolrInputField to take float rather then Float. this will avoid autoboxing, if you don't want to define the boost, use one of the wrapper functions that default to 1.0
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552521 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 15:57:03 +00:00
Ryan McKinley
1760d4242d
SOLR-280 -- changing the SolrDocument/SolrInputDocument implementation so each one as as efficient as it can be. The API changes mostly affect solrj users.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552405 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 05:19:22 +00:00
Ryan McKinley
5d7981c26c
SOLR-133 -- found a bug in the delete XML parsing. for id's and queries with &, it did not behave correctly. Adds a fix and test. Another sideeffect that should be noted is that this parser now accepts multiple delete commands:
...
<delete>
<id>1</id>
<id>3</id>
<id>4</id>
</delete`>
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552385 13f79535-47bb-0310-9956-ffa450edef68
2007-07-02 02:44:45 +00:00
Ryan McKinley
0994528c21
adding a clear() function to the solrj UpdateRequest
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@552212 13f79535-47bb-0310-9956-ffa450edef68
2007-06-30 20:46:51 +00:00
Ryan McKinley
7230a8eb3f
SOLR-278 - modify LukeRequest/Response to handle show=schema
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@551971 13f79535-47bb-0310-9956-ffa450edef68
2007-06-29 17:32:55 +00:00
Ryan McKinley
f475f5d76c
only send one boost value for multi-valued fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@548237 13f79535-47bb-0310-9956-ffa450edef68
2007-06-18 07:09:26 +00:00
Ryan McKinley
2929bca894
use port 8984 for jetty testing (not 8982) to reduce the chance of getting an "Address already in use: JVM_Bin.." exception.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547530 13f79535-47bb-0310-9956-ffa450edef68
2007-06-15 05:16:29 +00:00
Ryan McKinley
9a9d11385c
SOLR-20: Adding a java client. The client includes two implementaions: CommonsHttpSolrServer.java and EmbeddedSolrServer.java
...
There are major changes to build.xml -- these should be closely reviewed.
This includes a test that will start jetty and run tests against the example solr install.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547436 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 22:53:25 +00:00
Erik Hatcher
1285962e95
Fix issue with String values becoming multi-valued fields. String#each returns multiple values when a string contains newlines
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544012 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 23:31:42 +00:00
Erik Hatcher
29222b088c
turn off the default terms when asking for field information
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543539 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 17:21:53 +00:00
Erik Hatcher
fbb281c584
YAMLify CHANGES
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540721 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 19:46:35 +00:00
Erik Hatcher
a74e62d8c3
adjust tests to work without libxml2
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540702 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 19:02:48 +00:00
Erik Hatcher
502b3248d6
Adjust HpricotMapperTest to not cause an error when the Hpricot library is not installed
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540696 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:52:55 +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
b99ad78761
Exit with message if no filename is provided
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540680 13f79535-47bb-0310-9956-ffa450edef68
2007-05-22 18:25:45 +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
ebaf102463
Convert delicious library importer to use the mapper/indexer framework.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@539801 13f79535-47bb-0310-9956-ffa450edef68
2007-05-19 20:50:19 +00:00
Erik Hatcher
20c42cc6f2
provide the Solr connection to clients of the indexer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@539800 13f79535-47bb-0310-9956-ffa450edef68
2007-05-19 20:48:26 +00:00
Erik Hatcher
0d968a3ff0
bump version number
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@538604 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 14:07:08 +00:00
Erik Hatcher
2e0bab1770
Adjust mappers with dependencies to conditionally load
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@538603 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 14:06:53 +00:00
Erik Hatcher
4514690cf5
Make data directory controllable with system property
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@538602 13f79535-47bb-0310-9956-ffa450edef68
2007-05-16 14:06:22 +00:00
Erik Hatcher
9f596e279c
Fix issue where only facet.query was being requested but no fields
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@537760 13f79535-47bb-0310-9956-ffa450edef68
2007-05-14 09:36:05 +00:00
Erik Hatcher
d7568ddbc6
bring compatibility to current trunk of Solr, using admin/luke instead of indexinfo. Also added HpricotMapper (SOLR-210: from Jamie Orchard-Hays), and correctly imported the ArrayMapper
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@536728 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 01:28:49 +00:00
Erik Hatcher
624e65ed16
add array mapper, for more data sources that come in pieces to be merged
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@535438 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 02:30:15 +00:00
Erik Hatcher
eaed609277
Add buffering to allow indexer to add multiple documents at a time, determined by the :buffer_docs parameter. If not specified, individual documents are added to Solr.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532580 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 02:54:53 +00:00
Erik Hatcher
d42109383e
Add requires of new classes for easier including
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532573 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 02:15:50 +00:00
Erik Hatcher
5eea178d99
Add SolrSource class, which simply iterates over all documents matching query and filter constraints to be returned. This is suitable for use with a Mapper and the Indexer to pull documents (stored fields only) from one Solr instance to another.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532572 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 02:15:13 +00:00
Erik Hatcher
5cd57a4a57
Add option to stringify symbols when looking them up from an original object. An alternate approach could be to have two different classes, one for objects with symbol keys, and one for string keys
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532569 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 02:09:50 +00:00
Erik Hatcher
d1f038a1c8
Allow a Hash to be an available mapper parameter, instead of the client having to create a Mapper instance itself
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532567 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 02:08:11 +00:00
Erik Hatcher
4866d6e22f
rename tab_delimited to just delimited and added splitter parameter allowing lines to be split on any regular expression
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532565 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 02:06:01 +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
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