[jira] [Commented] (SOLR-13452) Update the lucene-solr build from Ivy+Ant+Maven (shadow build) to Gradle.

2019-08-16 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-13452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16909125#comment-16909125 ] Steve Davids commented on SOLR-13452: - I just noticed that this was being worke

Re: Inquiry for Solr Cloud Authentication

2017-01-24 Thread Steve Davids
Don't let "basic auth" without SSL think there is inherent security, if someone has access to the network it is trivial to sniff network traffic and pickup the username/password (as noted in the caveats section ). There i

[jira] [Commented] (SOLR-4907) Discuss and create instructions for taking Solr from the example to robust multi-server production

2016-09-13 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15489470#comment-15489470 ] Steve Davids commented on SOLR-4907: Thanks, I just updated the repo to

Re: lucene-solr:master: added a couple of extra methods

2016-05-04 Thread Steve Davids
Looks like both Kotlin and C# also use first() and second() for their Pair classes: https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-pair/#properties https://msdn.microsoft.com/en-us/library/system.web.ui.pair(v=vs.110).

Re: Splitting Solr artifacts so the main download is smaller

2016-04-04 Thread Steve Davids
> > A tangent to think about later: RPM and DEB packaging. That's a lot to > discuss, so I won't go into it here. Even though you didn't want to get into it here, I did create a Solr RPM/DEB builder here: https://github.com/sdavids13/solr-os-packager Sure would be pretty sweet to get an officia

[jira] [Commented] (SOLR-6741) IPv6 Field Type

2016-03-08 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15186415#comment-15186415 ] Steve Davids commented on SOLR-6741: Any updates on this ticket regarding rolling

Re: Moving Lucene / Solr from SVN to Git

2016-01-09 Thread Steve Davids
@Prasanna you can follow along with the SVN -> GIT history migration in https://issues.apache.org/jira/browse/LUCENE-6933 @Erick for some basics you can checkout these interactive git guides, either https://www.codecademy.com/learn/learn-git

[jira] [Commented] (SOLR-7887) Upgrade Solr to use log4j2 -- log4j 1 now officially end of life

2015-11-19 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15015198#comment-15015198 ] Steve Davids commented on SOLR-7887: Looks like there is also a converter for log

[jira] [Commented] (SOLR-7887) Upgrade Solr to use log4j2 -- log4j 1 now officially end of life

2015-11-19 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7887?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15015143#comment-15015143 ] Steve Davids commented on SOLR-7887: I believe the best argument for logback is

[jira] [Created] (SOLR-8313) Migrate to new slf4j logging implementation (log4j 1.x is EOL)

2015-11-18 Thread Steve Davids (JIRA)
Steve Davids created SOLR-8313: -- Summary: Migrate to new slf4j logging implementation (log4j 1.x is EOL) Key: SOLR-8313 URL: https://issues.apache.org/jira/browse/SOLR-8313 Project: Solr Issue

[jira] [Commented] (SOLR-5748) Introduce autoManageReplicas collection property

2015-09-30 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-5748?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14939199#comment-14939199 ] Steve Davids commented on SOLR-5748: Due to the continued comments about an impen

[jira] [Commented] (SOLR-7577) Add support for rules in CREATESHARD and ADDREPLICA

2015-09-30 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14936869#comment-14936869 ] Steve Davids commented on SOLR-7577: After looking at the test for this issue,

[jira] [Commented] (SOLR-7613) solrcore.properties file should be loaded if it resides in ZooKeeper

2015-09-08 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7613?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14735665#comment-14735665 ] Steve Davids commented on SOLR-7613: I went ahead and swapped

[jira] [Updated] (SOLR-7831) Allow a configurable stack size (-Xss)

2015-07-24 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7831?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-7831: --- Attachment: SOLR-7831.patch Added patch that preserves the previously set -Xss256k value in the

[jira] [Created] (SOLR-7831) Allow a configurable stack size (-Xss)

2015-07-24 Thread Steve Davids (JIRA)
Steve Davids created SOLR-7831: -- Summary: Allow a configurable stack size (-Xss) Key: SOLR-7831 URL: https://issues.apache.org/jira/browse/SOLR-7831 Project: Solr Issue Type: Improvement

[jira] [Commented] (SOLR-4907) Discuss and create instructions for taking Solr from the example to robust multi-server production

2015-07-08 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4907?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14619695#comment-14619695 ] Steve Davids commented on SOLR-4907: I created a Solr RPM (yum) and DEB (apt

Solr RPM & DEB packages

2015-07-05 Thread Steve Davids
Solr has taken great strides with making it simpler for clients to install and start using solr as a service, the install_solr_service.sh file is quite handy for a brand new install. Unfortunately, the use of that script is really a one time deal and won't let you use it for Solr upgrades nor does

Re: [jira] [Commented] (SOLR-7613) solrcore.properties file should be loaded if it resides in ZooKeeper

2015-06-05 Thread Steve Davids
> the simplest thing for people to udnerstand would probably be to just > say that they are independent, loaded seperately, and cause an error if you > try to define the same value in both (i doubt that's currently enforced, > but it probably should be) > > > >> solrcore.proper

SearchComponent finishStage expectations

2015-06-03 Thread Steve Davids
I have a few custom SearchComponents that manipulate some data that is being pulled out of the index in the finishStage. This approach has been working well until I went to a single shard collection at which point the components stopped functioning. After a bit of debugging I found the HttpShardHan

Re: Moving to git?

2015-05-31 Thread Steve Davids
There are also some rather large '.dat' files in the history as well, I found this by running on a job to delete all blobs > 5MB from the history via: $ java -jar ~/Downloads/bfg-1.12.3.jar --strip-blobs-bigger-than 5M --protect-blobs-from trunk,branch_5x,branch_4x lucene-solr-mirror > Deleted fi

Re: Moving to git?

2015-05-31 Thread Steve Davids
bq. Something needs to be done about all those jars in the source history, I will not let this go. I went ahead and used the BFG Repo Cleaner tool to drop all of the old jars in the git history, here are the findings: $ git clone --mirror https://githu

[jira] [Created] (SOLR-7613) solrcore.properties file should be loaded if it resides in ZooKeeper

2015-05-30 Thread Steve Davids (JIRA)
Steve Davids created SOLR-7613: -- Summary: solrcore.properties file should be loaded if it resides in ZooKeeper Key: SOLR-7613 URL: https://issues.apache.org/jira/browse/SOLR-7613 Project: Solr

[jira] [Commented] (SOLR-7474) Remove protocol name from base_url in cluster state

2015-04-27 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7474?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14516197#comment-14516197 ] Steve Davids commented on SOLR-7474: The base url should be generated by the node

[jira] [Updated] (SOLR-7480) Allow AtomicUpdateDocumentMerger subclasses to override the doAdd method

2015-04-27 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-7480?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-7480: --- Attachment: SOLR-7480.patch > Allow AtomicUpdateDocumentMerger subclasses to override the doAdd met

[jira] [Created] (SOLR-7480) Allow AtomicUpdateDocumentMerger subclasses to override the doAdd method

2015-04-27 Thread Steve Davids (JIRA)
Steve Davids created SOLR-7480: -- Summary: Allow AtomicUpdateDocumentMerger subclasses to override the doAdd method Key: SOLR-7480 URL: https://issues.apache.org/jira/browse/SOLR-7480 Project: Solr

[jira] [Commented] (SOLR-4839) Jetty 9

2015-04-23 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14510387#comment-14510387 ] Steve Davids commented on SOLR-4839: Also, if you want to use the javax.net

[jira] [Commented] (SOLR-4839) Jetty 9

2015-04-23 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14510329#comment-14510329 ] Steve Davids commented on SOLR-4839: Looks good, though we might want to think a

[jira] [Commented] (SOLR-4839) Jetty 9

2015-04-21 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14506256#comment-14506256 ] Steve Davids commented on SOLR-4839: Any plans on porting this into the 5x br

[jira] [Commented] (SOLR-4407) SSL Certificate based authentication for SolrCloud

2015-02-05 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14308429#comment-14308429 ] Steve Davids commented on SOLR-4407: Sorry for not being more specific. Yes,

[jira] [Commented] (SOLR-4839) Jetty 9

2015-02-05 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14307578#comment-14307578 ] Steve Davids commented on SOLR-4839: I was creating a new MiniSolrCluster test bec

[jira] [Commented] (SOLR-4407) SSL Certificate based authentication for SolrCloud

2015-02-04 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4407?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14306490#comment-14306490 ] Steve Davids commented on SOLR-4407: Sorry for not replying back earlier. Yes, you

[jira] [Commented] (SOLR-4839) Jetty 9

2015-01-23 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14290413#comment-14290413 ] Steve Davids commented on SOLR-4839: Anyone happen to see the same issue I was get

[jira] [Commented] (SOLR-6449) Add first class support for Real Time Get in Solrj

2015-01-23 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14290404#comment-14290404 ] Steve Davids commented on SOLR-6449: Cool, thanks Shalin. Just a side note, we c

[jira] [Commented] (SOLR-6840) Remove legacy solr.xml mode

2015-01-14 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6840?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14277067#comment-14277067 ] Steve Davids commented on SOLR-6840: Something doesn't seem right here, t

[jira] [Updated] (SOLR-6449) Add first class support for Real Time Get in Solrj

2015-01-10 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6449?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6449: --- Attachment: SOLR-6449.patch Provided a simpler patch that doesn't create new GetByIdRes

[jira] [Updated] (SOLR-4839) Jetty 9

2015-01-10 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-4839: --- Attachment: SOLR-4839-mod-JettySolrRunner.patch I found that this broke the 'TestMiniSolrCloudCl

[jira] [Updated] (SOLR-6496) LBHttpSolrServer should stop server retries after the timeAllowed threshold is met

2015-01-09 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6496: --- Attachment: SOLR-6496.patch Updated the patch to provide the same exiting functionality in the

[jira] [Created] (SOLR-6949) Refactor LBHttpSolrClient to consolidate the two different request implementations

2015-01-09 Thread Steve Davids (JIRA)
Steve Davids created SOLR-6949: -- Summary: Refactor LBHttpSolrClient to consolidate the two different request implementations Key: SOLR-6949 URL: https://issues.apache.org/jira/browse/SOLR-6949 Project

[jira] [Commented] (SOLR-6496) LBHttpSolrServer should stop server retries after the timeAllowed threshold is met

2015-01-09 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14270996#comment-14270996 ] Steve Davids commented on SOLR-6496: The LB Client has duplicate implementat

[jira] [Updated] (SOLR-6909) Allow pluggable atomic update merging logic

2015-01-08 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6909: --- Attachment: SOLR-6909.patch Updated patch to add a 'doSet' and 'doAdd' method whi

[jira] [Comment Edited] (SOLR-6909) Allow pluggable atomic update merging logic

2015-01-08 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14270431#comment-14270431 ] Steve Davids edited comment on SOLR-6909 at 1/9/15 2:2

[jira] [Commented] (SOLR-6909) Allow pluggable atomic update merging logic

2015-01-08 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14270431#comment-14270431 ] Steve Davids commented on SOLR-6909: The javascript approach is interesting but w

[jira] [Updated] (SOLR-6909) Allow pluggable atomic update merging logic

2015-01-04 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6909?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6909: --- Attachment: SOLR-6909.patch Attached a patch which pulls the current merging implementation out from

[jira] [Created] (SOLR-6909) Allow pluggable atomic update merging logic

2015-01-04 Thread Steve Davids (JIRA)
Steve Davids created SOLR-6909: -- Summary: Allow pluggable atomic update merging logic Key: SOLR-6909 URL: https://issues.apache.org/jira/browse/SOLR-6909 Project: Solr Issue Type: Improvement

[jira] [Commented] (SOLR-6735) CloneFieldUpdateProcessorFactory should be null safe

2015-01-03 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14263734#comment-14263734 ] Steve Davids commented on SOLR-6735: Anyone willing to commit this? With the atta

[jira] [Commented] (SOLR-4839) Jetty 9

2014-12-19 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14254329#comment-14254329 ] Steve Davids commented on SOLR-4839: bq. Jetty 9 has this concept of modules which

[jira] [Commented] (SOLR-4839) Jetty 9

2014-12-18 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14252919#comment-14252919 ] Steve Davids commented on SOLR-4839: The jetty.xml file is going to need to ch

Re: Querying locally before sending a distributed request

2014-12-10 Thread Steve Davids
bq. In a one-shard case, no query really needs to be forwarded, since any replica can fully get the results so in this case no query would be forwarded. You can pass the request param distrib=false to not distribute the request in that particular case at which point it will only gather results fro

[jira] [Commented] (SOLR-6625) HttpClient callback in HttpSolrServer

2014-12-09 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14239541#comment-14239541 ] Steve Davids commented on SOLR-6625: bq. See SOLR-4470. That makes us

[jira] [Commented] (SOLR-6625) HttpClient callback in HttpSolrServer

2014-12-08 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6625?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14238865#comment-14238865 ] Steve Davids commented on SOLR-6625: Is there any reason why we wouldn't jus

[jira] [Updated] (SOLR-6741) IPv6 Field Type

2014-12-01 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6741?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6741: --- Attachment: SOLR-6741.patch I attached a patch for IPv4 support which allows a prefix query, range

Re: Where is the SVN repository only for Lucene project ?

2014-11-26 Thread Steve Davids
http://lucene.apache.org/core/developer.html Sent from my iPhone > On Nov 26, 2014, at 4:19 AM, Yosuke Yamatani > wrote: > > Dear sir/madam > > Hello, I’m Yosuke Yamatani. > I’m a graduate student at Wakayama University, Japan. > I study software evolution in OSS projects through the analysis

[jira] [Updated] (SOLR-6735) CloneFieldUpdateProcessorFactory should be null safe

2014-11-12 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6735?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6735: --- Attachment: SOLR-6735.patch Attached a trivial patch. > CloneFieldUpdateProcessorFactory should

[jira] [Created] (SOLR-6735) CloneFieldUpdateProcessorFactory should be null safe

2014-11-12 Thread Steve Davids (JIRA)
Steve Davids created SOLR-6735: -- Summary: CloneFieldUpdateProcessorFactory should be null safe Key: SOLR-6735 URL: https://issues.apache.org/jira/browse/SOLR-6735 Project: Solr Issue Type: Bug

[jira] [Commented] (SOLR-4587) Implement Saved Searches a la ElasticSearch Percolator

2014-11-09 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14204028#comment-14204028 ] Steve Davids commented on SOLR-4587: I believe we are confusing what Luwak

[jira] [Commented] (SOLR-4587) Implement Saved Searches a la ElasticSearch Percolator

2014-11-07 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14202936#comment-14202936 ] Steve Davids commented on SOLR-4587: I agree that the Luwak approach provides cl

[jira] [Commented] (SOLR-4587) Implement Saved Searches a la ElasticSearch Percolator

2014-11-05 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4587?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14199868#comment-14199868 ] Steve Davids commented on SOLR-4587: I don't think Luwak is really an imple

[jira] [Commented] (SOLR-6449) Add first class support for Real Time Get in Solrj

2014-10-18 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14176051#comment-14176051 ] Steve Davids commented on SOLR-6449: This issue is really providing yet ano

[jira] [Commented] (SOLR-6449) Add first class support for Real Time Get in Solrj

2014-10-17 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6449?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14175587#comment-14175587 ] Steve Davids commented on SOLR-6449: The current way of accessing the Real Time Ge

Re: Highlighters, accurate highlighting, and the PostingsHighlighter

2014-10-09 Thread Steve Davids
This is music to my ears, I came across the same highlighter issues and had a little discussion here: http://lucene.markmail.org/thread/ppunujq3hjjzq3z7#query:+page:1+mid:b6jweck6b6m2k4n4+state:results Unfortunately I didn’t make much progress on it. -Steve On Oct 10, 2014, at 12:38 AM, david

[jira] [Commented] (SOLR-5986) Don't allow runaway queries from harming Solr cluster health or search performance

2014-10-04 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-5986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14159212#comment-14159212 ] Steve Davids commented on SOLR-5986: Why wouldn't it return partial resu

Re: Solr atomic updates: default values

2014-10-01 Thread Steve Davids
code along the way uses the private constructor of the inner RequestReplicationTracker class which is required by a call to the SolrCmdDistributor. -Steve On Wed, Oct 1, 2014 at 5:51 PM, Steve Davids wrote: > I was curious if it would make sense to provide a "default" command fo

Solr atomic updates: default values

2014-10-01 Thread Steve Davids
I was curious if it would make sense to provide a "default" command for atomic updates. Here is the use-case I am looking at... I want to keep track of the indexed-on date which is a snapshot in time of when that particular document was indexed for the first time. Currently I have that value stored

[jira] [Commented] (SOLR-6576) ModifiableSolrParams#add(SolrParams) is performing a set operation instead of an add

2014-10-01 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14155314#comment-14155314 ] Steve Davids commented on SOLR-6576: Oops, I glanced at the code too fast last n

[jira] [Commented] (SOLR-6576) ModifiableSolrParams#add(SolrParams) is performing a set operation instead of an add

2014-09-30 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6576?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14154316#comment-14154316 ] Steve Davids commented on SOLR-6576: Yea, this is a bit misleadin

[jira] [Updated] (SOLR-6576) ModifiableSolrParams#add(SolrParams) is performing a set operation instead of an add

2014-09-30 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6576?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6576: --- Attachment: SOLR-6576.patch Fix + tests added in attached patch. > ModifiableSolrParams#

[jira] [Created] (SOLR-6576) ModifiableSolrParams#add(SolrParams) is performing a set operation instead of an add

2014-09-30 Thread Steve Davids (JIRA)
Steve Davids created SOLR-6576: -- Summary: ModifiableSolrParams#add(SolrParams) is performing a set operation instead of an add Key: SOLR-6576 URL: https://issues.apache.org/jira/browse/SOLR-6576 Project

[jira] [Updated] (SOLR-6496) LBHttpSolrServer should stop server retries after the timeAllowed threshold is met

2014-09-20 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6496: --- Attachment: SOLR-6496.patch Updated patch to use nano time. Still thinking of some potential tricks to

[jira] [Commented] (SOLR-5986) Don't allow runaway queries from harming Solr cluster health or search performance

2014-09-19 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-5986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14141216#comment-14141216 ] Steve Davids commented on SOLR-5986: Looks good to me, the only nit-picky thi

Re: Review Request 25658: Timeout queries when they take too long to rewrite/enumerate over terms.

2014-09-16 Thread Steve Davids
> On Sept. 17, 2014, 3:44 a.m., Steve Davids wrote: > > trunk/lucene/core/src/java/org/apache/lucene/index/QueryTimeout.java, line > > 56 > > <https://reviews.apache.org/r/25658/diff/4/?file=691686#file691686line56> > > > > You can provide the shouldEx

[jira] [Updated] (LUCENE-3120) span query matches too many docs when two query terms are the same unless inOrder=true

2014-09-16 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-3120?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated LUCENE-3120: - Attachment: LUCENE-3120.patch A user came across this "odd" behavior, attached a s

Re: Review Request 25658: Timeout queries when they take too long to rewrite/enumerate over terms.

2014-09-16 Thread Steve Davids
1000ms instead of current time + offset. Or another alternative is to provide a date/calendar object in the future (may be a bit overkill but then you don't need to think twice of if you need to pass in the time in millis or nanos). (Also applies to the QueryTimeout too) - Steve Davids

[jira] [Resolved] (LUCENE-5932) SpanNearUnordered duplicate term counts itself as a match

2014-09-10 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-5932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids resolved LUCENE-5932. -- Resolution: Duplicate Fix Version/s: (was: 4.11) > SpanNearUnordered duplicate t

[jira] [Commented] (LUCENE-5932) SpanNearUnordered duplicate term counts itself as a match

2014-09-10 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-5932?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14128971#comment-14128971 ] Steve Davids commented on LUCENE-5932: -- Oops, you are correct - it does appea

[jira] [Updated] (LUCENE-5932) SpanNearUnordered duplicate term counts itself as a match

2014-09-09 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-5932?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated LUCENE-5932: - Attachment: LUCENE-5932.patch Added patch with test case demonstrating the issue

[jira] [Created] (LUCENE-5932) SpanNearUnordered duplicate term counts itself as a match

2014-09-09 Thread Steve Davids (JIRA)
Steve Davids created LUCENE-5932: Summary: SpanNearUnordered duplicate term counts itself as a match Key: LUCENE-5932 URL: https://issues.apache.org/jira/browse/LUCENE-5932 Project: Lucene - Core

[jira] [Updated] (SOLR-6496) LBHttpSolrServer should stop server retries after the timeAllowed threshold is met

2014-09-09 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6496: --- Attachment: SOLR-6496.patch Fixed patch for null safe SolrParams check. > LBHttpSolrServer sho

[jira] [Commented] (SOLR-5986) Don't allow runaway queries from harming Solr cluster health or search performance

2014-09-09 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-5986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14127767#comment-14127767 ] Steve Davids commented on SOLR-5986: bq. I think this should be ok, speci

[jira] [Updated] (SOLR-6496) LBHttpSolrServer should stop server retries after the timeAllowed threshold is met

2014-09-09 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6496?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6496: --- Attachment: SOLR-6496.patch Initial patch that honors the timeAllowed request parameter. There aren&#

[jira] [Created] (SOLR-6496) LBHttpSolrServer should stop server retries after the timeAllowed threshold is met

2014-09-09 Thread Steve Davids (JIRA)
Steve Davids created SOLR-6496: -- Summary: LBHttpSolrServer should stop server retries after the timeAllowed threshold is met Key: SOLR-6496 URL: https://issues.apache.org/jira/browse/SOLR-6496 Project

[jira] [Updated] (SOLR-6483) Refactor some methods in MiniSolrCloudCluster tests

2014-09-06 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6483: --- Attachment: SOLR-6483.patch Initial patch which has allowed additional convenience methods in the

Re: Some refactorings of MiniSolrCloudCluster and its test?

2014-09-04 Thread Steve Davids
I have recently changed some of my base tests to utilize the MiniSolrCloudCluster and I ended up making a few tweaks from the TestMiniSolrCloudCluster: - I used ZkController.uploadConfigDir(zkClient, configDir, coreName) instead of pulling in uploadConfigFileToZk & uploadConfigToZk, so perha

Re: Solr Plugins Class Loader Issue / Custom DistributedUpdateProcessor

2014-09-03 Thread Steve Davids
Ah, that explains it - thanks Hoss! I wasn’t aware of this class loader subtlety, thanks for teaching me something new today :) -Steve On Sep 3, 2014, at 7:53 PM, Chris Hostetter wrote: > > : Yes, I specifically made a package in my custom plugins code that was in > : the solr package space

Re: Solr Plugins Class Loader Issue / Custom DistributedUpdateProcessor

2014-09-03 Thread Steve Davids
: That's a rule of Java - not anything special about Solr/Lucene. Yes, I specifically made a package in my custom plugins code that was in the solr package space i.e.: org.apache.solr.update.processor I did add the @Override to that specific package protected class and it did properly compile w

[jira] [Commented] (SOLR-4406) RawResponseWriter - doesn't use the configured "base" writer.

2014-09-03 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14119803#comment-14119803 ] Steve Davids commented on SOLR-4406: bq. So i took a stab at refactoring it to

Re: Testing a custom distributed component

2014-08-30 Thread Steve Davids
If you don't want to use the BaseDistributedSearchTestCase you can utilize the newly introduced MiniSolrCloudCluster (http://lucene.apache.org/solr/4_9_0/solr-test-framework/org/apache/solr/cloud/MiniSolrCloudCluster.html) it works rather well. This class doesn't extend the base solr tests case

Solr Plugins Class Loader Issue / Custom DistributedUpdateProcessor

2014-08-28 Thread Steve Davids
After a lot of debugging I found out that you cannot extend Solr/Lucene classes and override package protected methods, it will silently us the super class' method. For a little context, I came across this issue because a client requires some slightly modified merge logic within the DistributedUpd

[jira] [Commented] (SOLR-4406) RawResponseWriter - doesn't use the configured "base" writer.

2014-08-28 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14114631#comment-14114631 ] Steve Davids commented on SOLR-4406: [~hossman] Does the supplied tests fit the

Re: Logging levels in Solr code

2014-08-25 Thread Steve Davids
> > I am personally in favour of some record of any request sent to a server > being logged by default to help trace activity It seems as though that would be more of a TRACE level item. I have used the Log4J/SLF4J MDC to provide a distributed transaction id which makes life much easier to trace

[jira] [Commented] (SOLR-6233) Provide basic command line tools for checking Solr status and health.

2014-08-24 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6233?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14108633#comment-14108633 ] Steve Davids commented on SOLR-6233: One other note, it looks like you created

[jira] [Updated] (SOLR-6233) Provide basic command line tools for checking Solr status and health.

2014-08-22 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6233: --- Attachment: SOLR-6233-minor-refactor.patch I was looking over some of the command line tools

[jira] [Updated] (SOLR-6390) Remove unnecessary checked exception for CloudSolrServer constructor

2014-08-22 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6390: --- Attachment: SOLR-6390.patch Updated patch to add more descriptive javadocs for the CloudSolrServer

[jira] [Commented] (SOLR-6390) Remove unnecessary checked exception for CloudSolrServer constructor

2014-08-22 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6390?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14106925#comment-14106925 ] Steve Davids commented on SOLR-6390: I can go ahead and update the patch later

[jira] [Updated] (SOLR-4406) RawResponseWriter - doesn't use the configured "base" writer.

2014-08-21 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-4406: --- Attachment: SOLR-4406.patch > RawResponseWriter - doesn't use the configured "

[jira] [Updated] (SOLR-4406) RawResponseWriter - doesn't use the configured "base" writer.

2014-08-21 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-4406: --- Attachment: SOLR-4406.patch Made a small tweak to use the Java 7 auto-closeable for the Writer/Output

[jira] [Updated] (SOLR-4406) RawResponseWriter - doesn't use the configured "base" writer.

2014-08-21 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-4406: --- Attachment: SOLR-4406.patch Added tests which provides complete code coverage of the

[jira] [Commented] (SOLR-5986) Don't allow runaway queries from harming Solr cluster health or search performance

2014-08-19 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-5986?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14102854#comment-14102854 ] Steve Davids commented on SOLR-5986: Correct, I was just providing additional ins

[jira] [Commented] (SOLR-4406) RawResponseWriter - doesn't use the configured "base" writer.

2014-08-18 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4406?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14101858#comment-14101858 ] Steve Davids commented on SOLR-4406: Yea, this is a somewhat obscure bug I came ac

[jira] [Updated] (SOLR-6312) CloudSolrServer doesn't honor updatesToLeaders constructor argument

2014-08-18 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6312: --- Attachment: SOLR-6312.patch Added patch to re-enable the updatesToLeader flag and perhaps spur

[jira] [Updated] (SOLR-6390) Remove unnecessary checked exception for CloudSolrServer constructor

2014-08-18 Thread Steve Davids (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-6390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Steve Davids updated SOLR-6390: --- Attachment: SOLR-6390.patch Added patch > Remove unnecessary checked exception for CloudSolrSer

  1   2   >