Solr nightly build failure

2008-11-18 Thread solr-dev
init-forrest-entities: [mkdir] Created dir: /tmp/apache-solr-nightly/build [mkdir] Created dir: /tmp/apache-solr-nightly/build/web compile-common: [mkdir] Created dir: /tmp/apache-solr-nightly/build/common [javac] Compiling 39 source files to /tmp/apache-solr-nightly/build/common

[jira] Updated: (SOLR-868) Prepare solrjs trunk to be integrated into contrib

2008-11-18 Thread Shalin Shekhar Mangar (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-868?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shalin Shekhar Mangar updated SOLR-868: --- Affects Version/s: (was: 1.3.1) 1.4 Fix Version/s:

Build failed in Hudson: Solr-trunk #628

2008-11-18 Thread Apache Hudson Server
See http://hudson.zones.apache.org/hudson/job/Solr-trunk/628/changes Changes: [ryan] add empty 'build' target so ant generate-maven-artifacts works [ryan] SOLR-803, not sure how this got removed from CHANGES.txt [ryan] SOLR-868 -- adding some missing files. add dist to ignore list [ryan]

[jira] Commented: (SOLR-868) Prepare solrjs trunk to be integrated into contrib

2008-11-18 Thread Matthias Epheser (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12648534#action_12648534 ] Matthias Epheser commented on SOLR-868: --- Just noticed that we need an (empty) test

[jira] Updated: (SOLR-807) UUIDField type cannot be recognized when wt=javabin is used

2008-11-18 Thread Shalin Shekhar Mangar (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shalin Shekhar Mangar updated SOLR-807: --- Attachment: SOLR-807.patch # Added a set of FieldTypes supported by NamedListCodec

[jira] Assigned: (SOLR-807) UUIDField type cannot be recognized when wt=javabin is used

2008-11-18 Thread Shalin Shekhar Mangar (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-807?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shalin Shekhar Mangar reassigned SOLR-807: -- Assignee: Shalin Shekhar Mangar UUIDField type cannot be recognized when

[jira] Commented: (SOLR-868) Prepare solrjs trunk to be integrated into contrib

2008-11-18 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-868?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12648548#action_12648548 ] Erik Hatcher commented on SOLR-868: --- Matthias, could you detail build / demo instructions a

[jira] Commented: (SOLR-620) Velocity Response Writer

2008-11-18 Thread Erik Hatcher (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-620?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12648577#action_12648577 ] Erik Hatcher commented on SOLR-620: --- I have added in the json escaping/wrapping feature,

[jira] Updated: (SOLR-84) Logo Contests

2008-11-18 Thread Kevin Richard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Richard updated SOLR-84: -- Attachment: solr-logo.png Logo Contests - Key: SOLR-84

[jira] Updated: (SOLR-84) Logo Contests

2008-11-18 Thread Kevin Richard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Richard updated SOLR-84: -- Attachment: (was: solr-logo.png) Logo Contests - Key: SOLR-84

[jira] Updated: (SOLR-84) Logo Contests

2008-11-18 Thread Kevin Richard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Richard updated SOLR-84: -- Attachment: solr-logo.png Logo Contests - Key: SOLR-84

[jira] Updated: (SOLR-84) Logo Contests

2008-11-18 Thread Kevin Richard (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kevin Richard updated SOLR-84: -- Attachment: (was: solr-logo.png) Logo Contests - Key: SOLR-84

[jira] Updated: (SOLR-84) Logo Contests

2008-11-18 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated SOLR-84: Attachment: solrlogo.jpg Logo Contests - Key: SOLR-84 URL:

[jira] Commented: (SOLR-84) Logo Contests

2008-11-18 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12648601#action_12648601 ] Mark Miller commented on SOLR-84: - Whats up with this vector rule? Only vector logos? Weak.

[jira] Assigned: (SOLR-853) Make DIH API friendly

2008-11-18 Thread Shalin Shekhar Mangar (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shalin Shekhar Mangar reassigned SOLR-853: -- Assignee: Shalin Shekhar Mangar Make DIH API friendly -

JdbcDataSource synchronization

2008-11-18 Thread Mark Miller
JdbcDataSource looks like it has a little funkiness going on. Why is there a synchronize block there? Can multiple threads call getConnection concurrently? If they can, this is not thread safe anyway. If they can't, why is factory.call (or is it the close?) being protected with a sync?

[jira] Created: (SOLR-869) public ListString getLines(String resource, Charset charset) should close its reader

2008-11-18 Thread Mark Miller (JIRA)
public ListString getLines(String resource, Charset charset) should close its reader -- Key: SOLR-869 URL: https://issues.apache.org/jira/browse/SOLR-869 Project:

[jira] Updated: (SOLR-870) FastInputStream makes 3 DataInputStream/DataOutputStreams that it does not close

2008-11-18 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-870?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated SOLR-870: - Priority: Trivial (was: Major) FastInputStream makes 3 DataInputStream/DataOutputStreams that it does

Re: JdbcDataSource synchronization

2008-11-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
one JdbcDataSource has only one connection the connection object/the connLastUsed etc needs to be protected. On Tue, Nov 18, 2008 at 9:24 PM, Mark Miller [EMAIL PROTECTED] wrote: JdbcDataSource looks like it has a little funkiness going on. Why is there a synchronize block there? Can multiple

Re: JdbcDataSource synchronization

2008-11-18 Thread Mark Miller
But if your going to sync a variable, you can't read/write it outside of proper synchronization. Maybe I am just not following the code... Noble Paul ??? ?? wrote: one JdbcDataSource has only one connection the connection object/the connLastUsed etc needs to be protected. On Tue,

Re: JdbcDataSource synchronization

2008-11-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
it is not . conn is protected throughout On Tue, Nov 18, 2008 at 9:48 PM, Mark Miller [EMAIL PROTECTED] wrote: But if your going to sync a variable, you can't read/write it outside of proper synchronization. Maybe I am just not following the code... Noble Paul ??? ?? wrote: one

[jira] Created: (SOLR-870) FastInputStream makes 3 DataInputStream/DataOutputStreams that it does not close

2008-11-18 Thread Mark Miller (JIRA)
FastInputStream makes 3 DataInputStream/DataOutputStreams that it does not close Key: SOLR-870 URL: https://issues.apache.org/jira/browse/SOLR-870 Project: Solr

Re: JdbcDataSource synchronization

2008-11-18 Thread Mark Miller
Okay. Lets agree to disagree on the connection protection. How about conLastUsed? If multiple threads can enter that method (the only reason you would need synchronization) then all of the threads will access the same instance field 'conLastUsed' outside of synchronization, possibly as both

[jira] Created: (SOLR-871) remove dependency on stax-utils.jar

2008-11-18 Thread Ryan McKinley (JIRA)
remove dependency on stax-utils.jar Key: SOLR-871 URL: https://issues.apache.org/jira/browse/SOLR-871 Project: Solr Issue Type: Improvement Reporter: Ryan McKinley Fix For: 1.4

[jira] Commented: (SOLR-84) Logo Contests

2008-11-18 Thread Doug Cutting (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12648645#action_12648645 ] Doug Cutting commented on SOLR-84: -- I'm liking

Re: JdbcDataSource synchronization

2008-11-18 Thread Yonik Seeley
I took a very quick peek... looks like Mark is right, there are some non-thread-safe practices going on there with both conn and connLastUsed. Prob also want another check inside the sync block so multiple threads don't pile up at that sync block and all open a new connection in turn (or just put

Re: JdbcDataSource synchronization

2008-11-18 Thread Shalin Shekhar Mangar
Hmm, the import operation in DIH is single threaded. Each entity has a separate instance of DataSource for itself. I think that we may not need the synchronization at all. On Tue, Nov 18, 2008 at 10:22 PM, Yonik Seeley [EMAIL PROTECTED] wrote: I took a very quick peek... looks like Mark is

[jira] Commented: (SOLR-84) Logo Contests

2008-11-18 Thread Hoss Man (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12648650#action_12648650 ] Hoss Man commented on SOLR-84: -- bq. Whats up with this vector rule? Only vector logos? Weak. The

[jira] Commented: (SOLR-812) JDBC optimizations: setReadOnly, setMaxRows

2008-11-18 Thread Glen Newton (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12648673#action_12648673 ] Glen Newton commented on SOLR-812: -- You might also think about setting

[jira] Commented: (SOLR-812) JDBC optimizations: setReadOnly, setMaxRows

2008-11-18 Thread Glen Newton (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12648685#action_12648685 ] Glen Newton commented on SOLR-812: -- This is a related issue, but since I just got involved

[jira] Commented: (SOLR-812) JDBC optimizations: setReadOnly, setMaxRows

2008-11-18 Thread Shalin Shekhar Mangar (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-812?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12648724#action_12648724 ] Shalin Shekhar Mangar commented on SOLR-812: Thanks for going through this Glen.

Re: Deadlock with DirectUpdateHandler2

2008-11-18 Thread Mike Klaas
On 18-Nov-08, at 8:54 AM, Mark Miller wrote: Mark Miller wrote: Toby Cole wrote: Has anyone else experienced a deadlock when the DirectUpdateHandler2 does an autocommit? I'm using a recent snapshot from hudson (apache- solr-2008-11-12_08-06-21), and quite often when I'm loading data the

[jira] Updated: (SOLR-84) Logo Contests

2008-11-18 Thread Mark Miller (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Mark Miller updated SOLR-84: Attachment: solrlogo2.jpg Logo Contests - Key: SOLR-84 URL:

Re: JdbcDataSource synchronization

2008-11-18 Thread Noble Paul നോബിള്‍ नोब्ळ्
As shalin says threadsafety is not given importance because DIH is singlethreaded. But eventually we may move there . But we indeed tried once w/ multithreaded indexing for around 3million records and the performance gain we observed was 10% . We realized that it was bound by Lucene's ability to

[jira] Updated: (SOLR-84) Logo Contests

2008-11-18 Thread Danny Marsh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Marsh updated SOLR-84: Attachment: solr-solid.png Logo Contests - Key: SOLR-84 URL:

[jira] Updated: (SOLR-84) Logo Contests

2008-11-18 Thread Danny Marsh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Marsh updated SOLR-84: Attachment: (was: solr-circle-grad.png) Logo Contests - Key: SOLR-84

[jira] Updated: (SOLR-84) Logo Contests

2008-11-18 Thread Danny Marsh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Marsh updated SOLR-84: Attachment: solr-circle-grad.png Logo Contests - Key: SOLR-84

[jira] Updated: (SOLR-84) Logo Contests

2008-11-18 Thread Danny Marsh (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Danny Marsh updated SOLR-84: Attachment: solr-circle-grad.png Logo Contests - Key: SOLR-84

[jira] Updated: (SOLR-667) Alternate LRUCache implementation

2008-11-18 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-667?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Noble Paul updated SOLR-667: Attachment: SOLR-667.patch made CacheEntry non static Alternate LRUCache implementation

[jira] Updated: (SOLR-872) better error message for missing copyField destination

2008-11-18 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Noble Paul updated SOLR-872: Attachment: SOLR-872.patch throws exception with appropriate message better error message for missing

[jira] Updated: (SOLR-872) better error message for missing copyField destination

2008-11-18 Thread Noble Paul (JIRA)
[ https://issues.apache.org/jira/browse/SOLR-872?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Noble Paul updated SOLR-872: Priority: Trivial (was: Major) Summary: better error message for missing copyField destination (was:

[jira] Created: (SOLR-872) better error message for copyField

2008-11-18 Thread Noble Paul (JIRA)
better error message for copyField -- Key: SOLR-872 URL: https://issues.apache.org/jira/browse/SOLR-872 Project: Solr Issue Type: Improvement Components: search Reporter: Noble Paul