65 Commits

Author SHA1 Message Date
Andrzej Bialecki
e0eb7bac02 SOLR-12723: Reduce object creation in HashBasedRouter. 2018-09-04 18:16:00 +02:00
Michael Braun
fb6574100e LUCENE-8345 - add wrapper class constructors to forbiddenapis 2018-06-03 15:40:50 -04:00
David Smiley
4888adf08a SOLR-12337: Remove the obsolete QueryWrapperFilter 2018-06-01 17:12:21 -04:00
Houston Putman
0ef8e5aa80 SOLR-12271: Fix for analytics component reading negative values from double and float fields. 2018-05-30 11:45:01 -04:00
Jason Gerlowski
971bd26df6 SOLR-11629: Add new CloudSolrClient.Builder ctors
CloudSolrClient.Builder can be pointed at a Solr cluster in two ways: a
ZK connection string, or one or more Solr base URLs.  One of these two
values must be provided to create a working CloudSolrClient.

Since these values are required, this commit introduces two new ctors,
one for each means of CloudSolrClient setup.  It deprecates the existing
no-arg CloudSolrClient ctor.

Together, these changes make it clearer to our users that these options
are required (and mutually exclusive).
2018-03-10 10:45:43 -05:00
Adrien Grand
4fc5a872de LUCENE-4100: Faster disjunctions when the hit count is not needed. 2017-12-07 10:49:39 +01:00
Houston Putman
86d84bff82 SOLR-11145, SOLR-11146: Added comprehensive unit tests for Analytics Component 2.0 as well as analytics bug fixes. 2017-10-17 13:52:02 -04:00
Andrzej Bialecki
1c36569176 SOLR-11215: Make a metric accessible through a single param. 2017-08-17 12:33:36 +02:00
Steve Rowe
f962effd12 SOLR-10803: Mark all Trie/LegacyNumeric based fields @deprecated in Solr7. 2017-08-04 19:55:02 -04:00
Houston Putman
88b7ed1d46 SOLR-10123: Fix to better support numeric PointFields. Unit tests now use randomized numeric fields.
Closes #215
2017-07-06 06:40:47 -04:00
David Smiley
82a44beb3c SOLR-6807: requestDispatcher/@handleSelect now defaults to false; stop using it.
Deprecated StandardRequestHandler; stop using it.
2017-06-28 17:22:44 -04:00
Dennis Gove
d5963bebc4 SOLR-10123: Upgraded the Analytics Component to version 2.0 2017-06-28 14:13:37 -04:00
Chris Hostetter
9f56698d33 SOLR-10948: Fix extraction component to treat DatePointField the same as TrieDateField
SOLR-10947: Randomize the usage of Points based numerics in contrib test schemas

This commit also adds @SuppressPointFields needed for SOLR-10949
2017-06-26 17:03:00 -07:00
Dennis Gove
bee8d7ccb3 Revert "SOLR-9981: Performance improvements and bug fixes for the Analytics component"
This reverts commit a5dce163eb09dcc0eb7f7eb81d692bf3d19964a3.
2017-06-26 17:33:26 -04:00
Dennis Gove
288ab09ceb Revert "SOLR-9981: Fixes precommit error in test file"
This reverts commit e8057309b90db0c79fc273e2284948b84c16ce4c.
2017-06-26 17:33:26 -04:00
Dennis Gove
e8057309b9 SOLR-9981: Fixes precommit error in test file 2017-06-24 21:48:39 -04:00
Dennis Gove
a5dce163eb SOLR-9981: Performance improvements and bug fixes for the Analytics component 2017-06-24 21:39:01 -04:00
Mikhail Khludnev
357f4dfb18 SOLR-3702: concat(..) function query 2017-06-05 23:26:06 +03:00
Adrien Grand
759fa42b62 LUCENE-7850: Move support for legacy numerics to solr/. 2017-05-30 10:33:08 +02:00
Andrzej Bialecki
bb69c02e57 SOLR-10418: Metrics API should return JVM system properties. 2017-04-18 12:46:39 +02:00
Andrzej Bialecki
e30cc70fdd SOLR-9959: SolrInfoMBean-s category and hierarchy cleanup. 2017-04-11 19:22:23 +02:00
Adrien Grand
e80643e5a7 LUCENE-7753: Make fields static when possible. 2017-03-31 17:28:21 +02:00
Erick Erickson
bd01064f69 SOLR-10371: There is some spelling mistakes in the Java source code Thanks hu xiaodong" 2017-03-27 09:31:15 -07:00
Mike McCandless
e7b87f5b79 LUCENE-7739: Fix places where we unnecessarily boxed while parsing a numeric value according to FindBugs 2017-03-15 06:08:10 -04:00
Christine Poerschke
c20853bf09 SOLR-10083: Fix instanceof check in ConstDoubleSource.equals (Pushkar Raste via Christine Poerschke) 2017-02-08 17:18:02 +00:00
Tomas Fernandez Lobbe
59c41e2a6c SOLR-10011: Add NumberType getNumberType() to FieldType and deprecate LegacyNumericType getNumericType()
Modify references to getNumericType() to use the new getNumberType(). NumberType is shared for the different numeric implementations supported in Solr (TrieFields and PointFields).
CC SOLR-8396
2017-02-07 10:38:22 -08:00
Andrzej Bialecki
8bbdb6248c Squashed commit of branch 'feature/metrics', containing:
SOLR-4735: Improve Solr metrics reporting
    SOLR-9812: Implement /admin/metrics API
    SOLR-9805: Use metrics-jvm library to instrument jvm internals
    SOLR-9788: Use instrumented jetty classes
2016-12-20 09:31:24 +01:00
Shalin Shekhar Mangar
ff6da66601 SOLR-8785: Use Dropwizard Metrics library for core metrics 2016-11-22 14:37:33 +05:30
David Smiley
2e21511cd3 SOLR-9621: Remove several Guava & Apache Commons calls in favor of java 8 alternatives. 2016-10-28 17:18:58 -04:00
Mike McCandless
f7aa200d40 LUCENE-7407: switch doc values usage to an iterator API, based on DocIdSetIterator, instead of random acces, freeing codecs for future improvements 2016-09-21 09:41:41 -04:00
Robert Muir
105c7eae87 LUCENE-7413: move legacy numeric support to backwards module 2016-08-17 09:28:45 -04:00
Christine Poerschke
9d784a6693 SOLR-9385: Add QParser.getParser(String,SolrQueryRequest) variant. 2016-08-09 15:04:05 +01:00
Christine Poerschke
52f5c50246 LUCENE-7319: remove unused imports 2016-06-13 09:59:14 +01:00
Erick Erickson
5341918a0c SOLR-9083: Remove deprecated <types> and <fields> from schemas 2016-05-10 06:54:11 -07:00
Noble Paul
18fb9463de SOLR-8750: replace anonymous inner class for callable, Runnable etc 2016-04-05 22:45:36 +05:30
David Smiley
94c04237cc SOLR-8904: switch from SimpleDateFormat to Instant.parse and format.
[value] and ms() and contrib/analytics now call DateMathParser to parse.  DateFormatUtil is now removed.
2016-03-30 13:42:42 -04:00
Robert Muir
3ffeccab7e LUCENE-7063: add tests/docs for numericutils, rename confusing methods, remove overlap with LegacyNumericUtils 2016-03-03 21:52:12 -05:00
Christine Poerschke
b14fb50b7f SOLR-8674: solr.tests.mergePolicy[Factory] tests now randomly choose between <mergePolicy> and <mergePolicyFactory>
* This increases <mergePolicy> vs. <mergePolicyFactory> test coverage.
* This temporarily also adds a little test setup complexity but when SOLR-8668 removes support for <mergePolicy> then test setup will return to its original complexity.
2016-02-22 15:22:55 +00:00
Uwe Schindler
0f43705788 LUCENE-7013: Revert changes to package-info.java files (adds newline after license header and before javadocs back) 2016-02-04 23:02:50 +01:00
Shai Erera
813ca77250 LUCENE-7013: Move license header to top of file 2016-02-04 15:51:19 +02:00
Shalin Shekhar Mangar
7bfb2a2949 SOLR-8220: Read field from DocValues for non stored fields
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1721795 13f79535-47bb-0310-9956-ffa450edef68
2015-12-27 10:27:00 +00:00
Michael McCandless
7da175b0b6 LUCENE-6917: rename/deprecate numeric classes in favor of dimensional values
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1719562 13f79535-47bb-0310-9956-ffa450edef68
2015-12-11 21:13:41 +00:00
Varun Thacker
0e886c19fa SOLR-8131: Make ManagedIndexSchemaFactory the default schemaFactory when luceneMatchVersion >= 6
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1718258 13f79535-47bb-0310-9956-ffa450edef68
2015-12-07 07:32:41 +00:00
Anshum Gupta
6caaa0c454 SOLR-8330: Standardize and fix logger creation and usage so that they aren't shared across source files.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717590 13f79535-47bb-0310-9956-ffa450edef68
2015-12-02 09:22:22 +00:00
David Wayne Smiley
ce0363c0ad SOLR-8180: jcl-over-slf4j is officially a solrj/solr dependency now; not marked optional in a POM.
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1717481 13f79535-47bb-0310-9956-ffa450edef68
2015-12-01 18:12:00 +00:00
Christine Poerschke
4d1a16ff3c SOLR-8147: contrib/analytics FieldFacetAccumulator now throws IOException instead of SolrException
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1712751 13f79535-47bb-0310-9956-ffa450edef68
2015-11-05 12:13:34 +00:00
Adrien Grand
b3d191832c LUCENE-6301: Removal of org.apache.lucene.Filter.
From a Lucene perspective Filter is gone. However it was still used for things
like DocSet and SolrConstantScoreQuery in Solr, so it has been moved to
the oas.search package for now, even though in the long term it would be nice
for Solr to move to the Query API entirely as well.


git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1708097 13f79535-47bb-0310-9956-ffa450edef68
2015-10-12 12:15:07 +00:00
Uwe Schindler
b57234a745 LUCENE-6795: Fix Solr tests that break RamUsageTester on Java 9 Jigsaw
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1702770 13f79535-47bb-0310-9956-ffa450edef68
2015-09-13 12:25:40 +00:00
Uwe Schindler
1331a57e3d LUCENE-6732: Remove tabs in JS and XML files
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1695395 13f79535-47bb-0310-9956-ffa450edef68
2015-08-11 23:00:39 +00:00
Uwe Schindler
50f168ed4c SOLR-7803: Prevent class loading deadlock in TrieDateField; refactor date formatting and parsing out of TrieDateField and move to static utility class DateFormatUtil
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1691893 13f79535-47bb-0310-9956-ffa450edef68
2015-07-20 09:07:50 +00:00