1
0
mirror of https://github.com/apache/lucene.git synced 2025-02-20 17:07:09 +00:00

1370 Commits

Author SHA1 Message Date
Ryan McKinley
8f8b006c1c SOLR-20: Adding a document list class in 'common'
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547314 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 17:07:06 +00:00
Ryan McKinley
5e8f1347d9 SOLR-20: moving private static final Highlight params to a common class
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547309 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 16:55:15 +00:00
Ryan McKinley
1143296770 SOLR-135: adding empty class for StrUtils.java
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547303 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 16:42:25 +00:00
Ryan McKinley
8cc3fa4d04 SOLR-135: Moving StrUtils.java to common.util. Adding empty class for 'UpdateParams'
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547301 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 16:39:59 +00:00
Ryan McKinley
9c8dcba5d9 SOLR-244, adding ModifiableSolrParams required for SOLR-20 (nice for testing)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547297 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 16:33:22 +00:00
Ryan McKinley
e03f25801f SOLR-135: import/warning cleanup for classes in org.apache.solr.common
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547109 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 04:10:17 +00:00
Ryan McKinley
54bdcdc4cc SOLR-135: Adding @depricated extended classes for files moved to org.apache.solr.common
This should restore API compatibility.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547107 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 04:05:04 +00:00
Ryan McKinley
b4d1694ef7 SOLR-135: refactoring common classes into a "common" package. This commit moves the files (and updates the imports).
THIS BREAKS API COMPATIBILITY!!!

the next commit will put stub classes in place where the missing classes are.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547101 13f79535-47bb-0310-9956-ffa450edef68
2007-06-14 03:26:18 +00:00
Ryan McKinley
f461ea38a2 SOLR-193 -- adding clear() to the SolrDocuemnt API. This was used in the parallel SOLR-20 implementaion.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@547003 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 19:11:30 +00:00
Ryan McKinley
c6c0e141bf SOLR-193: Adding SolrDocument and SolrInputDocument to represent documents outside of the lucene Document infrastructure.
This commit includes two functions not in the last (reviewed) patch:
 public Map<String,Collection<Object>> getFieldValuesMap()
 public Map<String,Object> getFieldValueMap()
If there are concerns, we can remove these functions.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@546979 13f79535-47bb-0310-9956-ffa450edef68
2007-06-13 17:57:40 +00:00
Ryan McKinley
669e43d7af SOLR-259 -- add log.log(Level.SEVERE, ... when solr home isn't found. Thanks Will!
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@546223 13f79535-47bb-0310-9956-ffa450edef68
2007-06-11 18:58:45 +00:00
Mike Klaas
39e0ff32f2 SOLR-257: add splitOnCaseChange parameter to WordDelimiterFilter
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545597 13f79535-47bb-0310-9956-ffa450edef68
2007-06-08 19:02:27 +00:00
Yonik Seeley
3bd973088c add link to CHANGES.txt
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545020 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 01:56:57 +00:00
Yonik Seeley
8fa60a37eb fix broken apachecon link
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545012 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 00:53:07 +00:00
Yonik Seeley
bf972bef53 1.2 news
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545011 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 00:49:18 +00:00
Yonik Seeley
b4613cb3a7 minor feature updates
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@545000 13f79535-47bb-0310-9956-ffa450edef68
2007-06-07 00:00:39 +00:00
Yonik Seeley
b3fd440ba5 fix sorting urls
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544982 13f79535-47bb-0310-9956-ffa450edef68
2007-06-06 22:55:43 +00:00
Yonik Seeley
22566505e0 fix FunctionQuery.toString(): SOLR-254
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544342 13f79535-47bb-0310-9956-ffa450edef68
2007-06-05 01:40:37 +00:00
Ryan McKinley
cc053495de SOLR-253 -- adding KeepWordFilter, the inverse of StopFilter.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544328 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 23:45:00 +00:00
Ryan McKinley
4ccd436bf8 SOLR-69: Adding MoreLikeThis support
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@544018 13f79535-47bb-0310-9956-ffa450edef68
2007-06-04 00:27:20 +00:00
Ryan McKinley
dc61cf9adc missing import. my bad
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543939 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 16:49:39 +00:00
Ryan McKinley
5aeba950b4 comment spelling errors
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543839 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 04:03:09 +00:00
Ryan McKinley
89f74f85b9 expanding SolrRequestParsers api to construct a SolrQueryRequest from a Collection, not just a List. (this is useful for an embedded SOLR-20 client)
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543831 13f79535-47bb-0310-9956-ffa450edef68
2007-06-03 02:57:47 +00:00
Ryan McKinley
404e9ef4c1 static utility classes in SystemInfoHandler don't need to be private
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543771 13f79535-47bb-0310-9956-ffa450edef68
2007-06-02 18:31:46 +00:00
Yonik Seeley
37816d294d work around jetty compilation issue of analysis.jsp
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543659 13f79535-47bb-0310-9956-ffa450edef68
2007-06-01 23:32:56 +00:00
Yonik Seeley
08e2f9613f add content type when using curl in the scripts: SOLR-250
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@543259 13f79535-47bb-0310-9956-ffa450edef68
2007-05-31 21:15:17 +00:00
Ryan McKinley
7e7b3f765b SOLR-249 -- oh my, missing the "throw" for SolrException!
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542963 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 22:44:42 +00:00
Ryan McKinley
6b2bf1b99c SOLR-249 -- adding error codes not used in solr, but useful for custom plugins.
UNAUTHORIZED( 401 ),
  FORBIDDEN( 403 ),

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542737 13f79535-47bb-0310-9956-ffa450edef68
2007-05-30 03:13:05 +00:00
Ryan McKinley
e3dd7faecf SOLR-249 -- depreating new SolrException( int ... ) in favor of new SolrException( enum ...
This also refactors all calls to new SolrException()

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542679 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 22:28:21 +00:00
Yonik Seeley
d45042208b add ASF license
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542653 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 21:11:35 +00:00
Chris M. Hostetter
1e5e40cb9c SOLR-238: make tutorial explicit about the version it applies to
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542626 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 19:16:09 +00:00
Yonik Seeley
e864ab6cd8 add usage comments, reformat
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542583 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 16:33:23 +00:00
Ryan McKinley
7403608cab Error code cleanup. Changing:
SolrException( 1, ... ) to SolrException( 500, ... ) 
 SolrException( 2, ... ) to SolrException( 400, ... )

Now, the only status codes set in SolrExceptions are valid HTTP status codes: 
 500
 400
 503
 404



git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@542461 13f79535-47bb-0310-9956-ffa450edef68
2007-05-29 08:52:03 +00:00
Chris M. Hostetter
5680b9436b fix warning from javadoc
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@541944 13f79535-47bb-0310-9956-ffa450edef68
2007-05-26 22:29:12 +00:00
Ryan McKinley
5ea9310021 only search for fields solr knows about (otherwise you could get NPE for range query) -- also searching for non-indexed fields is useless.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@541824 13f79535-47bb-0310-9956-ffa450edef68
2007-05-25 23:47:29 +00:00
Ryan McKinley
e1f54f34a6 SOLR-246 -- don't compute top terms when numTerms=0
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@541380 13f79535-47bb-0310-9956-ffa450edef68
2007-05-24 18:46:20 +00:00
Chris M. Hostetter
8d1d5939f7 SOLR-230: improvements to SOLR-230 so curl is not needed at all in tutorial
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@541046 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 19:44:03 +00:00
Ryan McKinley
c93dd85a74 SOLR-234 TrimFilter can update the Token's startOffset and endOffset if updateOffsets="true". By default the Token offsets are unchanged.
This also refactors many of the Filter tests to share common code.

git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540995 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 17:18:05 +00:00
Otis Gospodnetic
66b04d6ccc - svn propset svn:keywords
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540849 13f79535-47bb-0310-9956-ffa450edef68
2007-05-23 05:57:03 +00:00
Yonik Seeley
756b88e8f8 add ngram factories: SOLR-199
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@540219 13f79535-47bb-0310-9956-ffa450edef68
2007-05-21 18:17:40 +00:00
Yonik Seeley
1722c8a485 update to lucene 2007-05-20
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@539943 13f79535-47bb-0310-9956-ffa450edef68
2007-05-20 21:21:04 +00:00
Yonik Seeley
849e40a560 SOLR-221 compare minimum count currently needed to the term df and avoid unnecessary intersection count, allow minimum term df in order to use the filterCache, otherwise iterate over TermDocs
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@539531 13f79535-47bb-0310-9956-ffa450edef68
2007-05-18 17:34:27 +00:00
Otis Gospodnetic
d272f3e473 - Typo
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@539098 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 20:01:40 +00:00
Erik Hatcher
2ddd39225a SOLR-241: Undefined system properties used in configuration files now cause a clear message to be logged rather than an obscure exception thrown.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@538800 13f79535-47bb-0310-9956-ffa450edef68
2007-05-17 03:40:17 +00:00
Ryan McKinley
ca0dedf563 SOLR-231 -- use UTF-8 encoding unless something else is specified.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@537024 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 22:38:10 +00:00
Ryan McKinley
f4986af881 SOLR-224: Adding a PhoneticFilterFactory that uses commons codec language encoders to build phonetically similar tokens.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@537014 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 22:10:05 +00:00
Ryan McKinley
e204b3d33e removed IndexInfoRequestHandler from test schema.xml -- needed to pass the tests
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@536732 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 02:17:10 +00:00
Ryan McKinley
5e956f4fd3 SOLR-226 adding support for dynamic fields as copyField destination.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@536730 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 01:52:32 +00:00
Erik Hatcher
c7823d8601 Remove IndexInfoRequestHandler in favor of the Luke request handlers capabilities
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@536729 13f79535-47bb-0310-9956-ffa450edef68
2007-05-10 01:48:41 +00:00
Ryan McKinley
c9a8deb0d4 SOLR-227 -- rather then quietly overwrite an item in a Map<String,xxx>, this checks if an old value exists and adds a severe error if so.
git-svn-id: https://svn.apache.org/repos/asf/lucene/solr/trunk@536653 13f79535-47bb-0310-9956-ffa450edef68
2007-05-09 20:53:31 +00:00