Solr nightly build failure

2009-06-17 Thread solr-dev
init-forrest-entities: [mkdir] Created dir: /tmp/apache-solr-nightly/build [mkdir] Created dir: /tmp/apache-solr-nightly/build/web compile-solrj: [mkdir] Created dir: /tmp/apache-solr-nightly/build/solrj [javac] Compiling 83 source files to /tmp/apache-solr-nightly/build/solrj

[jira] Created: (SOLR-1226) XPathEntityProcessor should resolve xsl references within Solr's configuration

2009-06-17 Thread David Smiley (JIRA)
XPathEntityProcessor should resolve xsl references within Solr's configuration -- Key: SOLR-1226 URL: https://issues.apache.org/jira/browse/SOLR-1226 Project: Solr I

[jira] Updated: (SOLR-1226) XPathEntityProcessor should resolve xsl references within Solr's configuration

2009-06-17 Thread David Smiley (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1226?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] David Smiley updated SOLR-1226: --- Attachment: SOLR-1226.patch > XPathEntityProcessor should resolve xsl references within Solr's configu

Missing SLF4J lib?

2009-06-17 Thread Development Team
Hi everybody, With Solr 1.4, when I try to *run* an app that uses SolrJ, it fails with this exception: Exception in thread "Thread-4" java.lang.NoClassDefFoundError: org/slf4j/LoggerFactory at org.apache.solr.client.solrj.impl.CommonsHttpSolrServer.(CommonsHttpSolrServer.java:77) I sear

Re: Missing SLF4J lib?

2009-06-17 Thread Mark Miller
True, its not in apache-solr-nightly/dist/solrj-lib, but it is in apache-solr-nightly/lib, so no reason to have to download it. I couldn't comment on whether or not it also belongs in solrj-lib. -- - Mark http://www.lucidimagination.com Development Team wrote: Hi everybody, With Solr

[jira] Commented: (SOLR-1223) Query Filter fq with OR operator

2009-06-17 Thread Brian Pearson (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-1223?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720710#action_12720710 ] Brian Pearson commented on SOLR-1223: - Just putting my thoughts out .. obviously don't h

Re: Missing SLF4J lib?

2009-06-17 Thread Development Team
Ahhh... yeah it is there, thanks. Seems to me that it should be in dist's solrj-lib (since it's required at runtime), but then again I'm not really in a position to comment on that either. Question: Are all the jars in solrj-lib required to run SolrJ? - Daryl. On Wed, Jun 17, 2009 at 11:13 AM,

Re: Problem getting Solr statistics

2009-06-17 Thread Development Team
So for all those wondering what the problem was: It turns out I can't just initialize my own CoreContainer; that just gives me a *new* set of cores, and since those are not the cores being used by the SolrDispatchFilter, they're never accessed and thus the stats remain the same (such as having "2"

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

2009-06-17 Thread Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720861#action_12720861 ] Shekhar commented on SOLR-773: -- Can someone please let me know where can I download latest spati

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

2009-06-17 Thread patrick o'leary (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720866#action_12720866 ] patrick o'leary commented on SOLR-773: -- It's in lucene trunk under contrib/spatial > In

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

2009-06-17 Thread Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720899#action_12720899 ] Shekhar commented on SOLR-773: -- I checkedout code from https://svn.apache.org/repos/asf/lucene/

[jira] Commented: (SOLR-236) Field collapsing

2009-06-17 Thread Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-236?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720908#action_12720908 ] Shekhar commented on SOLR-236: -- Thanks a lot Martijn for you help.. Could you please point me to

[jira] Created: (SOLR-1227) schema.jsp will be cached in browser

2009-06-17 Thread Edward Capriolo (JIRA)
schema.jsp will be cached in browser Key: SOLR-1227 URL: https://issues.apache.org/jira/browse/SOLR-1227 Project: Solr Issue Type: Bug Components: web gui Affects Versions: 1.4 Envi

aaah, using trunk is fun! -- Illegal sort type: 2

2009-06-17 Thread Ryan McKinley
Just started getting this error with a recent update: Caused by: java.lang.IllegalStateException: Illegal sort type: 2 at org.apache.lucene.search.SortField.getComparator(SortField.java:492) at org.apache.lucene.search.FieldValueHitQueue$OneComparatorFieldValueHitQueue.(FieldValue

Re: aaah, using trunk is fun! -- Illegal sort type: 2

2009-06-17 Thread Mark Miller
Type 2 is auto and its been deprecated in Lucene. Not sure why you are seeing this issue though. Could be the recent changes to Solr for LUCENE-1483 - auto now has to be resolved before using the collector, ie using int autotype = SortField.detectFieldType(reader, fieldname); I remember this

Re: aaah, using trunk is fun! -- Illegal sort type: 2

2009-06-17 Thread Ryan McKinley
Digging in a little more... this is triggered by a custom search component that takes some parameters and adds a custom filter to the mix. In the component prepare() function, it checks if the there is a sort defined, if not it defaults to something: SortSpec sortSpec = builder.getSortSp

Re: aaah, using trunk is fun! -- Illegal sort type: 2

2009-06-17 Thread Mark Miller
Oh, okay. Thats a deprecated constructor that will set the type to auto:2. Should have occurred to me that Solr doesn't use auto anyway :) Hard to switch my mind between these two projects. I can't remember the discussion around this and back compat :) I'll have to dig back. You need to res

Re: aaah, using trunk is fun! -- Illegal sort type: 2

2009-06-17 Thread Mark Miller
... grab the field type from Solr and set it rather than using AUTO, ... This constructor public SortField (String field, int type, boolean reverse)

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

2009-06-17 Thread patrick o'leary (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12720995#action_12720995 ] patrick o'leary commented on SOLR-773: -- That comes from this patch- This was an older po

Re: aaah, using trunk is fun! -- Illegal sort type: 2

2009-06-17 Thread Ryan McKinley
thanks! I replaced my code with this and it works fine now: SortSpec sortSpec = builder.getSortSpec(); if( sortSpec.getSort() == null ) { SchemaField sf = builder.req.getCore().getSchema() .getField( "somefield" ); sortSpec.setSort( new Sort( new So

[jira] Commented: (SOLR-773) Incorporate Local Lucene/Solr

2009-06-17 Thread Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721016#action_12721016 ] Shekhar commented on SOLR-773: -- Patrick, I finally got it compiled. Had to do some minor change

[jira] Issue Comment Edited: (SOLR-773) Incorporate Local Lucene/Solr

2009-06-17 Thread Shekhar (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-773?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12721016#action_12721016 ] Shekhar edited comment on SOLR-773 at 6/17/09 5:42 PM: --- Patrick, I fin