[GitHub] lucene-solr pull request #34: Move hdfs stuff out into a new contrib

2016-06-08 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/34#discussion_r66244801 --- Diff: lucene/core/src/java/org/apache/lucene/store/Directory.java --- @@ -165,4 +165,13 @@ public void copyFrom(Directory from, String src, String

[GitHub] lucene-solr pull request #34: Move hdfs stuff out into a new contrib

2016-06-10 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/34#discussion_r66629876 --- Diff: solr/contrib/hdfs/src/test/org/apache/solr/cloud/hdfs/HdfsTestUtil.java --- @@ -91,6 +91,9 @@ public static MiniDFSCluster setupClass(String

[GitHub] lucene-solr pull request: SOLR-8323

2016-04-29 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/32#discussion_r61541928 --- Diff: solr/test-framework/src/java/org/apache/solr/cloud/MiniSolrCloudCluster.java --- @@ -348,7 +358,13 @@ public JettySolrRunner

[GitHub] lucene-solr pull request: SOLR-8323

2016-04-29 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/32#discussion_r61541687 --- Diff: solr/solrj/src/java/org/apache/solr/client/solrj/impl/CloudSolrClient.java --- @@ -572,6 +574,40 @@ public void downloadConfig(String

[GitHub] lucene-solr pull request: SOLR-8323

2016-04-29 Thread romseygeek
Github user romseygeek commented on the pull request: https://github.com/apache/lucene-solr/pull/32#issuecomment-215646194 Thanks for the comments! I'll try and incorporate your suggestions and see how far we get. --- If your project is set up for it, you can reply to this email

[GitHub] lucene-solr pull request: SOLR-8323

2016-04-29 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/32#discussion_r61569303 --- Diff: solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java --- @@ -1066,32 +1079,201 @@ public static String getCollectionPath

[GitHub] lucene-solr pull request: SOLR-8323

2016-04-29 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/32#discussion_r61568081 --- Diff: solr/solrj/src/java/org/apache/solr/common/cloud/CollectionStateWatcher.java --- @@ -0,0 +1,42 @@ +package org.apache.solr.common.cloud

[GitHub] lucene-solr pull request: SOLR-8323

2016-05-10 Thread romseygeek
Github user romseygeek commented on the pull request: https://github.com/apache/lucene-solr/pull/32#issuecomment-218251017 That's... a good point, actually. --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project

[GitHub] lucene-solr pull request: SOLR-8323

2016-05-13 Thread romseygeek
Github user romseygeek closed the pull request at: https://github.com/apache/lucene-solr/pull/32 --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project does not have this feature enabled and wishes so

[GitHub] lucene-solr pull request: Move to SolrCloudTestCase

2016-05-18 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/37#discussion_r63663320 --- Diff: solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java --- @@ -70,357 +77,193 @@ import

[GitHub] lucene-solr pull request: Move to SolrCloudTestCase

2016-05-18 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/37#discussion_r63663466 --- Diff: solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java --- @@ -70,357 +77,193 @@ import

[GitHub] lucene-solr pull request: Move to SolrCloudTestCase

2016-05-18 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/37#discussion_r63663986 --- Diff: solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java --- @@ -599,17 +409,17 @@ private void testNoConfigSetExist

[GitHub] lucene-solr pull request: Move to SolrCloudTestCase

2016-05-18 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/37#discussion_r63664257 --- Diff: solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java --- @@ -70,357 +77,193 @@ import

[GitHub] lucene-solr pull request: Move to SolrCloudTestCase

2016-05-18 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/37#discussion_r63663755 --- Diff: solr/core/src/test/org/apache/solr/cloud/CollectionsAPIDistributedZkTest.java --- @@ -435,73 +278,55 @@ private void testErrorHandling

[GitHub] lucene-solr pull request: SOLR-8323

2016-05-12 Thread romseygeek
Github user romseygeek commented on the pull request: https://github.com/apache/lucene-solr/pull/32#issuecomment-218911016 I think this is ready - will put up a patch on the JIRA issue and commit tomorrow UK time. Which is now apparently today UK time. /me goes to bed

[GitHub] lucene-solr pull request: SOLR-8323

2016-05-11 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/32#discussion_r62810535 --- Diff: solr/solrj/src/test/org/apache/solr/common/cloud/TestCollectionStateWatchers.java --- @@ -0,0 +1,235 @@ +package

[GitHub] lucene-solr pull request: SOLR-8323

2016-05-11 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/32#discussion_r62810671 --- Diff: solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java --- @@ -635,6 +669,8 @@ public Object getUpdateLock

[GitHub] lucene-solr pull request: Move hdfs stuff out into a new contrib

2016-05-06 Thread romseygeek
Github user romseygeek commented on the pull request: https://github.com/apache/lucene-solr/pull/34#issuecomment-217531618 @markrmiller I don't think we need to make people jump through any more hoops, and HDFS integration would stay as part of the core distribution, but moving

[GitHub] lucene-solr pull request: SOLR-8323

2016-05-02 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/32#discussion_r61777874 --- Diff: solr/solrj/src/java/org/apache/solr/common/cloud/ZkStateReader.java --- @@ -1066,32 +1079,201 @@ public static String getCollectionPath

[GitHub] lucene-solr pull request: SOLR-8323

2016-05-02 Thread romseygeek
Github user romseygeek commented on the pull request: https://github.com/apache/lucene-solr/pull/32#issuecomment-216315281 OK, latest push moves all notifications out of synchronized blocks. --- If your project is set up for it, you can reply to this email and have your reply appear

[GitHub] lucene-solr pull request: SOLR-8323

2016-05-02 Thread romseygeek
Github user romseygeek commented on the pull request: https://github.com/apache/lucene-solr/pull/32#issuecomment-216347644 Feedback is good :-) I'll pull CSW back out and make it public again. I think keeping it separate from the Predicate is still a useful distinction

[GitHub] lucene-solr pull request: SOLR-8323

2016-05-04 Thread romseygeek
Github user romseygeek commented on the pull request: https://github.com/apache/lucene-solr/pull/32#issuecomment-216922168 > One thing I noticed in writing this is that it's uncertain whether you'll miss any states or not Unless I'm misunderstanding you, this is just how

[GitHub] lucene-solr pull request: SOLR-8323

2016-05-04 Thread romseygeek
Github user romseygeek commented on the pull request: https://github.com/apache/lucene-solr/pull/32#issuecomment-216941787 Last push exposes CollectionStateWatcher directly again, and moves notification calls into an Executor. --- If your project is set up for it, you can reply

[GitHub] lucene-solr pull request: Move hdfs stuff out into a new contrib

2016-05-05 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/34#discussion_r62206298 --- Diff: solr/core/src/java/org/apache/solr/update/UpdateHandler.java --- @@ -200,4 +187,16 @@ public void registerOptimizeCallback

[GitHub] lucene-solr pull request: Move hdfs stuff out into a new contrib

2016-05-05 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/34#discussion_r62204058 --- Diff: solr/core/ivy.xml --- @@ -61,15 +61,6 @@ - - - - - --- End diff

[GitHub] lucene-solr pull request: Move hdfs stuff out into a new contrib

2016-05-05 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/34#discussion_r62205397 --- Diff: solr/core/src/test/org/apache/solr/cloud/ShardSplitTest.java --- @@ -57,7 +57,6 @@ import static

[GitHub] lucene-solr pull request: Move hdfs stuff out into a new contrib

2016-05-05 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/34#discussion_r62203539 --- Diff: lucene/core/src/java/org/apache/lucene/store/Directory.java --- @@ -165,4 +165,13 @@ public void copyFrom(Directory from, String src, String

[GitHub] lucene-solr pull request: SOLR-8323

2016-05-10 Thread romseygeek
Github user romseygeek commented on the pull request: https://github.com/apache/lucene-solr/pull/32#issuecomment-218122269 New plan! We now have a separate notification thread, and change notifications are placed into a LinkedBlockingQueue that the thread waits on. A caveat

[GitHub] lucene-solr pull request: SOLR-8323

2016-04-20 Thread romseygeek
GitHub user romseygeek opened a pull request: https://github.com/apache/lucene-solr/pull/32 SOLR-8323 Adds a CollectionStateWatcher API to listen for changes to collection state (SOLR-8323) You can merge this pull request into a Git repository by running: $ git pull https

[GitHub] lucene-solr pull request: SOLR-8323

2016-05-09 Thread romseygeek
Github user romseygeek commented on the pull request: https://github.com/apache/lucene-solr/pull/32#issuecomment-217978029 On further reflection, I've pulled the separate executor back out again. I think the SolrZkClient's separate executor will work well enough, and for the most

[GitHub] lucene-solr pull request #150: [SOLR-10053] Logging improvements for trouble...

2017-01-31 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/150#discussion_r98625031 --- Diff: solr/core/src/test-files/log4j.properties --- @@ -7,6 +7,7 @@ log4j.appender.CONSOLE.layout=org.apache.log4j.EnhancedPatternLayout

[GitHub] lucene-solr issue #69: SOLR-9399: Delete requests do not send credentials & ...

2016-10-20 Thread romseygeek
Github user romseygeek commented on the issue: https://github.com/apache/lucene-solr/pull/69 Hi, BasicAuthIntegrationTest has been refactored since you opened this request, do you think you could try adding a test case in there now? --- If your project is set up for it, you

[GitHub] lucene-solr pull request #118: SOLR-9659: Add DataWatch API

2016-11-22 Thread romseygeek
GitHub user romseygeek opened a pull request: https://github.com/apache/lucene-solr/pull/118 SOLR-9659: Add DataWatch API You can merge this pull request into a Git repository by running: $ git pull https://github.com/romseygeek/lucene-solr topic/datawatch Alternatively you

[GitHub] lucene-solr issue #37: Move to SolrCloudTestCase

2016-10-28 Thread romseygeek
Github user romseygeek commented on the issue: https://github.com/apache/lucene-solr/pull/37 Finally merged this in (with a few changes), thanks @tomjon ! --- If your project is set up for it, you can reply to this email and have your reply appear on GitHub as well. If your project

[GitHub] lucene-solr pull request #162: SOLR-8776: Support RankQuery in grouping

2017-05-22 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/162#discussion_r117773779 --- Diff: lucene/grouping/src/java/org/apache/lucene/search/grouping/TopGroupsCollector.java --- @@ -39,6 +39,14 @@ private final Sort

[GitHub] lucene-solr pull request #397: Matches highlighter

2018-06-06 Thread romseygeek
GitHub user romseygeek opened a pull request: https://github.com/apache/lucene-solr/pull/397 Matches highlighter You can merge this pull request into a Git repository by running: $ git pull https://github.com/romseygeek/lucene-solr matches-highlighter Alternatively you can

[GitHub] lucene-solr pull request #397: Matches highlighter: LUCENE-8349

2018-06-06 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/397#discussion_r193429612 --- Diff: lucene/core/src/java/org/apache/lucene/index/LeafReaderContext.java --- @@ -35,7 +35,7 @@ /** * Creates a new {@link

[GitHub] lucene-solr pull request #317: LUCENE-8145: OffsetsEnum is now unitary

2018-02-01 Thread romseygeek
GitHub user romseygeek opened a pull request: https://github.com/apache/lucene-solr/pull/317 LUCENE-8145: OffsetsEnum is now unitary You can merge this pull request into a Git repository by running: $ git pull https://github.com/romseygeek/lucene-solr offsetsenum

[GitHub] lucene-solr issue #317: LUCENE-8145: OffsetsEnum is now unitary

2018-02-01 Thread romseygeek
Github user romseygeek commented on the issue: https://github.com/apache/lucene-solr/pull/317 > we could create a single enum per position query I definitely want to do this! For Spans and phrases, and if intervals ever hap

[GitHub] lucene-solr issue #317: LUCENE-8145: OffsetsEnum is now unitary

2018-02-01 Thread romseygeek
Github user romseygeek commented on the issue: https://github.com/apache/lucene-solr/pull/317 I've moved all scoring into PassageScorer itself, and restored the Passage.setScore() method. One thing I notice now is that the various methods on PassageScorer other than score

[GitHub] lucene-solr pull request #317: LUCENE-8145: OffsetsEnum is now unitary

2018-02-01 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/317#discussion_r165431325 --- Diff: lucene/highlighter/src/java/org/apache/lucene/search/uhighlight/OffsetsEnum.java --- @@ -124,34 +123,122 @@ public PostingsEnum

[GitHub] lucene-solr pull request #334: LUCENE-8196

2018-03-09 Thread romseygeek
GitHub user romseygeek opened a pull request: https://github.com/apache/lucene-solr/pull/334 LUCENE-8196 You can merge this pull request into a Git repository by running: $ git pull https://github.com/romseygeek/lucene-solr positions Alternatively you can review and apply

[GitHub] lucene-solr pull request #345: LUCENE-8229: Add Weight.matches() method

2018-04-07 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/345#discussion_r179913306 --- Diff: lucene/core/src/test/org/apache/lucene/search/TestMatchesIterator.java --- @@ -0,0 +1,317 @@ +/* + * Licensed to the Apache

[GitHub] lucene-solr pull request #345: LUCENE-8229: Add Weight.matches() method

2018-04-07 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/345#discussion_r179913304 --- Diff: lucene/core/src/java/org/apache/lucene/search/Weight.java --- @@ -69,6 +69,21 @@ protected Weight(Query query) { */ public

[GitHub] lucene-solr issue #345: LUCENE-8229: Add Weight.matches() method

2018-04-07 Thread romseygeek
Github user romseygeek commented on the issue: https://github.com/apache/lucene-solr/pull/345 I added an assertion to QueryUtils that calls Weight.matches() for each collected document and ensures that the response isn't null (this actually caught a bug in MTQ's handling). I've also

[GitHub] lucene-solr issue #345: LUCENE-8229: Add Weight.matches() method

2018-04-05 Thread romseygeek
Github user romseygeek commented on the issue: https://github.com/apache/lucene-solr/pull/345 > For instance I don't think it should try to report matches whenever there are no terms involved The reason I did this was to make Boolean matching accurate. Say for example

[GitHub] lucene-solr pull request #345: LUCENE-8229: Add Weight.matches() method

2018-04-11 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/345#discussion_r180669841 --- Diff: lucene/core/src/java/org/apache/lucene/search/DisjunctionMatchesIterator.java --- @@ -0,0 +1,168 @@ +/* + * Licensed

[GitHub] lucene-solr issue #345: LUCENE-8229: Add Weight.matches() method

2018-04-11 Thread romseygeek
Github user romseygeek commented on the issue: https://github.com/apache/lucene-solr/pull/345 bq. I agree that making the call fully lazy would be ideal This can't be done, unfortunately, as we need to know up-front if there's a match or not. Hence the slightly odd

[GitHub] lucene-solr issue #345: LUCENE-8229: Add Weight.matches() method

2018-04-09 Thread romseygeek
Github user romseygeek commented on the issue: https://github.com/apache/lucene-solr/pull/345 I extended MatchesAsserter to keep track of the last matching document, and check that if the document one below the current collection is not a hit, then its Matches is null

[GitHub] lucene-solr pull request #345: LUCENE-8229: Add Weight.matches() method

2018-04-06 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/345#discussion_r179679658 --- Diff: lucene/core/src/java/org/apache/lucene/search/DisjunctionMatchesIterator.java --- @@ -0,0 +1,158 @@ +/* + * Licensed

[GitHub] lucene-solr pull request #345: LUCENE-8229: Add Weight.matches() method

2018-04-06 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/345#discussion_r179679922 --- Diff: lucene/core/src/java/org/apache/lucene/search/DisjunctionMatchesIterator.java --- @@ -0,0 +1,158 @@ +/* + * Licensed

[GitHub] lucene-solr pull request #345: LUCENE-8229: Add Weight.matches() method

2018-04-06 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/345#discussion_r179680356 --- Diff: lucene/core/src/java/org/apache/lucene/search/DisjunctionMatchesIterator.java --- @@ -0,0 +1,158 @@ +/* + * Licensed

[GitHub] lucene-solr issue #345: LUCENE-8229: Add Weight.matches() method

2018-04-06 Thread romseygeek
Github user romseygeek commented on the issue: https://github.com/apache/lucene-solr/pull/345 > In term of testing, I think we should enforce some consistency with extractTerms The two aren't always consistent - for example, TermInSetQu

[GitHub] lucene-solr pull request #345: LUCENE-8229: Add Weight.matches() method

2018-03-28 Thread romseygeek
GitHub user romseygeek opened a pull request: https://github.com/apache/lucene-solr/pull/345 LUCENE-8229: Add Weight.matches() method This PR adds a method to Weight that allows iterating over the matching positions (and offsets if available) for a particular document and field

[GitHub] lucene-solr issue #328: SOLR-12034

2018-10-01 Thread romseygeek
Github user romseygeek commented on the issue: https://github.com/apache/lucene-solr/pull/328 Hi @tballison , are you still interested in pushing this one? I can help out, as I'd like to get this committed so that we can move forward with LUCENE-8497 and remove

[GitHub] lucene-solr pull request #460: LUCENE-8497: refactor multi-term analysis han...

2018-10-01 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/460#discussion_r221522640 --- Diff: lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/TrimFilterFactory.java --- @@ -53,7 +51,7 @@ public TrimFilter

[GitHub] lucene-solr pull request #460: LUCENE-8497: refactor multi-term analysis han...

2018-10-01 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/460#discussion_r221522467 --- Diff: lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ASCIIFoldingFilterFactory.java --- @@ -56,18 +53,13 @@ public

[GitHub] lucene-solr pull request #460: LUCENE-8497: refactor multi-term analysis han...

2018-10-01 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/460#discussion_r221522605 --- Diff: lucene/analysis/common/src/java/org/apache/lucene/analysis/miscellaneous/ScandinavianFoldingFilterFactory.java --- @@ -51,7 +49,7

[GitHub] lucene-solr issue #460: LUCENE-8497: refactor multi-term analysis handling

2018-10-01 Thread romseygeek
Github user romseygeek commented on the issue: https://github.com/apache/lucene-solr/pull/460 Thanks Mayya, this looks good. I think it would help to get https://github.com/apache/lucene-solr/pull/328 in first, as that would clean up the Solr issues and allow us to remove

[GitHub] lucene-solr issue #328: SOLR-12034

2018-10-01 Thread romseygeek
Github user romseygeek commented on the issue: https://github.com/apache/lucene-solr/pull/328 The lucene-level changes are there so that you can take an existing CustomAnalyzer and tweak it, if I'm reading correctly. Can you instead add a constructor to CustomAnalyzer.Builder

[GitHub] lucene-solr issue #328: SOLR-12034

2018-10-02 Thread romseygeek
Github user romseygeek commented on the issue: https://github.com/apache/lucene-solr/pull/328 I think we can proceed with LUCENE-8497 anyway by adding a new method to TokenizerChain that only uses multi-term aware filters. Feel free to close this one @tballison

[GitHub] lucene-solr pull request #500: LUCENE-8517: do not wrap FixedShingleFilter w...

2018-11-19 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/500#discussion_r234535812 --- Diff: lucene/test-framework/src/java/org/apache/lucene/analysis/ValidatingTokenFilter.java --- @@ -50,6 +53,9 @@ private final

[GitHub] lucene-solr pull request #500: LUCENE-8517: do not wrap FixedShingleFilter w...

2018-11-19 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/500#discussion_r234535761 --- Diff: lucene/test-framework/src/java/org/apache/lucene/analysis/TokenStreamUtil.java --- @@ -0,0 +1,41 @@ +/* + * Licensed

[GitHub] lucene-solr pull request #500: LUCENE-8517: do not wrap FixedShingleFilter w...

2018-11-19 Thread romseygeek
Github user romseygeek commented on a diff in the pull request: https://github.com/apache/lucene-solr/pull/500#discussion_r234535890 --- Diff: lucene/test-framework/src/java/org/apache/lucene/analysis/ValidatingTokenFilter.java --- @@ -50,6 +53,9 @@ private final