[ANNOUNCE] Apache PyLucene 4.9.0

2014-07-17 Thread Andi Vajda


I am pleased to announce the availability of Apache PyLucene 4.9.0.

Apache PyLucene, a subproject of Apache Lucene, is a Python extension for
accessing Apache Lucene Core. Its goal is to allow you to use Lucene's text
indexing and searching capabilities from Python. It is API compatible with
the latest version of Lucene 4.x Core, 4.9.0.

This release contains a number of bug fixes and improvements. Details can be 
found in the changes files:


http://svn.apache.org/repos/asf/lucene/pylucene/tags/pylucene_4_9_0/CHANGES
http://svn.apache.org/repos/asf/lucene/pylucene/trunk/jcc/CHANGES

Apache PyLucene is available from the following download page:
http://www.apache.org/dyn/closer.cgi/lucene/pylucene/pylucene-4.9.0-0-src.tar.gz

When downloading from a mirror site, please remember to verify the downloads 
using signatures found on the Apache site:

https://dist.apache.org/repos/dist/release/lucene/pylucene/KEYS

For more information on Apache PyLucene, visit the project home page:
  http://lucene.apache.org/pylucene

Andi..


[JENKINS] Lucene-Solr-trunk-Windows (64bit/jdk1.7.0_60) - Build # 4193 - Still Failing!

2014-07-17 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Windows/4193/
Java: 64bit/jdk1.7.0_60 -XX:-UseCompressedOops -XX:+UseG1GC

All tests passed

Build Log:
[...truncated 59573 lines...]
BUILD FAILED
C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\build.xml:467: The 
following error occurred while executing this line:
C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\build.xml:406: The 
following error occurred while executing this line:
C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\extra-targets.xml:87: 
The following error occurred while executing this line:
C:\Users\JenkinsSlave\workspace\Lucene-Solr-trunk-Windows\extra-targets.xml:181:
 Source checkout is dirty after running tests!!! Offending files:
* ./solr/licenses/log4j-1.2.16.jar.sha1

Total time: 195 minutes 36 seconds
Build step 'Invoke Ant' marked build as failure
[description-setter] Description set: Java: 64bit/jdk1.7.0_60 
-XX:-UseCompressedOops -XX:+UseG1GC
Archiving artifacts
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

[jira] [Commented] (SOLR-2875) Incorrect url of tika-data-config.xml in example-DIH

2014-07-17 Thread Frank Ren (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14064681#comment-14064681
 ] 

Frank Ren commented on SOLR-2875:
-

This file, solr-word.pdf, is not shipped in the binary release, 4.9.0.

 Incorrect url of tika-data-config.xml in example-DIH
 

 Key: SOLR-2875
 URL: https://issues.apache.org/jira/browse/SOLR-2875
 Project: Solr
  Issue Type: Bug
  Components: contrib - DataImportHandler
Affects Versions: 4.0-ALPHA
 Environment: solr boot:java 
 -Dsolr.solr.home=~/trunk/solr/example/example-DIH/solr/tika -jar start.jar 
Reporter: Shinichiro Abe
Assignee: Koji Sekiguchi
Priority: Trivial
 Fix For: 3.5, 4.0-ALPHA

 Attachments: SOLR-2875.patch


 The specified url in tika-data-config.xml is not correct path. So when 
 running full-import, exception is thrown.
 {quote}
 2011/11/04 16:48:26 org.apache.solr.common.SolrException log
 ?v???I: Full Import failed:java.lang.RuntimeException: 
 org.apache.solr.handler.dataimport.DataImportHandlerException: 
 java.lang.RuntimeException: java.io.FileNotFoundException: Could not find 
 file: ../contrib/extraction/src/test/resources/solr-word.pdf
   at 
 org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:261)
   at 
 org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:372)
  :
  :
 Caused by: java.io.FileNotFoundException: Could not find file: 
 ../contrib/extraction/src/test/resources/solr-word.pdf
   at 
 org.apache.solr.handler.dataimport.FileDataSource.getFile(FileDataSource.java:110)
 {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-2875) Incorrect url of tika-data-config.xml in example-DIH

2014-07-17 Thread Shinichiro Abe (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14064691#comment-14064691
 ] 

Shinichiro Abe commented on SOLR-2875:
--

Yes, the binary don't always have any pdf files. This data import will be 
completed successfully  on the source.

 Incorrect url of tika-data-config.xml in example-DIH
 

 Key: SOLR-2875
 URL: https://issues.apache.org/jira/browse/SOLR-2875
 Project: Solr
  Issue Type: Bug
  Components: contrib - DataImportHandler
Affects Versions: 4.0-ALPHA
 Environment: solr boot:java 
 -Dsolr.solr.home=~/trunk/solr/example/example-DIH/solr/tika -jar start.jar 
Reporter: Shinichiro Abe
Assignee: Koji Sekiguchi
Priority: Trivial
 Fix For: 3.5, 4.0-ALPHA

 Attachments: SOLR-2875.patch


 The specified url in tika-data-config.xml is not correct path. So when 
 running full-import, exception is thrown.
 {quote}
 2011/11/04 16:48:26 org.apache.solr.common.SolrException log
 ?v???I: Full Import failed:java.lang.RuntimeException: 
 org.apache.solr.handler.dataimport.DataImportHandlerException: 
 java.lang.RuntimeException: java.io.FileNotFoundException: Could not find 
 file: ../contrib/extraction/src/test/resources/solr-word.pdf
   at 
 org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:261)
   at 
 org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:372)
  :
  :
 Caused by: java.io.FileNotFoundException: Could not find file: 
 ../contrib/extraction/src/test/resources/solr-word.pdf
   at 
 org.apache.solr.handler.dataimport.FileDataSource.getFile(FileDataSource.java:110)
 {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-5473) Split clusterstate.json per collection and watch states selectively

2014-07-17 Thread Noble Paul (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-5473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Noble Paul updated SOLR-5473:
-

Attachment: SOLR-5473-74.patch

Yes, it should be handled like a STALE_STATE error. 

I was about to put up a new patch

 Split clusterstate.json per collection and watch states selectively 
 

 Key: SOLR-5473
 URL: https://issues.apache.org/jira/browse/SOLR-5473
 Project: Solr
  Issue Type: Sub-task
  Components: SolrCloud
Reporter: Noble Paul
Assignee: Noble Paul
 Fix For: 5.0

 Attachments: SOLR-5473-74 .patch, SOLR-5473-74.patch, 
 SOLR-5473-74.patch, SOLR-5473-74.patch, SOLR-5473-74.patch, 
 SOLR-5473-74.patch, SOLR-5473-74.patch, SOLR-5473-74.patch, 
 SOLR-5473-74.patch, SOLR-5473-74.patch, SOLR-5473-74.patch, 
 SOLR-5473-74.patch, SOLR-5473-74.patch, SOLR-5473-74.patch, 
 SOLR-5473-74.patch, SOLR-5473-74.patch, SOLR-5473-74.patch, 
 SOLR-5473-74.patch, SOLR-5473-74.patch, SOLR-5473-74.patch, 
 SOLR-5473-74.patch, SOLR-5473-74.patch, SOLR-5473-74.patch, 
 SOLR-5473-74.patch, SOLR-5473-74.patch, SOLR-5473-74.patch, 
 SOLR-5473-74.patch, SOLR-5473-74.patch, SOLR-5473-74.patch, 
 SOLR-5473-74.patch, SOLR-5473-74.patch, SOLR-5473-74.patch, 
 SOLR-5473-74.patch, SOLR-5473-74.patch, SOLR-5473-74_POC.patch, 
 SOLR-5473-configname-fix.patch, SOLR-5473.patch, SOLR-5473.patch, 
 SOLR-5473.patch, SOLR-5473.patch, SOLR-5473.patch, SOLR-5473.patch, 
 SOLR-5473.patch, SOLR-5473.patch, SOLR-5473.patch, SOLR-5473.patch, 
 SOLR-5473.patch, SOLR-5473.patch, SOLR-5473.patch, SOLR-5473.patch, 
 SOLR-5473.patch, SOLR-5473.patch, SOLR-5473.patch, SOLR-5473.patch, 
 SOLR-5473_undo.patch, ec2-23-20-119-52_solr.log, ec2-50-16-38-73_solr.log


 As defined in the parent issue, store the states of each collection under 
 /collections/collectionname/state.json node



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.7.0_60) - Build # 10835 - Still Failing!

2014-07-17 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/10835/
Java: 32bit/jdk1.7.0_60 -server -XX:+UseSerialGC

All tests passed

Build Log:
[...truncated 52249 lines...]
BUILD FAILED
/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:467: The following 
error occurred while executing this line:
/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/build.xml:406: The following 
error occurred while executing this line:
/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/extra-targets.xml:87: The 
following error occurred while executing this line:
/mnt/ssd/jenkins/workspace/Lucene-Solr-trunk-Linux/extra-targets.xml:181: 
Source checkout is dirty after running tests!!! Offending files:
* ./solr/licenses/log4j-1.2.16.jar.sha1

Total time: 102 minutes 30 seconds
Build step 'Invoke Ant' marked build as failure
[description-setter] Description set: Java: 32bit/jdk1.7.0_60 -server 
-XX:+UseSerialGC
Archiving artifacts
Recording test results
Email was triggered for: Failure - Any
Sending email for trigger: Failure - Any



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

[jira] [Commented] (LUCENE-5819) Add block tree postings format that supports term ords

2014-07-17 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14064820#comment-14064820
 ] 

Robert Muir commented on LUCENE-5819:
-

Why is FSTOrdsOutput just treating the rest of the output as a byte array? Wont 
this be ineffective here (e.g. we have pointer to block in terms dict, what 
else is in there?) Do we really need a generic solution or should this just 
have its own output geared at what it does?

 Add block tree postings format that supports term ords
 --

 Key: LUCENE-5819
 URL: https://issues.apache.org/jira/browse/LUCENE-5819
 Project: Lucene - Core
  Issue Type: Improvement
  Components: modules/other
Reporter: Michael McCandless
Assignee: Michael McCandless
 Fix For: 5.0, 4.10

 Attachments: LUCENE-5819.patch, LUCENE-5819.patch


 BlockTree is our default terms dictionary today, but it doesn't
 support term ords, which is an optional API in the postings format to
 retrieve the ordinal for the currently seek'd term, and also later
 seek by that ordinal e.g. to lookup the term.
 This can possibly be useful for e.g. faceting, and maybe at some point
 we can share the postings terms dict with the one used by sorted/set
 DV for cases when app wants to invert and facet on a given field.
 The older (3.x) block terms dict can easily support ords, and we have
 a Lucene41OrdsPF in test-framework, but it's not as fast / compact as
 block-tree, and doesn't (can't easily) implement an optimized
 intersect, but it could be for fields we'd want to facet on, these
 tradeoffs don't matter.  It's nice to have options...



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Created] (SOLR-6253) Plugin init failure for custom analysis filter

2014-07-17 Thread Sharmilee S (JIRA)
Sharmilee S created SOLR-6253:
-

 Summary: Plugin init failure for custom analysis filter
 Key: SOLR-6253
 URL: https://issues.apache.org/jira/browse/SOLR-6253
 Project: Solr
  Issue Type: Bug
  Components: Schema and Analysis
Affects Versions: 4.6
 Environment: Linux
Reporter: Sharmilee S


Getting this error below on adding new custom filter to schema.xml:
org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: 
Plugin init failure for [schema.xml] fieldType textCustom: Plugin init 
failure for [schema.xml] analyzer/filter: Error instantiating class: 
'org.apache.solr.analysis.Custom.CustomFilterFactory'. Schema file is 
/opt/solr5/collection3/schema.xml

I tried adding jar of my custom filter to /solr/collection/lib path as 
mentioned in this link: 
http://stackoverflow.com/questions/7828619/basetokenfilterfactory-not-found-by-solr-with-custom-filter
 but same error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-6253) Plugin init failure for custom analysis filter

2014-07-17 Thread Sharmilee S (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-6253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sharmilee S updated SOLR-6253:
--

Remaining Estimate: (was: 840h)
 Original Estimate: (was: 840h)

 Plugin init failure for custom analysis filter
 --

 Key: SOLR-6253
 URL: https://issues.apache.org/jira/browse/SOLR-6253
 Project: Solr
  Issue Type: Bug
  Components: Schema and Analysis
Affects Versions: 4.6
 Environment: Linux
Reporter: Sharmilee S
Priority: Critical
  Labels: analysis, customPlugin, filter, filterfactory, solr

 Getting this error below on adding new custom filter to schema.xml:
 org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: 
 Plugin init failure for [schema.xml] fieldType textCustom: Plugin init 
 failure for [schema.xml] analyzer/filter: Error instantiating class: 
 'org.apache.solr.analysis.Custom.CustomFilterFactory'. Schema file is 
 /opt/solr5/collection3/schema.xml
 I tried adding jar of my custom filter to /solr/collection/lib path as 
 mentioned in this link: 
 http://stackoverflow.com/questions/7828619/basetokenfilterfactory-not-found-by-solr-with-custom-filter
  but same error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-6253) Plugin init failure for custom analysis filter

2014-07-17 Thread Sharmilee S (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-6253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sharmilee S updated SOLR-6253:
--

Priority: Critical  (was: Major)

 Plugin init failure for custom analysis filter
 --

 Key: SOLR-6253
 URL: https://issues.apache.org/jira/browse/SOLR-6253
 Project: Solr
  Issue Type: Bug
  Components: Schema and Analysis
Affects Versions: 4.6
 Environment: Linux
Reporter: Sharmilee S
Priority: Critical
  Labels: analysis, customPlugin, filter, filterfactory, solr
   Original Estimate: 840h
  Remaining Estimate: 840h

 Getting this error below on adding new custom filter to schema.xml:
 org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: 
 Plugin init failure for [schema.xml] fieldType textCustom: Plugin init 
 failure for [schema.xml] analyzer/filter: Error instantiating class: 
 'org.apache.solr.analysis.Custom.CustomFilterFactory'. Schema file is 
 /opt/solr5/collection3/schema.xml
 I tried adding jar of my custom filter to /solr/collection/lib path as 
 mentioned in this link: 
 http://stackoverflow.com/questions/7828619/basetokenfilterfactory-not-found-by-solr-with-custom-filter
  but same error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-2875) Incorrect url of tika-data-config.xml in example-DIH

2014-07-17 Thread Frank Ren (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14064868#comment-14064868
 ] 

Frank Ren commented on SOLR-2875:
-

It would be helpful to inform people of this somewhere, say,
example/example-DIH/README.txt. Some instruction for tika would also be
appreciated. Thanks :D


On Thu, Jul 17, 2014 at 4:08 PM, Shinichiro Abe (JIRA) j...@apache.org



 Incorrect url of tika-data-config.xml in example-DIH
 

 Key: SOLR-2875
 URL: https://issues.apache.org/jira/browse/SOLR-2875
 Project: Solr
  Issue Type: Bug
  Components: contrib - DataImportHandler
Affects Versions: 4.0-ALPHA
 Environment: solr boot:java 
 -Dsolr.solr.home=~/trunk/solr/example/example-DIH/solr/tika -jar start.jar 
Reporter: Shinichiro Abe
Assignee: Koji Sekiguchi
Priority: Trivial
 Fix For: 3.5, 4.0-ALPHA

 Attachments: SOLR-2875.patch


 The specified url in tika-data-config.xml is not correct path. So when 
 running full-import, exception is thrown.
 {quote}
 2011/11/04 16:48:26 org.apache.solr.common.SolrException log
 ?v???I: Full Import failed:java.lang.RuntimeException: 
 org.apache.solr.handler.dataimport.DataImportHandlerException: 
 java.lang.RuntimeException: java.io.FileNotFoundException: Could not find 
 file: ../contrib/extraction/src/test/resources/solr-word.pdf
   at 
 org.apache.solr.handler.dataimport.DocBuilder.execute(DocBuilder.java:261)
   at 
 org.apache.solr.handler.dataimport.DataImporter.doFullImport(DataImporter.java:372)
  :
  :
 Caused by: java.io.FileNotFoundException: Could not find file: 
 ../contrib/extraction/src/test/resources/solr-word.pdf
   at 
 org.apache.solr.handler.dataimport.FileDataSource.getFile(FileDataSource.java:110)
 {quote}



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Created] (LUCENE-5830) Fix some missing/assert codec checks to throw CorruptIndexException

2014-07-17 Thread Robert Muir (JIRA)
Robert Muir created LUCENE-5830:
---

 Summary: Fix some missing/assert codec checks to throw 
CorruptIndexException
 Key: LUCENE-5830
 URL: https://issues.apache.org/jira/browse/LUCENE-5830
 Project: Lucene - Core
  Issue Type: Bug
Reporter: Robert Muir
 Attachments: LUCENE-5830.patch

I thought i had tackled all these before, but I missed a few good ones.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-5830) Fix some missing/assert codec checks to throw CorruptIndexException

2014-07-17 Thread Robert Muir (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-5830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir updated LUCENE-5830:


Attachment: LUCENE-5830.patch

 Fix some missing/assert codec checks to throw CorruptIndexException
 ---

 Key: LUCENE-5830
 URL: https://issues.apache.org/jira/browse/LUCENE-5830
 Project: Lucene - Core
  Issue Type: Bug
Reporter: Robert Muir
 Attachments: LUCENE-5830.patch


 I thought i had tackled all these before, but I missed a few good ones.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5830) Fix some missing/assert codec checks to throw CorruptIndexException

2014-07-17 Thread Michael McCandless (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14064872#comment-14064872
 ] 

Michael McCandless commented on LUCENE-5830:


+1

 Fix some missing/assert codec checks to throw CorruptIndexException
 ---

 Key: LUCENE-5830
 URL: https://issues.apache.org/jira/browse/LUCENE-5830
 Project: Lucene - Core
  Issue Type: Bug
Reporter: Robert Muir
 Attachments: LUCENE-5830.patch


 I thought i had tackled all these before, but I missed a few good ones.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5819) Add block tree postings format that supports term ords

2014-07-17 Thread Michael McCandless (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5819?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14064886#comment-14064886
 ] 

Michael McCandless commented on LUCENE-5819:


bq. Do we really need a generic solution or should this just have its own 
output geared at what it does?

Well, really I just preserved that from the current block tree impl.  That 
byte[] has the pointer to the block, plus a couple flags 
(isLeafBlock/isFloorBlock) and then any floor block index data (file pointer 
offsets to get to the floor blocks).  I agree at Outputs impl that broke these 
things out would be nicer ... but I think this should probably be done 
separately.

 Add block tree postings format that supports term ords
 --

 Key: LUCENE-5819
 URL: https://issues.apache.org/jira/browse/LUCENE-5819
 Project: Lucene - Core
  Issue Type: Improvement
  Components: modules/other
Reporter: Michael McCandless
Assignee: Michael McCandless
 Fix For: 5.0, 4.10

 Attachments: LUCENE-5819.patch, LUCENE-5819.patch


 BlockTree is our default terms dictionary today, but it doesn't
 support term ords, which is an optional API in the postings format to
 retrieve the ordinal for the currently seek'd term, and also later
 seek by that ordinal e.g. to lookup the term.
 This can possibly be useful for e.g. faceting, and maybe at some point
 we can share the postings terms dict with the one used by sorted/set
 DV for cases when app wants to invert and facet on a given field.
 The older (3.x) block terms dict can easily support ords, and we have
 a Lucene41OrdsPF in test-framework, but it's not as fast / compact as
 block-tree, and doesn't (can't easily) implement an optimized
 intersect, but it could be for fields we'd want to facet on, these
 tradeoffs don't matter.  It's nice to have options...



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3619) Rename 'example' dir to 'server' and pull examples into an 'examples' directory

2014-07-17 Thread Timothy Potter (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14064938#comment-14064938
 ] 

Timothy Potter commented on SOLR-3619:
--

Resurrecting interest in this as I'd like to get this done in the near term. 
Main question is whether this will only be for Solr 5 or should be backported 
to 4.x?

 Rename 'example' dir to 'server' and pull examples into an 'examples' 
 directory
 ---

 Key: SOLR-3619
 URL: https://issues.apache.org/jira/browse/SOLR-3619
 Project: Solr
  Issue Type: Improvement
Reporter: Mark Miller
 Fix For: 4.9, 5.0

 Attachments: SOLR-3619.patch, server-name-layout.png






--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5830) Fix some missing/assert codec checks to throw CorruptIndexException

2014-07-17 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5830?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14064943#comment-14064943
 ] 

Uwe Schindler commented on LUCENE-5830:
---

Strong +1. We need more hard checks, hard checks, hard checks, hard checks. 
Asserts should not be used when disk IO is involved :-)

 Fix some missing/assert codec checks to throw CorruptIndexException
 ---

 Key: LUCENE-5830
 URL: https://issues.apache.org/jira/browse/LUCENE-5830
 Project: Lucene - Core
  Issue Type: Bug
Reporter: Robert Muir
 Attachments: LUCENE-5830.patch


 I thought i had tackled all these before, but I missed a few good ones.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3619) Rename 'example' dir to 'server' and pull examples into an 'examples' directory

2014-07-17 Thread Yonik Seeley (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14064953#comment-14064953
 ] 

Yonik Seeley commented on SOLR-3619:


Good luck getting consensus ;-)  I sort of lost interest when it looked like 
some of the proposals would have made things more complex (or at least as 
complex) as what we have now.

 Rename 'example' dir to 'server' and pull examples into an 'examples' 
 directory
 ---

 Key: SOLR-3619
 URL: https://issues.apache.org/jira/browse/SOLR-3619
 Project: Solr
  Issue Type: Improvement
Reporter: Mark Miller
 Fix For: 4.9, 5.0

 Attachments: SOLR-3619.patch, server-name-layout.png






--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



CMS diff:

2014-07-17 Thread Mathieu
Clone URL (Committers only):
https://cms.apache.org/redirect?new=anonymous;action=diff;uri=http://lucene.apache.org/solr%2Fbooks.mdtext

Mathieu

Index: trunk/content/solr/books.mdtext
===
--- trunk/content/solr/books.mdtext (revision 1608973)
+++ trunk/content/solr/books.mdtext (working copy)
@@ -1,6 +1,19 @@
 # Solrspan style=vertical-align: super; font-size: xx-smallTM/span Books
 
 [TOC]
+
+## Mastering Apache Solr
+
+Mathieu Nayrolles and Inkstall Publications are proud to announce their latest 
book —a 
href=http://www.amazon.com/Mastering-Apache-Solr-practical-guide/dp/8192784509;Mastering
 Apache Solr/a.  This book will empower you to provide a world-class search 
experience to your end users through the discovery of the powerful mechanisms 
presented in it.
+
+a 
href=http://www.amazon.com/Mastering-Apache-Solr-practical-guide/dp/8192784509;
 title=Mastering Apache Solrimg alt=Solr in Action cover 
class=float-right src=http://ecx.images-amazon.com/images/I/41MDmx45l9L.jpg; 
height=236px width=192px//a
+
+Mastering Apache Solr is a short, focused, practical, hands-on guide 
containing crisp, relevant, systematically arranged, progressive chapters. 
These chapters contain a wealth of information presented in a direct and 
easy-to-understand manner. Highlighting Solr's supremacy over classical 
databases in full-text search, this book covers key technical concepts which 
will help you accelerate your progress in the Solr world.
+ 
+Mastering Apache Solr starts with an introduction to Apache Solr, its 
underlying technologies, the main differences between the classical database 
engines, and gradually moves to more advance topics such as boosting 
performance. In this book, we will look under the hood of a large number of 
topics and discuss answers to pertinent questions such as why denormalize data, 
how to import classical databases' data inside Apache Solr, how to serve Solr 
through five different web servers, how to optimize them to serve Solr even 
faster. An important and major topic covered in this book is Solr's querying 
mechanism, which will prove to be a strong ally in our journey through this 
book. We then look at boosting performance and deploying Solr using several 
servlet servers. Finally, we cover how to communicate with Solr using different 
programming languages, before deploying it in a cloud-based environment.
+ 
+Mastering Apache Solr is written lucidly and has a clear simple approach. From 
the first page to the last, the book remains practical and focuses on the most 
important topics used in the world of Apache Solr without neglecting important 
theoretical fundamentals that help you build a strong foundation. 
+
 ## Solr in Action
 
 Trey Grainger, Timothy Potter, and Manning Publications are proud to announce 
a href=http://solrinaction.com/Solr in Action/a, a comprehensive (638 
pg.), example-driven guide covering through Solr 4.7.


-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-2894) Implement distributed pivot faceting

2014-07-17 Thread Hoss Man (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065060#comment-14065060
 ] 

Hoss Man commented on SOLR-2894:


bq. When those two things combine ... *Fixed*

Awesome .. i love it when tests uncover bugs you never even suspected.

bq. Are you still seeing the infinite recursion problem? The seeds you provided 
earlier pass locally for me.

Changing the encoding mechanism stoped the reliably reproducing infinite loop 
-- my concern though is that -- even if it's hard to test for -- we should make 
sure the overall algorithm for refinement isn't susceptible to infinite looping 
in the event of aberrant shard behavior.

At the moment, from what i can tell, the general behavior of the refinement 
logic is along the lines of...

{code}
while ( ! values_needing_refined.isEmpty() ) {
  foreach (value : values_needing_refined) {
foreach (shard_not_responded : value) {
  shardrequstor.enque_refinement_request(shard_not_responded, value)
}
  }
  shardrequestor.send_refinement_requests_to_shards_that_need_them()
}
{code}

Now imagine a situation where, for whatever reason, some shard will *never* 
respond back as expected from a refinement request -- ie: maybe we just started 
a rolling config upgrade and the new solrconfig.xml permanently disables 
faceting via a {{facet=false}} invariant? that's going to be an infinite loop.

We need a safety valve in the refinement logic.

Instead of simply sending refinement requests to a shard if there is a value 
whose shard count we don't know, potentially asking for hte same refinement 
over and over; we should instead keep track of which shards we've already 
_asked_ for a refinement, and if we've already asked a shard once, and still 
don't have a response then we should just give up and return an error.

does that make sense?



 Implement distributed pivot faceting
 

 Key: SOLR-2894
 URL: https://issues.apache.org/jira/browse/SOLR-2894
 Project: Solr
  Issue Type: Improvement
Reporter: Erik Hatcher
Assignee: Hoss Man
 Fix For: 4.9, 5.0

 Attachments: SOLR-2894-mincount-minification.patch, 
 SOLR-2894-reworked.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894_cloud_test.patch, dateToObject.patch, pivot_mincount_problem.sh


 Following up on SOLR-792, pivot faceting currently only supports 
 undistributed mode.  Distributed pivot faceting needs to be implemented.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5831) ant precommit should depend on clean-jars

2014-07-17 Thread Steve Rowe (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065164#comment-14065164
 ] 

Steve Rowe commented on LUCENE-5831:


Simple patch:

{code:xml}
Index: build.xml
===
--- build.xml   (revision 1611400)
+++ build.xml   (working copy)
@@ -39,7 +39,7 @@
   property name=tests.heap-dump-dir location=heapdumps/
   
   target name=precommit description=Run basic checks before committing
-  depends=check-svn-working-copy,validate,documentation-lint/
+  
depends=clean-jars,check-svn-working-copy,validate,documentation-lint/
 
   target name=test description=Test both Lucene and Solr
 subant buildpath=. antfile=extra-targets.xml target=-run-test 
inheritall=false failonerror=true /
{code}

 ant precommit should depend on clean-jars
 -

 Key: LUCENE-5831
 URL: https://issues.apache.org/jira/browse/LUCENE-5831
 Project: Lucene - Core
  Issue Type: Bug
  Components: general/build
Reporter: Steve Rowe
Priority: Minor

 Ivy's bug that fails to remove differently versioned dependencies in 
 (test-)lib/ dirs even though we set {{sync=true}} on {{ivy:retrieve}} (I 
 couldn't find a JIRA for this) continues to cause trouble/confusion (see 
 related LUCENE-5467).
 We should make the ant {{precommit}} target depend on {{clean-jars}}, so that 
 people won't think they need to run {{ant jar-checksums}} because of stale 
 jars Ivy leaves in {{lib/}} or {{test-lib/}} directories, which currently 
 causes {{ant precommit}} to bitch that there are missing checksums.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Created] (LUCENE-5831) ant precommit should depend on clean-jars

2014-07-17 Thread Steve Rowe (JIRA)
Steve Rowe created LUCENE-5831:
--

 Summary: ant precommit should depend on clean-jars
 Key: LUCENE-5831
 URL: https://issues.apache.org/jira/browse/LUCENE-5831
 Project: Lucene - Core
  Issue Type: Bug
  Components: general/build
Reporter: Steve Rowe
Priority: Minor


Ivy's bug that fails to remove differently versioned dependencies in 
(test-)lib/ dirs even though we set {{sync=true}} on {{ivy:retrieve}} (I 
couldn't find a JIRA for this) continues to cause trouble/confusion (see 
related LUCENE-5467).

We should make the ant {{precommit}} target depend on {{clean-jars}}, so that 
people won't think they need to run {{ant jar-checksums}} because of stale jars 
Ivy leaves in {{lib/}} or {{test-lib/}} directories, which currently causes 
{{ant precommit}} to bitch that there are missing checksums.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5831) ant precommit should depend on clean-jars

2014-07-17 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065176#comment-14065176
 ] 

Robert Muir commented on LUCENE-5831:
-

This destroys and destabilizes my IDE environment (ant clean-jars) every time 
its run!

 ant precommit should depend on clean-jars
 -

 Key: LUCENE-5831
 URL: https://issues.apache.org/jira/browse/LUCENE-5831
 Project: Lucene - Core
  Issue Type: Bug
  Components: general/build
Reporter: Steve Rowe
Priority: Minor

 Ivy's bug that fails to remove differently versioned dependencies in 
 (test-)lib/ dirs even though we set {{sync=true}} on {{ivy:retrieve}} (I 
 couldn't find a JIRA for this) continues to cause trouble/confusion (see 
 related LUCENE-5467).
 We should make the ant {{precommit}} target depend on {{clean-jars}}, so that 
 people won't think they need to run {{ant jar-checksums}} because of stale 
 jars Ivy leaves in {{lib/}} or {{test-lib/}} directories, which currently 
 causes {{ant precommit}} to bitch that there are missing checksums.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3619) Rename 'example' dir to 'server' and pull examples into an 'examples' directory

2014-07-17 Thread Timothy Potter (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065174#comment-14065174
 ] 

Timothy Potter commented on SOLR-3619:
--

A fair point Yonik ;-) We need to come together on this quickly as I hear often 
how unintuitive the Solr directory layout is compared to other open source 
search engines based on Lucene. 

What about leaving example untouched and introducing a new server directory? 
That would make backporting easier and satisfy the bulk of the concerns of new 
users looking at Solr's directory structure.

 Rename 'example' dir to 'server' and pull examples into an 'examples' 
 directory
 ---

 Key: SOLR-3619
 URL: https://issues.apache.org/jira/browse/SOLR-3619
 Project: Solr
  Issue Type: Improvement
Reporter: Mark Miller
 Fix For: 4.9, 5.0

 Attachments: SOLR-3619.patch, server-name-layout.png






--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5831) ant precommit should depend on clean-jars

2014-07-17 Thread Robert Muir (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065178#comment-14065178
 ] 

Robert Muir commented on LUCENE-5831:
-

I don't think we need to run this every time we precommit, adding third party 
dependencies is something that shouldnt happen 10x a day, and should be done 
carefully (taking into account licensing, and other aspects).

 ant precommit should depend on clean-jars
 -

 Key: LUCENE-5831
 URL: https://issues.apache.org/jira/browse/LUCENE-5831
 Project: Lucene - Core
  Issue Type: Bug
  Components: general/build
Reporter: Steve Rowe
Priority: Minor

 Ivy's bug that fails to remove differently versioned dependencies in 
 (test-)lib/ dirs even though we set {{sync=true}} on {{ivy:retrieve}} (I 
 couldn't find a JIRA for this) continues to cause trouble/confusion (see 
 related LUCENE-5467).
 We should make the ant {{precommit}} target depend on {{clean-jars}}, so that 
 people won't think they need to run {{ant jar-checksums}} because of stale 
 jars Ivy leaves in {{lib/}} or {{test-lib/}} directories, which currently 
 causes {{ant precommit}} to bitch that there are missing checksums.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



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

2014-07-17 Thread Timothy Potter (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-6233?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Timothy Potter updated SOLR-6233:
-

Summary: Provide basic command line tools for checking Solr status and 
health.  (was: Need an option on the admin system info handler to get a smaller 
set of essential information about a server.)

 Provide basic command line tools for checking Solr status and health.
 -

 Key: SOLR-6233
 URL: https://issues.apache.org/jira/browse/SOLR-6233
 Project: Solr
  Issue Type: Improvement
Reporter: Timothy Potter
Priority: Minor

 As part of the start script development work SOLR-3617, example restructuring 
 SOLR-3619, and the overall curb appeal work SOLR-4430, I'd like to have an 
 option on the SystemInfoHandler that gives a shorter, well formatted JSON 
 synopsis of essential information. I know essential is vague ;-) but right 
 now using curl to http://host:port/solr/admin/info/system?wt=json gives too 
 much information when I just want a synopsis of a Solr server. 
 Maybe something like overview=true?
 Result would be:
 {noformat}
 {
   address: http://localhost:8983/solr;,
   mode: solrcloud,
   zookeeper: localhost:2181/foo,
   uptime: 2 days, 3 hours, 4 minutes, 5 seconds,
   version: 5.0-SNAPSHOT,
   status: healthy,
   memory: 4.2g of 6g
 }
 {noformat}
 Now of course, one may argue all this information can be easily parsed from 
 the JSON but consider cross-platform command-line tools that don't have 
 immediate access to a JSON parser, such as the bin/solr start script.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5831) ant precommit should depend on clean-jars

2014-07-17 Thread Hoss Man (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065217#comment-14065217
 ] 

Hoss Man commented on LUCENE-5831:
--

maybe instead of modifying the ant deps, we should instead update the error 
message produced by precommit when it isn't happy with the jar checksums to 
help the user sanity check themselves

something like...

{noformat}
Missing checksum for foo.jar

If you recently modified any ivy.xml or ivy.properties files to add new jars, 
make sure you run ant clean-jars jar-checksums before running precommit.
{noformat}

 ant precommit should depend on clean-jars
 -

 Key: LUCENE-5831
 URL: https://issues.apache.org/jira/browse/LUCENE-5831
 Project: Lucene - Core
  Issue Type: Bug
  Components: general/build
Reporter: Steve Rowe
Priority: Minor

 Ivy's bug that fails to remove differently versioned dependencies in 
 (test-)lib/ dirs even though we set {{sync=true}} on {{ivy:retrieve}} (I 
 couldn't find a JIRA for this) continues to cause trouble/confusion (see 
 related LUCENE-5467).
 We should make the ant {{precommit}} target depend on {{clean-jars}}, so that 
 people won't think they need to run {{ant jar-checksums}} because of stale 
 jars Ivy leaves in {{lib/}} or {{test-lib/}} directories, which currently 
 causes {{ant precommit}} to bitch that there are missing checksums.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5831) ant precommit should depend on clean-jars

2014-07-17 Thread Steve Rowe (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5831?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065221#comment-14065221
 ] 

Steve Rowe commented on LUCENE-5831:


+1 sounds good Hoss

 ant precommit should depend on clean-jars
 -

 Key: LUCENE-5831
 URL: https://issues.apache.org/jira/browse/LUCENE-5831
 Project: Lucene - Core
  Issue Type: Bug
  Components: general/build
Reporter: Steve Rowe
Priority: Minor

 Ivy's bug that fails to remove differently versioned dependencies in 
 (test-)lib/ dirs even though we set {{sync=true}} on {{ivy:retrieve}} (I 
 couldn't find a JIRA for this) continues to cause trouble/confusion (see 
 related LUCENE-5467).
 We should make the ant {{precommit}} target depend on {{clean-jars}}, so that 
 people won't think they need to run {{ant jar-checksums}} because of stale 
 jars Ivy leaves in {{lib/}} or {{test-lib/}} directories, which currently 
 causes {{ant precommit}} to bitch that there are missing checksums.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3619) Rename 'example' dir to 'server' and pull examples into an 'examples' directory

2014-07-17 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065222#comment-14065222
 ] 

Mark Miller commented on SOLR-3619:
---

I think we should make this change in 4x and 5x. No reason we should have to 
wait for 5x to get a sensible modern directory layout.

bq. What about leaving example untouched and introducing a new server 
directory? 

As long as we pull jetty and what not out into the server directory. We can 
improve on the sprawling example dir later. I would hate to see another set of 
configs introduced though.





 Rename 'example' dir to 'server' and pull examples into an 'examples' 
 directory
 ---

 Key: SOLR-3619
 URL: https://issues.apache.org/jira/browse/SOLR-3619
 Project: Solr
  Issue Type: Improvement
Reporter: Mark Miller
 Fix For: 4.9, 5.0

 Attachments: SOLR-3619.patch, server-name-layout.png






--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-2894) Implement distributed pivot faceting

2014-07-17 Thread Andrew Muldowney (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065242#comment-14065242
 ] 

Andrew Muldowney commented on SOLR-2894:


bq. We need a safety valve in the refinement logic.

I'm with you. Brett and I have talked through some options and I think we have 
the requisite accounting already in place to be able to check if a shard did 
not respond with all the refinement values we asked for. We should be able to 
check the refinements and see that they have had data contributed from the 
shard in question, if not well throw an error.

If a shard never responds, does the searcher handle that by eventually timing 
out? The pivot facet code is predicated on waiting for all shards to respond 
before moving forward with the next level of refinement so if a shard never 
responds at all then it'll just wait forever. We're assuming that other 
processes are watching for searches that take much too long and kill them.

 Implement distributed pivot faceting
 

 Key: SOLR-2894
 URL: https://issues.apache.org/jira/browse/SOLR-2894
 Project: Solr
  Issue Type: Improvement
Reporter: Erik Hatcher
Assignee: Hoss Man
 Fix For: 4.9, 5.0

 Attachments: SOLR-2894-mincount-minification.patch, 
 SOLR-2894-reworked.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894_cloud_test.patch, dateToObject.patch, pivot_mincount_problem.sh


 Following up on SOLR-792, pivot faceting currently only supports 
 undistributed mode.  Distributed pivot faceting needs to be implemented.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-2894) Implement distributed pivot faceting

2014-07-17 Thread Hoss Man (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065279#comment-14065279
 ] 

Hoss Man commented on SOLR-2894:


bq. If a shard never responds, does the searcher handle that by eventually 
timing out? 

Off the top of my head i'm not sure -- i'm pretty sure that will generate an 
error at a much lower level then the individual search components, so it's not 
something the pivot code needs to worry about.

I think the main thing is that when the pivot codes is looking at a 
ShardResponse, it should be able to say this response doesn't contain a count 
for the refinementX we asked for in the corrisponding ShardRequest, fail! (as 
opposed to know where i believe it reQueues it) ... we can leave worrying about 
whether or not a ShardResponse was ever returned at all to the SearchHandler.

bq. ... I think we have the requisite accounting already in place to be able to 
check if a shard did not respond with all the refinement values we asked for. 
We should be able to check the refinements and see that they have had data 
contributed from the shard in question, if not well throw an error.

that should be all we need.

 Implement distributed pivot faceting
 

 Key: SOLR-2894
 URL: https://issues.apache.org/jira/browse/SOLR-2894
 Project: Solr
  Issue Type: Improvement
Reporter: Erik Hatcher
Assignee: Hoss Man
 Fix For: 4.9, 5.0

 Attachments: SOLR-2894-mincount-minification.patch, 
 SOLR-2894-reworked.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894_cloud_test.patch, dateToObject.patch, pivot_mincount_problem.sh


 Following up on SOLR-792, pivot faceting currently only supports 
 undistributed mode.  Distributed pivot faceting needs to be implemented.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Created] (SOLR-6254) Failing tests due to timeouts caused by SSL depleting random entropy on Jenkins

2014-07-17 Thread Steve Rowe (JIRA)
Steve Rowe created SOLR-6254:


 Summary: Failing tests due to timeouts caused by SSL depleting 
random entropy on Jenkins
 Key: SOLR-6254
 URL: https://issues.apache.org/jira/browse/SOLR-6254
 Project: Solr
  Issue Type: Task
  Components: Tests
Reporter: Steve Rowe


Tests using SSL can block on Jenkins when random entropy is depleted, causing 
timeouts that trigger test failures.

I found some info about /dev/random problems on FreeBSD here: 
[https://wiki.freebsd.org/201308DevSummit/Security/DevRandom], which lead me to 
/etc/rc.d/iinitrandom, which gets around the limited entropy by cat'ing a bunch 
of shit to /dev/random:

{code}
( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww ) \
  | dd of=/dev/random bs=8k 2/dev/null
cat /bin/ls | dd of=/dev/random bs=8k 2/dev/null
{code}

I think we should try the same strategy in a crontab every X minutes, to see if 
that addresses the test failures.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-2894) Implement distributed pivot faceting

2014-07-17 Thread Brett Lucey (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065352#comment-14065352
 ] 

Brett Lucey commented on SOLR-2894:
---

bq. I think the main thing is that when the pivot codes is looking at a 
ShardResponse, it should be able to say this response doesn't contain a count 
for the refinementX we asked for in the corrisponding ShardRequest, fail! (as 
opposed to know where i believe it reQueues it) ... we can leave worrying about 
whether or not a ShardResponse was ever returned at all to the SearchHandler.

We mark a shard as having contributed a value already, and we have a list of 
refinements we requested from the shard.  All we'll need to do is iterate over 
that list after merging the shard contribution and making sure that the shard 
bit is set on that value.  If it isn't, then we know we got a response from 
that shard but that it didn't tell us what we asked it for, and therefore some 
sort of error has occurred.  We're working on implementing this now.

 Implement distributed pivot faceting
 

 Key: SOLR-2894
 URL: https://issues.apache.org/jira/browse/SOLR-2894
 Project: Solr
  Issue Type: Improvement
Reporter: Erik Hatcher
Assignee: Hoss Man
 Fix For: 4.9, 5.0

 Attachments: SOLR-2894-mincount-minification.patch, 
 SOLR-2894-reworked.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894_cloud_test.patch, dateToObject.patch, pivot_mincount_problem.sh


 Following up on SOLR-792, pivot faceting currently only supports 
 undistributed mode.  Distributed pivot faceting needs to be implemented.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-6254) Failing tests due to timeouts caused by SSL depleting random entropy on Jenkins

2014-07-17 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065370#comment-14065370
 ] 

Mark Miller commented on SOLR-6254:
---

bq. I think we should try the same strategy in a crontab every X minutes, to 
see if that addresses the test failures.

I think it's fine as a short term workaround, but not a great solution. We 
probably should just disable SSL unless we can address it in a portable way.

 Failing tests due to timeouts caused by SSL depleting random entropy on 
 Jenkins
 ---

 Key: SOLR-6254
 URL: https://issues.apache.org/jira/browse/SOLR-6254
 Project: Solr
  Issue Type: Task
  Components: Tests
Reporter: Steve Rowe

 Tests using SSL can block on Jenkins when random entropy is depleted, causing 
 timeouts that trigger test failures.
 I found some info about /dev/random problems on FreeBSD here: 
 [https://wiki.freebsd.org/201308DevSummit/Security/DevRandom], which lead me 
 to /etc/rc.d/iinitrandom, which gets around the limited entropy by cat'ing a 
 bunch of shit to /dev/random:
 {code}
 ( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww ) \
   | dd of=/dev/random bs=8k 2/dev/null
 cat /bin/ls | dd of=/dev/random bs=8k 2/dev/null
 {code}
 I think we should try the same strategy in a crontab every X minutes, to see 
 if that addresses the test failures.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-6254) Failing tests due to timeouts caused by SSL depleting random entropy on Jenkins

2014-07-17 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065369#comment-14065369
 ] 

Mark Miller commented on SOLR-6254:
---

This is essentially a dupe of https://issues.apache.org/jira/browse/SOLR-5776, 
though that doesn't have an updated title.

 Failing tests due to timeouts caused by SSL depleting random entropy on 
 Jenkins
 ---

 Key: SOLR-6254
 URL: https://issues.apache.org/jira/browse/SOLR-6254
 Project: Solr
  Issue Type: Task
  Components: Tests
Reporter: Steve Rowe

 Tests using SSL can block on Jenkins when random entropy is depleted, causing 
 timeouts that trigger test failures.
 I found some info about /dev/random problems on FreeBSD here: 
 [https://wiki.freebsd.org/201308DevSummit/Security/DevRandom], which lead me 
 to /etc/rc.d/iinitrandom, which gets around the limited entropy by cat'ing a 
 bunch of shit to /dev/random:
 {code}
 ( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww ) \
   | dd of=/dev/random bs=8k 2/dev/null
 cat /bin/ls | dd of=/dev/random bs=8k 2/dev/null
 {code}
 I think we should try the same strategy in a crontab every X minutes, to see 
 if that addresses the test failures.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (LUCENE-5813) Directory should implement Accountable

2014-07-17 Thread Adrien Grand (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-5813?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Adrien Grand updated LUCENE-5813:
-

Attachment: LUCENE-5813.patch

Here is a patch. Directory implements Accountable and BaseDirectoryTestCase has 
a new test to check ram usage estimations

 Directory should implement Accountable
 --

 Key: LUCENE-5813
 URL: https://issues.apache.org/jira/browse/LUCENE-5813
 Project: Lucene - Core
  Issue Type: Improvement
Reporter: Adrien Grand
Assignee: Adrien Grand
Priority: Minor
 Fix For: 4.10

 Attachments: LUCENE-5813.patch


 Follow-up of LUCENE-5812.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5813) Directory should implement Accountable

2014-07-17 Thread Uwe Schindler (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065389#comment-14065389
 ] 

Uwe Schindler commented on LUCENE-5813:
---

I don't think Directory itsself should implement Accountable. In my opinion, 
just because *some* directories consume RAM, I don't think we should make all 
directories implement that.

For the issue mentioned in LUCENE-5812 I think the ramBytesUsed there should 
simply check with instanceof if the inner directory implements accountable and 
then add its size to itsself. Something thats not intended to be Accountable 
like a purely disk based dir, should not implement it. Because otherwise a 
NIOFSDirectory would need to return the size of its inner ByteBuffer caches or 
whatever.

-1 to make Directory itsself Accountable.

 Directory should implement Accountable
 --

 Key: LUCENE-5813
 URL: https://issues.apache.org/jira/browse/LUCENE-5813
 Project: Lucene - Core
  Issue Type: Improvement
Reporter: Adrien Grand
Assignee: Adrien Grand
Priority: Minor
 Fix For: 4.10

 Attachments: LUCENE-5813.patch


 Follow-up of LUCENE-5812.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Resolved] (SOLR-6244) Error 500 when want reindex or update solr

2014-07-17 Thread Erick Erickson (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-6244?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erick Erickson resolved SOLR-6244.
--

Resolution: Invalid

Please raise this issue on the appropriate user's list (RSolr?). If and when 
it's a confirmed _Solr_ bug we can reopen this issue.

 Error 500 when want reindex or update solr
 --

 Key: SOLR-6244
 URL: https://issues.apache.org/jira/browse/SOLR-6244
 Project: Solr
  Issue Type: Bug
Affects Versions: 4.9
 Environment: mac mavericks rails sunspot
Reporter: igor
Priority: Critical

 i try reindex and when start output are:
 Error - RSolr::Error::Http - 500 Internal Server Error - ignoring...
 [#] [  
 700/48865] [  1.43%] [00:01] [01:25] [  560.27/s]Error - RSolr::Error::Http - 
 500 Internal Server Error - retrying...
 Error - RSolr::Error::Http - 500 Internal Server Error - ignoring...
 Error - RSolr::Error::Http - 500 Internal Server Error - retrying...
 Error - RSolr::Error::Http - 500 Internal Server Error - ignoring...
 Error - RSolr::Error::Http - 500 Internal Server Error - retrying...
 i try delete and restore dir, kill process restart reindex but not work!!!
 and when try use my app when update write me = java.lang.NullPointerException 
 in log
 help



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Resolved] (SOLR-6254) Failing tests due to timeouts caused by SSL depleting random entropy on Jenkins

2014-07-17 Thread Steve Rowe (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-6254?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Steve Rowe resolved SOLR-6254.
--

Resolution: Duplicate

bq. This is essentially a dupe of 
https://issues.apache.org/jira/browse/SOLR-5776, though that doesn't have an 
updated title.

Thanks Mark, I knew I'd seen you discuss this somewhere, but my search-fu 
failed me.

 Failing tests due to timeouts caused by SSL depleting random entropy on 
 Jenkins
 ---

 Key: SOLR-6254
 URL: https://issues.apache.org/jira/browse/SOLR-6254
 Project: Solr
  Issue Type: Task
  Components: Tests
Reporter: Steve Rowe

 Tests using SSL can block on Jenkins when random entropy is depleted, causing 
 timeouts that trigger test failures.
 I found some info about /dev/random problems on FreeBSD here: 
 [https://wiki.freebsd.org/201308DevSummit/Security/DevRandom], which lead me 
 to /etc/rc.d/iinitrandom, which gets around the limited entropy by cat'ing a 
 bunch of shit to /dev/random:
 {code}
 ( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww ) \
   | dd of=/dev/random bs=8k 2/dev/null
 cat /bin/ls | dd of=/dev/random bs=8k 2/dev/null
 {code}
 I think we should try the same strategy in a crontab every X minutes, to see 
 if that addresses the test failures.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Resolved] (SOLR-6253) Plugin init failure for custom analysis filter

2014-07-17 Thread Erick Erickson (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-6253?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Erick Erickson resolved SOLR-6253.
--

Resolution: Invalid

Please raise this issue on the Solr user's list before raising a JIRA, JIRAs 
are for confirmed bugs.

When you do, please provide the full stack trace. My bet is that you've 
incorrectly specified the path in solrconfig.xml to your jar file (personally I 
prefer that to adding it to the Solr lib directory.

If this is confirmed to be a Solr bug, we an re-open this JIRA.

 Plugin init failure for custom analysis filter
 --

 Key: SOLR-6253
 URL: https://issues.apache.org/jira/browse/SOLR-6253
 Project: Solr
  Issue Type: Bug
  Components: Schema and Analysis
Affects Versions: 4.6
 Environment: Linux
Reporter: Sharmilee S
Priority: Critical
  Labels: analysis, customPlugin, filter, filterfactory, solr

 Getting this error below on adding new custom filter to schema.xml:
 org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: 
 Plugin init failure for [schema.xml] fieldType textCustom: Plugin init 
 failure for [schema.xml] analyzer/filter: Error instantiating class: 
 'org.apache.solr.analysis.Custom.CustomFilterFactory'. Schema file is 
 /opt/solr5/collection3/schema.xml
 I tried adding jar of my custom filter to /solr/collection/lib path as 
 mentioned in this link: 
 http://stackoverflow.com/questions/7828619/basetokenfilterfactory-not-found-by-solr-with-custom-filter
  but same error.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-2894) Implement distributed pivot faceting

2014-07-17 Thread Andrew Muldowney (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065429#comment-14065429
 ] 

Andrew Muldowney commented on SOLR-2894:


Hey Hoss. How would we test this?

I've verfied it works by commenting out the mergeResponse lines and seeing it 
error since we expected shard contributions but failed. But how do I write a 
test where a shard responds in a canned way that is bad?

 Implement distributed pivot faceting
 

 Key: SOLR-2894
 URL: https://issues.apache.org/jira/browse/SOLR-2894
 Project: Solr
  Issue Type: Improvement
Reporter: Erik Hatcher
Assignee: Hoss Man
 Fix For: 4.9, 5.0

 Attachments: SOLR-2894-mincount-minification.patch, 
 SOLR-2894-reworked.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894_cloud_test.patch, dateToObject.patch, pivot_mincount_problem.sh


 Following up on SOLR-792, pivot faceting currently only supports 
 undistributed mode.  Distributed pivot faceting needs to be implemented.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-6254) Failing tests due to timeouts caused by SSL depleting random entropy on Jenkins

2014-07-17 Thread Steve Rowe (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065437#comment-14065437
 ] 

Steve Rowe commented on SOLR-6254:
--

bq. We probably should just disable SSL unless we can address it in a portable 
way.

I did this for the test I recently committed on SOLR-6137 
(TestCloudSchemaless), but I suppose you mean disabling SSL everywhere.

 Failing tests due to timeouts caused by SSL depleting random entropy on 
 Jenkins
 ---

 Key: SOLR-6254
 URL: https://issues.apache.org/jira/browse/SOLR-6254
 Project: Solr
  Issue Type: Task
  Components: Tests
Reporter: Steve Rowe

 Tests using SSL can block on Jenkins when random entropy is depleted, causing 
 timeouts that trigger test failures.
 I found some info about /dev/random problems on FreeBSD here: 
 [https://wiki.freebsd.org/201308DevSummit/Security/DevRandom], which lead me 
 to /etc/rc.d/iinitrandom, which gets around the limited entropy by cat'ing a 
 bunch of shit to /dev/random:
 {code}
 ( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww ) \
   | dd of=/dev/random bs=8k 2/dev/null
 cat /bin/ls | dd of=/dev/random bs=8k 2/dev/null
 {code}
 I think we should try the same strategy in a crontab every X minutes, to see 
 if that addresses the test failures.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-5776) Look at speeding up using SSL with tests.

2014-07-17 Thread Steve Rowe (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-5776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065480#comment-14065480
 ] 

Steve Rowe commented on SOLR-5776:
--

[Haveged|http://www.issihosts.com/haveged/] is designed to solve the problem of 
low-entropy hosts (e.g. headless servers), though it appears  to be Linux-only.

 Look at speeding up using SSL with tests.
 -

 Key: SOLR-5776
 URL: https://issues.apache.org/jira/browse/SOLR-5776
 Project: Solr
  Issue Type: Test
Reporter: Mark Miller
Assignee: Mark Miller
 Fix For: 4.9, 5.0

 Attachments: SOLR-5776.patch, SOLR-5776.patch


 We have to disable SSL on a bunch of tests now because it appears to sometime 
 be ridiculously slow - especially in slow envs (I never see timeouts on my 
 machine).
 I was talking to Robert about this, and he mentioned that there might be some 
 settings we could change to speed it up.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5813) Directory should implement Accountable

2014-07-17 Thread Adrien Grand (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065487#comment-14065487
 ] 

Adrien Grand commented on LUCENE-5813:
--

I don' t think using {{instanceof Accountable}} works in general to measure 
memory usage. That's what I initially wanted to do with doc id sets, but this 
doesn't work as soon as you start using wrappers since they hide what interface 
the wrapped class implements. So for example if your NRT dir wraps a 
RateLimitedDirectoryWrapper that wraps another directory that implements 
Accountable, you would miss it.

If we don't want of Accountable on Directory, I would rather revert LUCENE-5812 
to make clear that it only reports memory usage for the cache?

 Directory should implement Accountable
 --

 Key: LUCENE-5813
 URL: https://issues.apache.org/jira/browse/LUCENE-5813
 Project: Lucene - Core
  Issue Type: Improvement
Reporter: Adrien Grand
Assignee: Adrien Grand
Priority: Minor
 Fix For: 4.10

 Attachments: LUCENE-5813.patch


 Follow-up of LUCENE-5812.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-6060) Unable to deploy SOLR Webapps on Wildfly 8+ due to guava 14.0.1.jar old version

2014-07-17 Thread Glaucio Scheibel (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6060?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065492#comment-14065492
 ] 

Glaucio Scheibel commented on SOLR-6060:


In my case, it's a blocker issue. I am using JBoss 7.2, and if I update guava, 
jboss fails some deployments, and if I don't, solr fails.


 Unable to deploy SOLR Webapps on Wildfly 8+ due to guava 14.0.1.jar old 
 version
 ---

 Key: SOLR-6060
 URL: https://issues.apache.org/jira/browse/SOLR-6060
 Project: Solr
  Issue Type: Improvement
Affects Versions: 4.8
 Environment: Linux CentOS release 6.4 (Final)
 Wildfly 8.0 8.1 RC1
Reporter: Guilhem RAMBAL

 Error 
 ESC[0mESC[33m2014-05-12 14:18:35,283 WARN  [org.jboss.modules] 
 (weld-worker-2) Failed to define class 
 org.apache.hadoop.hdfs.web.resources.UserProvider in Module 
 deployment.solr.war:main from Service Module Loader: 
 java.lang.LinkageError: Failed to link 
 org/apache/hadoop/hdfs/web/resources/UserProvider (Module 
 deployment.solr.war:main from Service Module Loader)
 at 
 org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:487) 
 [jboss-modules.jar:1.3.3.Final]
 at 
 org.jboss.modules.ModuleClassLoader.loadClassLocal(ModuleClassLoader.java:277)
  [jboss-modules.jar:1.3.3.Final]
 at 
 org.jboss.modules.ModuleClassLoader$1.loadClassLocal(ModuleClassLoader.java:92)
  [jboss-modules.jar:1.3.3.Final]
 at org.jboss.modules.Module.loadModuleClass(Module.java:568) 
 [jboss-modules.jar:1.3.3.Final]
 at 
 org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:205) 
 [jboss-modules.jar:1.3.3.Final]
 at 
 org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
  [jboss-modules.jar:1.3.3.Final]
 at 
 org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
  [jboss-modules.jar:1.3.3.Final]
 at 
 org.jboss.modules.ConcurrentClassLoader.performLoadClass(ConcurrentClassLoader.java:389)
  [jboss-modules.jar:1.3.3.Final]
 at 
 org.jboss.modules.ConcurrentClassLoader.loadClass(ConcurrentClassLoader.java:134)
  [jboss-modules.jar:1.3.3.Final]
 at 
 org.jboss.as.weld.WeldModuleResourceLoader.classForName(WeldModuleResourceLoader.java:68)
  [wildfly-weld-8.1.0.CR1.jar:8.1.0.CR1]
 at 
 org.jboss.weld.bootstrap.BeanDeployer.loadClass(BeanDeployer.java:106) 
 [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
 at 
 org.jboss.weld.bootstrap.BeanDeployer.addClass(BeanDeployer.java:94) 
 [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
 at 
 org.jboss.weld.bootstrap.ConcurrentBeanDeployer$1.doWork(ConcurrentBeanDeployer.java:62)
  [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
 at 
 org.jboss.weld.bootstrap.ConcurrentBeanDeployer$1.doWork(ConcurrentBeanDeployer.java:60)
  [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
 at 
 org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:60)
  [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
 at 
 org.jboss.weld.executor.IterativeWorkerTaskFactory$1.call(IterativeWorkerTaskFactory.java:53)
  [weld-core-impl-2.1.2.Final.jar:2014-01-09 09:23]
 at java.util.concurrent.FutureTask.run(Unknown Source) 
 [rt.jar:1.7.0_51]
 at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) 
 [rt.jar:1.7.0_51]
 at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) 
 [rt.jar:1.7.0_51]
 at java.lang.Thread.run(Unknown Source) [rt.jar:1.7.0_51]
 Caused by: java.lang.NoClassDefFoundError: 
 com/sun/jersey/spi/inject/InjectableProvider
 at java.lang.ClassLoader.defineClass1(Native Method) [rt.jar:1.7.0_51]
 at java.lang.ClassLoader.defineClass(Unknown Source) [rt.jar:1.7.0_51]
 at 
 org.jboss.modules.ModuleClassLoader.doDefineOrLoadClass(ModuleClassLoader.java:361)
  [jboss-modules.jar:1.3.3.Final]
 at 
 org.jboss.modules.ModuleClassLoader.defineClass(ModuleClassLoader.java:482) 
 [jboss-modules.jar:1.3.3.Final]
 ... 19 more
 Caused by: java.lang.ClassNotFoundException: 
 com.sun.jersey.spi.inject.InjectableProvider from [Module 
 deployment.solr.war:main from Service Module Loader]
 at 
 org.jboss.modules.ModuleClassLoader.findClass(ModuleClassLoader.java:213) 
 [jboss-modules.jar:1.3.3.Final]
 at 
 org.jboss.modules.ConcurrentClassLoader.performLoadClassUnchecked(ConcurrentClassLoader.java:459)
  [jboss-modules.jar:1.3.3.Final]
 at 
 org.jboss.modules.ConcurrentClassLoader.performLoadClassChecked(ConcurrentClassLoader.java:408)
  [jboss-modules.jar:1.3.3.Final]
 at 
 

[jira] [Commented] (SOLR-2894) Implement distributed pivot faceting

2014-07-17 Thread Hoss Man (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065511#comment-14065511
 ] 

Hoss Man commented on SOLR-2894:


bq. Hey Hoss. How would we test this?

I don't know.  I don't think we can.  Like i mentioned before...

bq. ...That's the sort of edge case that may be really hard to test for, but 
even if we can't explicit test it, we should at least have some sanity check in 
the distrib coordination code...

It's an extreme enough edge case that i don't think we need to jump through a 
crazy amount of hoops to have a test case for it, i just didn't want to leave 
such a dangerous trap in the code

 Implement distributed pivot faceting
 

 Key: SOLR-2894
 URL: https://issues.apache.org/jira/browse/SOLR-2894
 Project: Solr
  Issue Type: Improvement
Reporter: Erik Hatcher
Assignee: Hoss Man
 Fix For: 4.9, 5.0

 Attachments: SOLR-2894-mincount-minification.patch, 
 SOLR-2894-reworked.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894_cloud_test.patch, dateToObject.patch, pivot_mincount_problem.sh


 Following up on SOLR-792, pivot faceting currently only supports 
 undistributed mode.  Distributed pivot faceting needs to be implemented.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-6254) Failing tests due to timeouts caused by SSL depleting random entropy on Jenkins

2014-07-17 Thread Mark Miller (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065530#comment-14065530
 ] 

Mark Miller commented on SOLR-6254:
---

Yeah, I have been doing it one by one, but it's pretty unfriendly to people 
developing new tests and are not familiar with the issue, so perhaps it's just 
better to universally disable until we can address it.

 Failing tests due to timeouts caused by SSL depleting random entropy on 
 Jenkins
 ---

 Key: SOLR-6254
 URL: https://issues.apache.org/jira/browse/SOLR-6254
 Project: Solr
  Issue Type: Task
  Components: Tests
Reporter: Steve Rowe

 Tests using SSL can block on Jenkins when random entropy is depleted, causing 
 timeouts that trigger test failures.
 I found some info about /dev/random problems on FreeBSD here: 
 [https://wiki.freebsd.org/201308DevSummit/Security/DevRandom], which lead me 
 to /etc/rc.d/iinitrandom, which gets around the limited entropy by cat'ing a 
 bunch of shit to /dev/random:
 {code}
 ( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww ) \
   | dd of=/dev/random bs=8k 2/dev/null
 cat /bin/ls | dd of=/dev/random bs=8k 2/dev/null
 {code}
 I think we should try the same strategy in a crontab every X minutes, to see 
 if that addresses the test failures.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Resolved] (LUCENE-5830) Fix some missing/assert codec checks to throw CorruptIndexException

2014-07-17 Thread Robert Muir (JIRA)

 [ 
https://issues.apache.org/jira/browse/LUCENE-5830?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Robert Muir resolved LUCENE-5830.
-

   Resolution: Fixed
Fix Version/s: 4.10
   5.0

 Fix some missing/assert codec checks to throw CorruptIndexException
 ---

 Key: LUCENE-5830
 URL: https://issues.apache.org/jira/browse/LUCENE-5830
 Project: Lucene - Core
  Issue Type: Bug
Reporter: Robert Muir
 Fix For: 5.0, 4.10

 Attachments: LUCENE-5830.patch


 I thought i had tackled all these before, but I missed a few good ones.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-6254) Failing tests due to timeouts caused by SSL depleting random entropy on Jenkins

2014-07-17 Thread Dawid Weiss (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065561#comment-14065561
 ] 

Dawid Weiss commented on SOLR-6254:
---

Is it really that, Steve? It would seem very odd to have ssl connections just 
stall like that -- think of any web server or something... how does it work 
there?

Anyway, my impression from debugging hangs related to sockets was that 
freebsd's port of openjdk is not thoroughly tested (that accept issue would 
have been caught by regular openjdk tests I think). Now I'm left in doubt when 
I see an issue pop up on jenkins -- is this our bug or openjdk's?

 Failing tests due to timeouts caused by SSL depleting random entropy on 
 Jenkins
 ---

 Key: SOLR-6254
 URL: https://issues.apache.org/jira/browse/SOLR-6254
 Project: Solr
  Issue Type: Task
  Components: Tests
Reporter: Steve Rowe

 Tests using SSL can block on Jenkins when random entropy is depleted, causing 
 timeouts that trigger test failures.
 I found some info about /dev/random problems on FreeBSD here: 
 [https://wiki.freebsd.org/201308DevSummit/Security/DevRandom], which lead me 
 to /etc/rc.d/iinitrandom, which gets around the limited entropy by cat'ing a 
 bunch of shit to /dev/random:
 {code}
 ( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww ) \
   | dd of=/dev/random bs=8k 2/dev/null
 cat /bin/ls | dd of=/dev/random bs=8k 2/dev/null
 {code}
 I think we should try the same strategy in a crontab every X minutes, to see 
 if that addresses the test failures.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-2894) Implement distributed pivot faceting

2014-07-17 Thread Andrew Muldowney (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065598#comment-14065598
 ] 

Andrew Muldowney commented on SOLR-2894:


So I may have jumped the gun on the fix. Previously refinement requests would 
return counts of zero for things that it was asked about but had no values for, 
this is now no longer true. (It shrinks the required work to merge in 
refinements and limits how much data we send across the wire). This means that 
we cannot ask if a refinement has been fulfilled because if a shard doesn't 
know about a valuePath it will not include it in its response.
If the shard is responding properly it *should* still return a {{facet_pivot}} 
with the top level requested pivots, just with everything below that merely an 
empty list.
So really the only thing we can check is that the {{facet_pivot}} isn't null on 
a response, since that would indicate that something really awful happened.

 Implement distributed pivot faceting
 

 Key: SOLR-2894
 URL: https://issues.apache.org/jira/browse/SOLR-2894
 Project: Solr
  Issue Type: Improvement
Reporter: Erik Hatcher
Assignee: Hoss Man
 Fix For: 4.9, 5.0

 Attachments: SOLR-2894-mincount-minification.patch, 
 SOLR-2894-reworked.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894_cloud_test.patch, dateToObject.patch, pivot_mincount_problem.sh


 Following up on SOLR-792, pivot faceting currently only supports 
 undistributed mode.  Distributed pivot faceting needs to be implemented.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-6254) Failing tests due to timeouts caused by SSL depleting random entropy on Jenkins

2014-07-17 Thread Steve Rowe (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6254?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065631#comment-14065631
 ] 

Steve Rowe commented on SOLR-6254:
--

bq. Is it really that, Steve? It would seem very odd to have ssl connections 
just stall like that – think of any web server or something... how does it work 
there?

I don't know - see SOLR-5776 for more info about SSL-related test failures on 
Jenkins.

All of the recent TestCloudSchemaless failures on Jenkins were stuck reading 
SSL sockets, so if it's not entropy depletion, it's something related to SSL 
sockets.  (We'll see in a day or two if TestCloudSchemaless stops failing 
regularly; I added the {{@SuppressSSL}} annotation to it.)

More FreeBSD-specific entropy info:

# FreeBSD's /dev/urandom is symlinked to /dev/random:
\\
{noformat}
sarowe@lucene[867]$ ls -ld /dev/random /dev/urandom
crw-rw-rw-  1 root  wheel0,  13 Jul 17 18:38 /dev/random
lrwxr-xr-x  1 root  wheel 6 Jun 18 23:22 /dev/urandom - random
{noformat}
# FreeBSD's /dev/random blocks when there is insufficient entropy; from 
[http://www.freebsd.org/cgi/man.cgi?format=htmlquery=random(4)]:
\\
{quote}
The kern.random.sys.seeded  variable indicates whether or not the random
device is in an acceptably  secure state as a result of reseeding.  If set
to  0, the device will block (on read) until the next reseed (which can be
from an explicit write, or  as a result of entropy harvesting).  A reseed
will set the value  to 1 (non-blocking).
{quote}
\\
and from [https://wiki.freebsd.org/201308DevSummit/Security/DevRandom]:
{quote}
How /dev/random works today: The primary source of randomness is the [Yarrow 
PRNG|http://www.schneier.com/yarrow.html].
\[...]
Yarrow \[...] need\[s] to accumulate a certain amount of entropy before \[it] 
can start generating random numbers. Until that happens, reads from /dev/random 
will block.
{quote}
\\
More info about randomness sources at 
[https://wiki.freebsd.org/201308DevSummit/Security/DevRandom].

 Failing tests due to timeouts caused by SSL depleting random entropy on 
 Jenkins
 ---

 Key: SOLR-6254
 URL: https://issues.apache.org/jira/browse/SOLR-6254
 Project: Solr
  Issue Type: Task
  Components: Tests
Reporter: Steve Rowe

 Tests using SSL can block on Jenkins when random entropy is depleted, causing 
 timeouts that trigger test failures.
 I found some info about /dev/random problems on FreeBSD here: 
 [https://wiki.freebsd.org/201308DevSummit/Security/DevRandom], which lead me 
 to /etc/rc.d/iinitrandom, which gets around the limited entropy by cat'ing a 
 bunch of shit to /dev/random:
 {code}
 ( ps -fauxww; sysctl -a; date; df -ib; dmesg; ps -fauxww ) \
   | dd of=/dev/random bs=8k 2/dev/null
 cat /bin/ls | dd of=/dev/random bs=8k 2/dev/null
 {code}
 I think we should try the same strategy in a crontab every X minutes, to see 
 if that addresses the test failures.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-2894) Implement distributed pivot faceting

2014-07-17 Thread Hoss Man (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-2894?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065685#comment-14065685
 ] 

Hoss Man commented on SOLR-2894:


bq. Previously refinement requests would return counts of zero for things that 
it was asked about but had no values for, this is now no longer true. (It 
shrinks the required work to merge in refinements and limits how much data we 
send across the wire). This means that we cannot ask if a refinement has been 
fulfilled because if a shard doesn't know about a valuePath it will not include 
it in its response.

So if i'm understanding correctly:

Old code:
* expected every shard to reply back with a number (at least 0) for every 
refinement
* if it didnt' have a number fro ma shard, it asked again - infinite loop risk
New Code:
* expects every shard to reply back with a number for any refinement it has a 
non-0 count for
* implicitly assumes a refinement has been fulfilled if it knows it already 
asked.

..so it sounds like you already eliminated the underlying risk .. correct?

bq. So really the only thing we can check is that the facet_pivot isn't null on 
a response, since that would indicate that something really awful happened.

yeah ... sounds good: we know this shard request asked for pivot refinements, 
if the response doesn't at least contain a {{facet_pivot}} response then throw 
a server error.

 Implement distributed pivot faceting
 

 Key: SOLR-2894
 URL: https://issues.apache.org/jira/browse/SOLR-2894
 Project: Solr
  Issue Type: Improvement
Reporter: Erik Hatcher
Assignee: Hoss Man
 Fix For: 4.9, 5.0

 Attachments: SOLR-2894-mincount-minification.patch, 
 SOLR-2894-reworked.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894.patch, SOLR-2894.patch, SOLR-2894.patch, 
 SOLR-2894_cloud_test.patch, dateToObject.patch, pivot_mincount_problem.sh


 Following up on SOLR-792, pivot faceting currently only supports 
 undistributed mode.  Distributed pivot faceting needs to be implemented.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[GitHub] lucene-solr pull request: efbytesref of 20140717, move Elias-Fano ...

2014-07-17 Thread PaulElschot
GitHub user PaulElschot opened a pull request:

https://github.com/apache/lucene-solr/pull/62

efbytesref of 20140717, move Elias-Fano code to eliasfano package

efbytesref as of 20140717

LUCENE-5524

This closes #60

Update to recent trunk, and move all Elias-Fano classes into a separate 
package o.a.l.util.packed.eliasfano. The existing EliasFano* classes are 
restored to trunk, the packed.eliasfano package can be merged back into  the 
packed package later.
Otherwise no changes to pull request 60.

The idea is to prepare a port to 4.9.0 and/or to prepare compilation into a 
separate jar.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/PaulElschot/lucene-solr efbytesref-201407a

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/lucene-solr/pull/62.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #62


commit 51a76c7789f38c2644f4019552a41c8199884557
Author: Paul Elschot paul.j.elsc...@gmail.com
Date:   2014-07-17T19:59:29Z

efbytesref of 20140717, move Elias-Fano code to eliasfano package




---
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, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5524) Elias-Fano sequence also on BytesRef

2014-07-17 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5524?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065699#comment-14065699
 ] 

ASF GitHub Bot commented on LUCENE-5524:


GitHub user PaulElschot opened a pull request:

https://github.com/apache/lucene-solr/pull/62

efbytesref of 20140717, move Elias-Fano code to eliasfano package

efbytesref as of 20140717

LUCENE-5524

This closes #60

Update to recent trunk, and move all Elias-Fano classes into a separate 
package o.a.l.util.packed.eliasfano. The existing EliasFano* classes are 
restored to trunk, the packed.eliasfano package can be merged back into  the 
packed package later.
Otherwise no changes to pull request 60.

The idea is to prepare a port to 4.9.0 and/or to prepare compilation into a 
separate jar.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/PaulElschot/lucene-solr efbytesref-201407a

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/lucene-solr/pull/62.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #62


commit 51a76c7789f38c2644f4019552a41c8199884557
Author: Paul Elschot paul.j.elsc...@gmail.com
Date:   2014-07-17T19:59:29Z

efbytesref of 20140717, move Elias-Fano code to eliasfano package




 Elias-Fano sequence also on BytesRef
 

 Key: LUCENE-5524
 URL: https://issues.apache.org/jira/browse/LUCENE-5524
 Project: Lucene - Core
  Issue Type: New Feature
  Components: core/other
Reporter: Paul Elschot
Priority: Minor





--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[GitHub] lucene-solr pull request: Labeledtree 201407a

2014-07-17 Thread PaulElschot
GitHub user PaulElschot opened a pull request:

https://github.com/apache/lucene-solr/pull/63

Labeledtree 201407a

Labeledtree as of 20140717

LUCENE-5627

This closes #61

Use eliasfano package (LUCENE-5524) and move LongsInBytes to new 
o.a.l.packed.label package.
Otherwise no changes to pull request 61.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/PaulElschot/lucene-solr labeledtree-201407a

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/lucene-solr/pull/63.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #63


commit 51a76c7789f38c2644f4019552a41c8199884557
Author: Paul Elschot paul.j.elsc...@gmail.com
Date:   2014-07-17T19:59:29Z

efbytesref of 20140717, move Elias-Fano code to eliasfano package

commit 1e476b37a6b6df8f47426285dd82c9b93cd75643
Author: Paul Elschot paul.j.elsc...@gmail.com
Date:   2014-07-17T20:04:37Z

labeledtree of 20140717, use eliasfano package, move LongsInBytes to new 
o.a.l.packed.label package




---
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, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (LUCENE-5627) Positional joins

2014-07-17 Thread ASF GitHub Bot (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5627?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065707#comment-14065707
 ] 

ASF GitHub Bot commented on LUCENE-5627:


GitHub user PaulElschot opened a pull request:

https://github.com/apache/lucene-solr/pull/63

Labeledtree 201407a

Labeledtree as of 20140717

LUCENE-5627

This closes #61

Use eliasfano package (LUCENE-5524) and move LongsInBytes to new 
o.a.l.packed.label package.
Otherwise no changes to pull request 61.


You can merge this pull request into a Git repository by running:

$ git pull https://github.com/PaulElschot/lucene-solr labeledtree-201407a

Alternatively you can review and apply these changes as the patch at:

https://github.com/apache/lucene-solr/pull/63.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

This closes #63


commit 51a76c7789f38c2644f4019552a41c8199884557
Author: Paul Elschot paul.j.elsc...@gmail.com
Date:   2014-07-17T19:59:29Z

efbytesref of 20140717, move Elias-Fano code to eliasfano package

commit 1e476b37a6b6df8f47426285dd82c9b93cd75643
Author: Paul Elschot paul.j.elsc...@gmail.com
Date:   2014-07-17T20:04:37Z

labeledtree of 20140717, use eliasfano package, move LongsInBytes to new 
o.a.l.packed.label package




 Positional joins
 

 Key: LUCENE-5627
 URL: https://issues.apache.org/jira/browse/LUCENE-5627
 Project: Lucene - Core
  Issue Type: New Feature
Reporter: Paul Elschot
Priority: Minor

 Prototype of analysis and search for labeled fragments



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[JENKINS-MAVEN] Lucene-Solr-Maven-4.x #659: POMs out of sync

2014-07-17 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-Maven-4.x/659/

1 tests failed.
REGRESSION:  org.apache.solr.cloud.MultiThreadedOCPTest.testDistribSearch

Error Message:
Task 3002 did not complete, final state: running

Stack Trace:
java.lang.AssertionError: Task 3002 did not complete, final state: running
at 
__randomizedtesting.SeedInfo.seed([FAF931BAD7DD4E43:7B1FBFA2A0822E7F]:0)
at org.junit.Assert.fail(Assert.java:93)
at org.junit.Assert.assertTrue(Assert.java:43)
at 
org.apache.solr.cloud.MultiThreadedOCPTest.testDeduplicationOfSubmittedTasks(MultiThreadedOCPTest.java:162)
at 
org.apache.solr.cloud.MultiThreadedOCPTest.doTest(MultiThreadedOCPTest.java:71)




Build Log:
[...truncated 55172 lines...]
BUILD FAILED
/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-Maven-4.x/build.xml:490: 
The following error occurred while executing this line:
/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-Maven-4.x/build.xml:182: 
The following error occurred while executing this line:
/usr/home/hudson/hudson-slave/workspace/Lucene-Solr-Maven-4.x/extra-targets.xml:77:
 Java returned: 1

Total time: 260 minutes 15 seconds
Build step 'Invoke Ant' marked build as failure
Recording test results
Email was triggered for: Failure
Sending email for trigger: Failure



-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org

[jira] [Commented] (LUCENE-5813) Directory should implement Accountable

2014-07-17 Thread Ryan Ernst (JIRA)

[ 
https://issues.apache.org/jira/browse/LUCENE-5813?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065741#comment-14065741
 ] 

Ryan Ernst commented on LUCENE-5813:


bq. In my opinion, just because some directories consume RAM, I don't think we 
should make all directories implement that.

Why can't any directories that don't consume RAM return 0 for 
{{ramBytesUsed()}}?

 Directory should implement Accountable
 --

 Key: LUCENE-5813
 URL: https://issues.apache.org/jira/browse/LUCENE-5813
 Project: Lucene - Core
  Issue Type: Improvement
Reporter: Adrien Grand
Assignee: Adrien Grand
Priority: Minor
 Fix For: 4.10

 Attachments: LUCENE-5813.patch


 Follow-up of LUCENE-5812.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-3619) Rename 'example' dir to 'server' and pull examples into an 'examples' directory

2014-07-17 Thread Alexandre Rafalovitch (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-3619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065877#comment-14065877
 ] 

Alexandre Rafalovitch commented on SOLR-3619:
-

Just to be fair and balanced, ES does not come with any examples at all. Or 
JavaDoc. Or Admin console. Or sample documents. Not that shipping PDF sample 
documents would help anyway, because it also does not come with Tika (which is 
a separate plugin). Nor does it ship tutorial, only the guide on the website. 

But it is easy to get started as the download is only 22Mb and they can index 
their first document by the time Solr's 154Mb is downloaded and unpacked. This 
differential becomes more and more important as not everybody has a FIOS.

But, let's return  to user perception and the directory structure to improve 
such.

Ideally, one would write a tutorial first that show cases most important Solr 
features. Then, we would adjust the structure of the directories to make that 
tutorial a reality. In my eyes, this would mean moving collection1 example into 
a new kitchen_sink directory and creating a new one that skips all the defaults 
and non-immediately affective declarations (e.g. warmers) and has a highest 
impact for smallest number of lines configuration. Which would probably include 
schema auto-detect, skip the /browse handle and maybe keep only one non-English 
type (e.g. German to show case accent folding, token-splitting, etc).

Just as ideally, somebody would sponsor/build a web-based config generation 
wizard. I have an initial design document, which I am happy to share. But the 
basic idea is the same as http://www.initializr.com/ : hit a bunch of 
check-boxes get a fully-configured collection config showcasing user's specific 
needs. Possibly with 'with comments/without comments' button or some such. This 
would give flexibility of having a bunch of blueprints (as mentioned in past 
comments) but without them contributing to the bulk of the downloaded Solr 
distribution.

 Rename 'example' dir to 'server' and pull examples into an 'examples' 
 directory
 ---

 Key: SOLR-3619
 URL: https://issues.apache.org/jira/browse/SOLR-3619
 Project: Solr
  Issue Type: Improvement
Reporter: Mark Miller
 Fix For: 4.9, 5.0

 Attachments: SOLR-3619.patch, server-name-layout.png






--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-3345) BaseDistributedSearchTestCase should always ignore QTime

2014-07-17 Thread Vamsee Yarlagadda (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Vamsee Yarlagadda updated SOLR-3345:


Attachment: SOLR-3345.patch

This patch will ensure that QTime value check gets skipped(as there is no 
guarantee that the value will match) at the BaseDistributedSearchTestCase 
rather than at test level. 

Note this patch will only ignore checking the value but the presence of tag 
QTime will be checked in the response.

Ran all unit tests in trunk and everything passed.

 BaseDistributedSearchTestCase should always ignore QTime
 

 Key: SOLR-3345
 URL: https://issues.apache.org/jira/browse/SOLR-3345
 Project: Solr
  Issue Type: Bug
  Components: SolrCloud
Affects Versions: 4.0-ALPHA
Reporter: Benson Margulies
 Attachments: SOLR-3345.patch


 The existing subclasses of BaseDistributedSearchTestCase all skip QTime. I 
 can't see any way in which those numbers will ever match. Why not make this 
 the default, or only, behavior?
 (This is really a question, in that I will provide a patch if no one tells me 
 that it is a bad idea.)



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Created] (SOLR-6255) Misleading error message when usable questionable update syntax

2014-07-17 Thread Nathan Neulinger (JIRA)
Nathan Neulinger created SOLR-6255:
--

 Summary: Misleading error message when usable questionable update 
syntax
 Key: SOLR-6255
 URL: https://issues.apache.org/jira/browse/SOLR-6255
 Project: Solr
  Issue Type: Bug
  Components: query parsers
 Environment: 4.8.0, Linux x86_64, jdk 1.7.55, 2 x Node, External ZK, 
SolrCloud
Reporter: Nathan Neulinger


When issuing an update with the following questionable JSON as input, it 
returns (for the attached schema) an error that the required 'timestamp' field 
is missing.

[ { id:4b2c4d09-31e2-4fe2-b767-3868efbdcda1,
channel: {add: preet},
channel: {add: adam} }
]

Everything I've found so far indicates that in JSON this technically appears to 
be allowed, but there isn't any consistency in how any particular library might 
interpret it. 

Using the more obviously correct format works without error. 

[  { id:4b2c4d09-31e2-4fe2-b767-3868efbdcda1,
 channel: {add: preet} },
   { id:4b2c4d09-31e2-4fe2-b767-3868efbdcda1,
 channel: {add: adam} }
]



Full schema attached, but the following are the only required fields:

field name=id type=string indexed=true 
stored=true required=true multiValued=false / 
field name=hive type=string indexed=true  
stored=true required=true multiValued=false / 
field name=at type=date indexed=true  
stored=true required=true multiValued=false omitNorms=true / 
field name=timestamp type=long indexed=false  
stored=true required=true multiValued=false omitNorms=true / 
field name=type type=text_ws indexed=true  
stored=true required=true multiValued=false omitNorms=true/
field name=message_id type=string indexed=true  
stored=true required=true multiValued=false omitNorms=true / 


Channel field: 

field name=channel type=text_ws indexed=true  
stored=true required=false multiValued=true omitNorms=true/

When I have a bit, I will try to reproduce with a minimally representative 
schema, but hopefully you can determine the reason it's parsing the way it is 
and have it generate a better error. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-6255) Misleading error message when usable questionable update syntax

2014-07-17 Thread Nathan Neulinger (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-6255?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Nathan Neulinger updated SOLR-6255:
---

Attachment: schema.xml

 Misleading error message when usable questionable update syntax
 ---

 Key: SOLR-6255
 URL: https://issues.apache.org/jira/browse/SOLR-6255
 Project: Solr
  Issue Type: Bug
  Components: query parsers
 Environment: 4.8.0, Linux x86_64, jdk 1.7.55, 2 x Node, External ZK, 
 SolrCloud
Reporter: Nathan Neulinger
 Attachments: schema.xml


 When issuing an update with the following questionable JSON as input, it 
 returns (for the attached schema) an error that the required 'timestamp' 
 field is missing.
 [ { id:4b2c4d09-31e2-4fe2-b767-3868efbdcda1,
 channel: {add: preet},
 channel: {add: adam} }
 ]
 Everything I've found so far indicates that in JSON this technically appears 
 to be allowed, but there isn't any consistency in how any particular library 
 might interpret it. 
 Using the more obviously correct format works without error. 
 [  { id:4b2c4d09-31e2-4fe2-b767-3868efbdcda1,
  channel: {add: preet} },
{ id:4b2c4d09-31e2-4fe2-b767-3868efbdcda1,
  channel: {add: adam} }
 ]
 Full schema attached, but the following are the only required fields:
 field name=id type=string indexed=true 
 stored=true required=true multiValued=false / 
 field name=hive type=string indexed=true  
 stored=true required=true multiValued=false / 
 field name=at type=date indexed=true  
 stored=true required=true multiValued=false omitNorms=true / 
 field name=timestamp type=long indexed=false  
 stored=true required=true multiValued=false omitNorms=true / 
 field name=type type=text_ws indexed=true  
 stored=true required=true multiValued=false omitNorms=true/
 field name=message_id type=string indexed=true  
 stored=true required=true multiValued=false omitNorms=true / 
 Channel field: 
 field name=channel type=text_ws indexed=true  
 stored=true required=false multiValued=true omitNorms=true/
 When I have a bit, I will try to reproduce with a minimally representative 
 schema, but hopefully you can determine the reason it's parsing the way it is 
 and have it generate a better error. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-6255) Misleading error message when usable questionable update syntax

2014-07-17 Thread Nathan Neulinger (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-6255?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065922#comment-14065922
 ] 

Nathan Neulinger commented on SOLR-6255:


Example document:

{noformat}
  {
  at: 2014-07-10T21:28:41Z,
  body: message content here,
  channel: [
  dev
  ],
  from: ad...@x.com,
  hive: nneul,
  id: 4b2c4d09-31e2-4fe2-b767-3868efbdcda1,
  message_id: 2014-07-10-4b2c4d09-31e2-4fe2-b767-3868efbdcda1,
  subject: SOLR Testing,
  timestamp: 1405027721000,
  to: [
  a...@x.com,
  b...@x.com,
  c...@x.com,
  d...@x.com
  ],
  type: MESSAGE
  }
{noformat}

 Misleading error message when usable questionable update syntax
 ---

 Key: SOLR-6255
 URL: https://issues.apache.org/jira/browse/SOLR-6255
 Project: Solr
  Issue Type: Bug
  Components: query parsers
 Environment: 4.8.0, Linux x86_64, jdk 1.7.55, 2 x Node, External ZK, 
 SolrCloud
Reporter: Nathan Neulinger
 Attachments: schema.xml


 When issuing an update with the following questionable JSON as input, it 
 returns (for the attached schema) an error that the required 'timestamp' 
 field is missing.
 [ { id:4b2c4d09-31e2-4fe2-b767-3868efbdcda1,
 channel: {add: preet},
 channel: {add: adam} }
 ]
 Everything I've found so far indicates that in JSON this technically appears 
 to be allowed, but there isn't any consistency in how any particular library 
 might interpret it. 
 Using the more obviously correct format works without error. 
 [  { id:4b2c4d09-31e2-4fe2-b767-3868efbdcda1,
  channel: {add: preet} },
{ id:4b2c4d09-31e2-4fe2-b767-3868efbdcda1,
  channel: {add: adam} }
 ]
 Full schema attached, but the following are the only required fields:
 field name=id type=string indexed=true 
 stored=true required=true multiValued=false / 
 field name=hive type=string indexed=true  
 stored=true required=true multiValued=false / 
 field name=at type=date indexed=true  
 stored=true required=true multiValued=false omitNorms=true / 
 field name=timestamp type=long indexed=false  
 stored=true required=true multiValued=false omitNorms=true / 
 field name=type type=text_ws indexed=true  
 stored=true required=true multiValued=false omitNorms=true/
 field name=message_id type=string indexed=true  
 stored=true required=true multiValued=false omitNorms=true / 
 Channel field: 
 field name=channel type=text_ws indexed=true  
 stored=true required=false multiValued=true omitNorms=true/
 When I have a bit, I will try to reproduce with a minimally representative 
 schema, but hopefully you can determine the reason it's parsing the way it is 
 and have it generate a better error. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Commented] (SOLR-4895) Throw an error when a rollback is attempted in SolrCloud mode.

2014-07-17 Thread Vamsee Yarlagadda (JIRA)

[ 
https://issues.apache.org/jira/browse/SOLR-4895?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14065947#comment-14065947
 ] 

Vamsee Yarlagadda commented on SOLR-4895:
-

Just wondering, what would be a good way to know (code wise) which mode is the 
Solr running on? Cloud or Standalone?

Logically, if we are using ZooKeeper then we can assume it is running in 
SolrCloud mode. But, if we are dealing with classes like RequestHandlerUtils 
(org.apache.solr.handler) which is more generic in nature, how do we figure out 
the mode of Solr?

 Throw an error when a rollback is attempted in SolrCloud mode.
 --

 Key: SOLR-4895
 URL: https://issues.apache.org/jira/browse/SOLR-4895
 Project: Solr
  Issue Type: New Feature
  Components: SolrCloud
Reporter: Mark Miller
Assignee: Mark Miller
 Fix For: 4.9, 5.0






--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org



[jira] [Updated] (SOLR-6210) Suggestor Version 2 doesn't support multiValued fields

2014-07-17 Thread Varun Thacker (JIRA)

 [ 
https://issues.apache.org/jira/browse/SOLR-6210?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Varun Thacker updated SOLR-6210:


Attachment: SOLR-6210.patch

This should be a lucene issue. 

I have added support to DocumentDictionary to support multiValued fields. It's 
a hack I guess but I could not think of a better approach. Opinions?

Also DocumentDictionaryTest passes and I added a very basic test for multi 
valued field docs. I will improve it in the next iteration just wanted to get a 
quick patch out.

 Suggestor Version 2 doesn't support multiValued fields
 --

 Key: SOLR-6210
 URL: https://issues.apache.org/jira/browse/SOLR-6210
 Project: Solr
  Issue Type: Bug
  Components: SearchComponents - other
Affects Versions: 4.8.1
Reporter: Greg Harris
 Attachments: SOLR-6210.patch


 So if you use a multiValued field in the new suggestor it will not pick up 
 terms for any term after the first one. So it treats the first term as the 
 only term it will make it's dictionary from. 
 This is the suggestor I'm talking about:
 https://issues.apache.org/jira/browse/SOLR-5378



--
This message was sent by Atlassian JIRA
(v6.2#6252)

-
To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org
For additional commands, e-mail: dev-h...@lucene.apache.org