Ryan McKinley
0b34c977f8
SOLR-203 -- but that normalizes '/' to '' and then matches the default handler
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@535580 13f79535-47bb-0310-9956-ffa450edef68
2007-05-06 05:30:09 +00:00
Ryan McKinley
d75a031c5e
fixing a request parsing bug. When posting "application/x-www-form-urlencoded" and including a charset, application/x-www-form-urlencoded; charset=utf-8, the parser would treat the body as raw content.
...
This includes tests to repeat the error.
It also adds easymock.jar to lib, and excludes it from distribution.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@535548 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 17:14:22 +00:00
Ryan McKinley
05bf767bcc
javadoc typos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@535431 13f79535-47bb-0310-9956-ffa450edef68
2007-05-05 01:04:08 +00:00
Ryan McKinley
ac49e15773
more pre solr1.2 XmlUpdateHandler response format cleanup. In the future it would be nice if you get the same response if you do ?commit=true or <commit/>
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@534669 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 00:59:09 +00:00
Ryan McKinley
9ecad14adf
SOLR-212 java.util.logging.config.file must be set before getInstanceDir()
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@534664 13f79535-47bb-0310-9956-ffa450edef68
2007-05-03 00:23:44 +00:00
Chris M. Hostetter
184bb143df
misc javadoc cleanup to eliminate warnings
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@534181 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 18:20:52 +00:00
Chris M. Hostetter
80c14dd19f
fixing javadoc escaping issue which triggered this bug...
...
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5082928
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@534179 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 18:16:08 +00:00
Ryan McKinley
3d133d1f92
minor security fix. This makes sure you can't call paths that start with "/" from /select
...
This way, if you register a handler with "/path" and use path based authentication, you can not sneak into it using:
http://localhost:8983/solr/select/?qt=/update&stream.body= ...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533978 13f79535-47bb-0310-9956-ffa450edef68
2007-05-01 09:02:08 +00:00
Ryan McKinley
b8aea8b7f8
installed an eclipse spellchecker ;)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533815 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 17:57:52 +00:00
Ryan McKinley
88a33e7427
Properties are maps, so they don't need special handling
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533809 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 17:18:02 +00:00
Ryan McKinley
974b655b2c
adding a general Properties -> NamedList function
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533596 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 05:50:31 +00:00
Bertrand Delacretaz
6187859a4c
Forgot to change SimplePostTool's version number
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533593 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 05:38:49 +00:00
Bertrand Delacretaz
bec6cd3f21
Fix Solr result detection to adapt to slightly modified output format (though the result detection is still a hack)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533591 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 05:28:51 +00:00
Erik Hatcher
01d2954d92
minor javadoc typo fixes
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533579 13f79535-47bb-0310-9956-ffa450edef68
2007-04-30 03:58:02 +00:00
Ryan McKinley
2787609f91
SOLR-181 -- add "required" fields to IndexSchema.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533571 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 23:03:03 +00:00
Ryan McKinley
aa93003946
SOLR-170 -- adding a 'sort' parameter that works for both dismax and standard request handlers. The ';' is still suported (if the 'sort' parameter is not in the query). This also adds a new test class for StandardRequestHandler.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533566 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 22:10:20 +00:00
Ryan McKinley
d273f54151
SOLR-220 -- adding a nicer error message when you sort on an undefined field.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533560 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 21:02:08 +00:00
Ryan McKinley
25a185b7da
SOLR-204: Make it possible for the request dispatcher to handle /select. This offers uniform error handling for /update and /select.
...
This change will affect anyone who has added "enableRemoteStreaming" to their solrconfig.xml since solr1.1
Where you had:
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
You now need:
<requestDispatcher handleSelect="true" >
<requestParsers enableRemoteStreaming="false" multipartUploadLimitInKB="2048" />
</requestDispatcher>
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533558 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 20:47:23 +00:00
Ryan McKinley
53dc0b4317
removing response information prior to solr1.2 -- in the future, we should offer a more useful response format. For now, this contains the same level of information as solr1.1 <result status=0></result>
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533556 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 20:28:33 +00:00
Ryan McKinley
0775861944
trivial change... remove comment that is not accurate since SOLR-182
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533553 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 20:11:33 +00:00
Ryan McKinley
82dffa7446
SOLR-212 - Adding DirectSolrConnection.java this give you a text interfave to solr without HTTP
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533538 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 18:09:30 +00:00
Ryan McKinley
398ef586b8
deprecating unused functions with a better alternative. see SOLR-183
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533536 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 17:46:52 +00:00
Ryan McKinley
b3cd55c803
changing query parsing error message to include the error. SEE SOLR-204
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533529 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 17:00:29 +00:00
Erik Hatcher
9ef1c06783
Spell checking index needs to be cleared when rebuilt, otherwise older non-existent terms are suggested
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533515 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 15:28:18 +00:00
Yonik Seeley
246ad4dd57
make writeLockTimeout work: SOLR-222
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533507 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 14:05:21 +00:00
Ryan McKinley
0455f820c4
removing the not quite perfect logic for 'cacheableFaceting' (we should revist this after some upcoming faceting improvements). Adding a 'histogram' to each field - thanks to Yonik for the suggestion. Moved the 'key' to the bottom of the request
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533467 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 06:08:47 +00:00
Ryan McKinley
fa6d8ba5dc
changing test to expect error code 400 rather then 1 for unknown sort field
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533466 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 06:05:25 +00:00
Ryan McKinley
0d62dbd149
throw a standard response code when you can't find a field: SOLR-220
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533449 13f79535-47bb-0310-9956-ffa450edef68
2007-04-29 00:23:37 +00:00
Ryan McKinley
01ed55a933
moving UpdateParams.java to o.a.s.util (new class since 1.1)
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533411 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 18:49:20 +00:00
Ryan McKinley
b0137594bb
changing docID to docId
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533304 13f79535-47bb-0310-9956-ffa450edef68
2007-04-28 06:05:57 +00:00
Ryan McKinley
44c3d4b48f
Initialized typo -- thanks otis
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533207 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 20:11:02 +00:00
Otis Gospodnetic
1b4417fb90
- Javadoc typos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533184 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 18:25:11 +00:00
Yonik Seeley
ddc153ac37
remove obsolete sort comment
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533177 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 17:50:15 +00:00
Otis Gospodnetic
5573feaa62
- Fixed typos
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@533176 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 17:43:34 +00:00
Ryan McKinley
e4284d09bb
SOLR-203 path normalization. If you register a path '/path' it shoudl work for '/path' and '/path/'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532987 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 06:32:33 +00:00
Ryan McKinley
302ac7b48b
adding svn:keywords
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532982 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 06:21:44 +00:00
Ryan McKinley
593e218d6d
Adding 'Luke' request handler and other admin helpers: SOLR-163
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532975 13f79535-47bb-0310-9956-ffa450edef68
2007-04-27 05:56:07 +00:00
Ryan McKinley
615e30f16e
SOLR-179 -- Initalization collects any errors and displays them rather then continuing. this feature is configurable in solrconfig.xml
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532912 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 23:37:44 +00:00
Ryan McKinley
1efad83104
removed deprecated additions since Solr 1.1 -- ContentStream.java (moved to util a while ago) and CommitRequestHandler.java
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532883 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 22:06:03 +00:00
Ryan McKinley
11a8345aa5
Changing feature list to say 'Faceted Browsing' rather then 'Result Grouping'
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532880 13f79535-47bb-0310-9956-ffa450edef68
2007-04-26 21:57:03 +00:00
Ryan McKinley
1b817c008d
Adding a regex pattern TokenizerFactory.
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532508 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 22:23:40 +00:00
Ryan McKinley
c899349310
Removed the unused import: com.sun.org.apache.xerces.internal.util.URI.MalformedURIException;
...
This avoids the compile warning for java 1.6:
warning: com.sun.org.apache.xerces.internal.util.URI is Sun proprietary API and may be removed in a future release
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532458 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 19:48:19 +00:00
Ryan McKinley
b38421cfdf
adding Ryan as a Solr Committer
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@532456 13f79535-47bb-0310-9956-ffa450edef68
2007-04-25 19:44:01 +00:00
Yonik Seeley
db21821167
avoid recursive find, test for maxdepth support, filter snapshot names on master: SOLR-207
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@529471 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 02:25:28 +00:00
Mike Klaas
0cf8721a40
AutoCommit tracker again prints to the logfile its parameters. There parameters are also
...
available in the DUH2 admin ui statistics
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@529452 13f79535-47bb-0310-9956-ffa450edef68
2007-04-17 00:20:59 +00:00
Bertrand Delacretaz
18f1bda15d
finalize() was not correctly overridden, typo in function name
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@529367 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 19:20:23 +00:00
Erik Hatcher
2970a6c196
typo corrections in comments
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@529098 13f79535-47bb-0310-9956-ffa450edef68
2007-04-16 00:08:59 +00:00
Yonik Seeley
834c7c60d3
allow fieldType as well as fieldtype in schema
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@527594 13f79535-47bb-0310-9956-ffa450edef68
2007-04-11 18:16:01 +00:00
Erik Hatcher
65e0b152db
SOLR-184: add echoHandler=true to responseHeader, support echoParams=all (contributed by Ryan McKinley)
...
Additionally I added some unit tests to prove the new features added.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@526634 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 02:29:24 +00:00
Erik Hatcher
6e21109499
Spelling correction
...
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@526626 13f79535-47bb-0310-9956-ffa450edef68
2007-04-09 00:54:49 +00:00