Re: Interleaving and new Lucene formats

2013-02-17 Thread Sebastiano Vigna
On 16 February 2013 14:35, Robert Muir wrote: > > TermsEnum termsEnum = reader.terms("body").iterator(null); > boolean found = termsEnum.seekExact(new BytesRef("dogs"), false); > // pass 0, to not ask for frequencies > DocsEnum docsEnum = termsEnum.docs(reader.getLiveDocs(

Re: Interleaving and new Lucene formats

2013-02-17 Thread Dawid Weiss
>From IndexReader API javadoc: There are two different types of IndexReaders: {@link AtomicReader}: These indexes do not consist of several sub-readers, they are atomic. They support retrieval of stored fields, doc values, terms, and postings. {@link CompositeReader}: Instances (like {@

[jira] [Commented] (LUCENE-4570) Release ForbiddenAPI checker on Google Code

2013-02-17 Thread Uwe Schindler (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-4570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580163#comment-13580163 ] Uwe Schindler commented on LUCENE-4570: --- bq. I think this slowdown is live-with-abl

[JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.6.0_38) - Build # 4349 - Failure!

2013-02-17 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-trunk-Linux/4349/ Java: 32bit/jdk1.6.0_38 -server -XX:+UseSerialGC 3 tests failed. FAILED: junit.framework.TestSuite.org.apache.lucene.index.TestConcurrentMergeScheduler Error Message: Suite timeout exceeded (>= 720 msec). Stack Trace: java

Re: [JENKINS] Lucene-Solr-trunk-Linux (32bit/jdk1.6.0_38) - Build # 4349 - Failure!

2013-02-17 Thread Robert Muir
This test is broken. IndexWriterConfig iwc = newIndexWriterConfig(TEST_VERSION_CURRENT, new MockAnalyzer(random())); iwc.setMaxBufferedDocs(5); iwc.setMergeScheduler(new TrackingCMS()); RandomIndexWriter w = new RandomIndexWriter(random(), d); <-- NOT using the IWC!!! then goe

[jira] [Commented] (LUCENE-4775) OneMerge.totalBytesSize is trappy

2013-02-17 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-4775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580198#comment-13580198 ] Robert Muir commented on LUCENE-4775: - The test added here doesn't even use its index

[jira] [Commented] (LUCENE-4775) OneMerge.totalBytesSize is trappy

2013-02-17 Thread Commit Tag Bot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-4775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580200#comment-13580200 ] Commit Tag Bot commented on LUCENE-4775: [trunk commit] Robert Muir http://svn.ap

[jira] [Commented] (LUCENE-4775) OneMerge.totalBytesSize is trappy

2013-02-17 Thread Commit Tag Bot (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-4775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580201#comment-13580201 ] Commit Tag Bot commented on LUCENE-4775: [branch_4x commit] Robert Muir http://sv

[jira] [Resolved] (LUCENE-4294) expose CheckIndex to work on AtomicReader

2013-02-17 Thread Robert Muir (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-4294?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Robert Muir resolved LUCENE-4294. - Resolution: Fixed Fix Version/s: 5.0 4.2 this was added in LUCENE-4547

[jira] [Closed] (SOLR-425) SpellCheckerRequestHandler should use common SpellCheckerParams

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson closed SOLR-425. --- Resolution: Cannot Reproduce Cleaning up old JIRAs, re-open if necessary. All of spellchecker is new an

[jira] [Closed] (SOLR-431) Add the ability to disable XML escaping in XMLWriter

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson closed SOLR-431. --- Resolution: Won't Fix Cleaning up old JIRAs, re-open if necessary. XML escaping has been rehashed exte

[jira] [Closed] (SOLR-432) Add accessor functions to QueryResultsKey

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-432?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson closed SOLR-432. --- Resolution: Won't Fix Cleaning up old JIRAs, re-open if necessary. > Add accessor func

[jira] [Closed] (SOLR-415) LoggingFilter for debug

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson closed SOLR-415. --- Resolution: Won't Fix Cleaning up old JIRAs, re-open if necessary. > LoggingFilter for

[jira] [Resolved] (SOLR-448) A simple number filter

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-448?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson resolved SOLR-448. - Resolution: Won't Fix Cleaning up old JIRAs, re-open if necessary. > A simple numb

[jira] [Resolved] (SOLR-51) SolrQuery - PHP query client for Solr

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-51?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson resolved SOLR-51. Resolution: Won't Fix Cleaning up old JIRAs, re-open if necessary. > SolrQuery - PHP

[jira] [Resolved] (SOLR-138) queries can stack up

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-138?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson resolved SOLR-138. - Resolution: Won't Fix Cleaning up old JIRAs, re-open if necessary. > queries can s

[jira] [Resolved] (SOLR-175) Implement hl.formatter=interleave

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-175?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson resolved SOLR-175. - Resolution: Duplicate Cleaning up old JIRAs, re-open if necessary. I think this can be done in 4.x?

[jira] [Resolved] (SOLR-285) Server Side XSLT for update processing

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-285?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson resolved SOLR-285. - Resolution: Won't Fix Cleaning up old JIRAs, re-open if necessary. > Server Side X

[jira] [Resolved] (SOLR-293) Add "minPartLength" to WordDelimiterFilter

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson resolved SOLR-293. - Resolution: Won't Fix Cleaning up old JIRAs, re-open if necessary. > Add "minPartL

[jira] [Resolved] (SOLR-327) shell scripts failed to run on Solaris 8 (and probably other non recent UNIX)

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-327?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson resolved SOLR-327. - Resolution: Won't Fix Cleaning up old JIRAs, re-open if necessary. > shell scripts

[jira] [Resolved] (SOLR-336) Allow setting solr.data.dir with JNDI

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson resolved SOLR-336. - Resolution: Won't Fix Cleaning up old JIRAs, re-open if necessary. > Allow setting

[jira] [Resolved] (SOLR-370) Add a STX stream transform update handler

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-370?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson resolved SOLR-370. - Resolution: Won't Fix Cleaning up old JIRAs, re-open if necessary. > Add a STX str

[jira] [Resolved] (SOLR-385) facet sorting with relevancy

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-385?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson resolved SOLR-385. - Resolution: Won't Fix Cleaning up old JIRAs, re-open if necessary. > facet sorting

[jira] [Resolved] (SOLR-392) Way to control search time, hits, and memory usage

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Erick Erickson resolved SOLR-392. - Resolution: Won't Fix Cleaning up old JIRAs, re-open if necessary. > Way to contr

Can't seem to build in order to run unit tests from IntelliJ any more.

2013-02-17 Thread Erick Erickson
Anyone else having problems here? I've deleted the ivy cache, cleaned the idea project (and everything else), tried it on a fresh checkout. What am I missing? The problem is that classes are not found, I see messages in IntelliJ like: java: package org.apache.lucene.analysis does not exist java:

[jira] [Reopened] (SOLR-4467) Ephemeral directory implementations may not recover correctly because the code to clear the tlog files on startup is off.

2013-02-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4467?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller reopened SOLR-4467: --- There is a problem with a test on windows because a tlog file cannot be removed. > Epheme

[jira] [Commented] (SOLR-4467) Ephemeral directory implementations may not recover correctly because the code to clear the tlog files on startup is off.

2013-02-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580242#comment-13580242 ] Mark Miller commented on SOLR-4467: --- Hmm...I think the problem may be on core reload - fo

[jira] [Commented] (SOLR-4467) Ephemeral directory implementations may not recover correctly because the code to clear the tlog files on startup is off.

2013-02-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4467?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580245#comment-13580245 ] Mark Miller commented on SOLR-4467: --- nevermind, shouldn't be that - the updatehandler is

[JENKINS-MAVEN] Lucene-Solr-Maven-trunk #774: POMs out of sync

2013-02-17 Thread Apache Jenkins Server
Build: https://builds.apache.org/job/Lucene-Solr-Maven-trunk/774/ 1 tests failed. REGRESSION: org.apache.solr.cloud.SyncSliceTest.testDistribSearch Error Message: Test Setup Failure: shard1 should have just been set up to be inconsistent - but it's still consistent. Leader:http://127.0.0.1:3045

[jira] [Updated] (SOLR-4415) Read/Write shard’s state to ZooKeeper

2013-02-17 Thread Anshum Gupta (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4415?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Anshum Gupta updated SOLR-4415: --- Attachment: SOLR-4415-withTests.patch The patch with a few edits and 2 tests: Tests: SliceStateTest.ja

[jira] [Commented] (SOLR-4468) Add document but keep existing fields values

2013-02-17 Thread Isaac Hebsh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580276#comment-13580276 ] Isaac Hebsh commented on SOLR-4468: --- Notes: * It depends on the Atomic Update feature (wh

[jira] [Commented] (SOLR-4196) Untangle XML-specific nature of Config and Container classes

2013-02-17 Thread Erick Erickson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580285#comment-13580285 ] Erick Erickson commented on SOLR-4196: -- I'm still having the same problem with updates

[jira] [Commented] (SOLR-4417) Look into reopening the IndexWriter on core reload.

2013-02-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580291#comment-13580291 ] Mark Miller commented on SOLR-4417: --- Let's see how this bakes. > Look in

[jira] [Commented] (SOLR-4417) Look into reopening the IndexWriter on core reload.

2013-02-17 Thread Commit Tag Bot (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580294#comment-13580294 ] Commit Tag Bot commented on SOLR-4417: -- [trunk commit] Mark Robert Miller http://svn.a

[jira] [Commented] (SOLR-4417) Look into reopening the IndexWriter on core reload.

2013-02-17 Thread Commit Tag Bot (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580295#comment-13580295 ] Commit Tag Bot commented on SOLR-4417: -- [branch_4x commit] Mark Robert Miller http://s

[jira] [Created] (SOLR-4469) A new IndexWriter must be opened on SolrCore reload when the index directory has changed and the previous SolrCore's state should not be propagated.

2013-02-17 Thread Mark Miller (JIRA)
Mark Miller created SOLR-4469: - Summary: A new IndexWriter must be opened on SolrCore reload when the index directory has changed and the previous SolrCore's state should not be propagated. Key: SOLR-4469 URL: https:

[jira] [Commented] (SOLR-3843) Add lucene-codecs to Solr libs?

2013-02-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-3843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580300#comment-13580300 ] Mark Miller commented on SOLR-3843: --- I've committed an initial attempt at SOLR-4417

[jira] [Commented] (SOLR-4413) SolrCore#getIndexDir() contract change between 3.6 and 4.1

2013-02-17 Thread Commit Tag Bot (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580302#comment-13580302 ] Commit Tag Bot commented on SOLR-4413: -- [trunk commit] Mark Robert Miller http://svn.a

[jira] [Commented] (SOLR-4469) A new IndexWriter must be opened on SolrCore reload when the index directory has changed and the previous SolrCore's state should not be propagated.

2013-02-17 Thread Commit Tag Bot (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580303#comment-13580303 ] Commit Tag Bot commented on SOLR-4469: -- [trunk commit] Mark Robert Miller http://svn.a

[jira] [Commented] (SOLR-4413) SolrCore#getIndexDir() contract change between 3.6 and 4.1

2013-02-17 Thread Commit Tag Bot (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580307#comment-13580307 ] Commit Tag Bot commented on SOLR-4413: -- [branch_4x commit] Mark Robert Miller http://s

[jira] [Commented] (SOLR-4469) A new IndexWriter must be opened on SolrCore reload when the index directory has changed and the previous SolrCore's state should not be propagated.

2013-02-17 Thread Commit Tag Bot (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4469?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580308#comment-13580308 ] Commit Tag Bot commented on SOLR-4469: -- [branch_4x commit] Mark Robert Miller http://s

[jira] [Commented] (SOLR-4413) SolrCore#getIndexDir() contract change between 3.6 and 4.1

2013-02-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4413?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580313#comment-13580313 ] Mark Miller commented on SOLR-4413: --- I opened SOLR-4469 for part of this. Everything is i

[JENKINS] Lucene-Solr-4.x-Linux (64bit/ibm-j9-jdk6) - Build # 4331 - Failure!

2013-02-17 Thread Policeman Jenkins Server
Build: http://jenkins.thetaphi.de/job/Lucene-Solr-4.x-Linux/4331/ Java: 64bit/ibm-j9-jdk6 1 tests failed. REGRESSION: org.apache.solr.handler.dataimport.TestSimplePropertiesWriter.testSimplePropertiesWriter Error Message: Exception during query Stack Trace: java.lang.RuntimeException: Excepti

[jira] [Commented] (SOLR-3816) Need a more granular nrt system that is close to a realtime system.

2013-02-17 Thread Nagendra Nagarajayya (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580328#comment-13580328 ] Nagendra Nagarajayya commented on SOLR-3816: @Yonik: Please find a new patch.

[jira] [Updated] (SOLR-3816) Need a more granular nrt system that is close to a realtime system.

2013-02-17 Thread Nagendra Nagarajayya (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Nagendra Nagarajayya updated SOLR-3816: --- Attachment: SOLR-3816-trunk_request_granularity.patch > Need a more granular nrt s

[jira] [Comment Edited] (SOLR-3816) Need a more granular nrt system that is close to a realtime system.

2013-02-17 Thread Nagendra Nagarajayya (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-3816?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580328#comment-13580328 ] Nagendra Nagarajayya edited comment on SOLR-3816 at 2/17/13 11:52 PM: ---

[jira] [Resolved] (SOLR-4417) Look into reopening the IndexWriter on core reload.

2013-02-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4417?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller resolved SOLR-4417. --- Resolution: Fixed > Look into reopening the IndexWriter on core reload. >

[jira] [Commented] (SOLR-3610) After reloading a core, indexing will fail on any newly added fields to the schema.

2013-02-17 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-3610?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580335#comment-13580335 ] Mark Miller commented on SOLR-3610: --- We should be able to fix this now that SOLR-4417 is

[JENKINS] Lucene-trunk-Linux-Java6-64-test-only - Build # 24387 - Failure!

2013-02-17 Thread builder
Build: builds.flonkings.com/job/Lucene-trunk-Linux-Java6-64-test-only/24387/ All tests passed Build Log: [...truncated 1135 lines...] [junit4:junit4] ERROR: JVM J2 ended with an exception, command line: /opt/java/64/jdk1.6.0_33/jre/bin/java -Dtests.prefix=tests -Dtests.seed=AB674CC454A442CC -Xm

[jira] [Commented] (SOLR-4392) DIH - Need to externalize or encrypt username/password stored within data-config.xml

2013-02-17 Thread Ken Geis (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-4392?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580403#comment-13580403 ] Ken Geis commented on SOLR-4392: I think that the ability to use a JNDI data source makes t

[jira] [Commented] (LUCENE-4570) Release ForbiddenAPI checker on Google Code

2013-02-17 Thread Steve Rowe (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-4570?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13580420#comment-13580420 ] Steve Rowe commented on LUCENE-4570: bq. I think the executors.txt should be run for

Re: Can't seem to build in order to run unit tests from IntelliJ any more.

2013-02-17 Thread Ahmet Arslan
Hi Erick, Same here,  I get this error: import org.apache.lucene.queries.CommonTermsQuery; Cannot resolve CommonTermsQuery --- On Sun, 2/17/13, Erick Erickson wrote: From: Erick Erickson Subject: Can't seem to build in order to run unit tests from IntelliJ any more. To: dev@lucene.apache.org