Re: [scala-functional] Need help with calling and returning value from anon function in scala

2019-05-16 Thread Jed Wesley-Smith
of >>> `onComplete` on a `Future` is `Unit`: the `onComplete` is synchronous but >>> the callback is async. >>> >>> If you want your method to wait until the Druid call returns, you want >>> to use `Future#transform` ( >>> https://www.sca

Re: [scala-functional] Need help with calling and returning value from anon function in scala

2019-05-07 Thread Jed Wesley-Smith
Scala is an expression oriented language, so the last thing you refer to is returned. def foo: Int = 3 returns 3. There is no need to use the return keyword, indeed its use can complicate matters as you can create non-local returns, which I suspect is what is confusing you in your example.

Re: [scala-functional] Need help with calling and returning value from a function in scala

2019-05-07 Thread Jed Wesley-Smith
Tushar, this is a duplicate question. Please see the other one for a response, and please try not to double post if possible, thanks! On Wed, 8 May 2019 at 12:06, tushar pandit wrote: > Hi, > > I am trying to call function fetchFromDruid > > def main(args: Array[String]): Unit = { > val res =

Re: [scala-functional] Need help with calling and returning value from anon function in scala

2019-05-07 Thread Jed Wesley-Smith
Tushar, this seems to be an issue with whatever Druid is. This mailing list is for questions about Functional Programming in Scala, both in general and more specifically the book with that title. If you ask your question in a more relevant forum somebody may be able to provide you with an answer.

[jira] [Commented] (KAFKA-2260) Allow specifying expected offset on produce

2017-12-13 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/KAFKA-2260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16290245#comment-16290245 ] Jed Wesley-Smith commented on KAFKA-2260: - This would be a valuable feature, currently we need

Re: [scalaz] scalaz 7.2.8 released

2016-12-04 Thread Jed Wesley-Smith
\o/ thanks Kenji. On 4 December 2016 at 00:20, Kenji Yoshida <6b656e6...@gmail.com> wrote: > Hi everyone. > > scalaz 7.2.8 released! > > "org.scalaz" %% "scalaz-core" % "7.2.8" > > for Scala binary versions 2.10, 2.11 and 2.12. > > Thanks to all contributors. > This is second maintenance

[jira] [Commented] (LOG4J2-741) Reinstate the package attribute for discovering custom plugins

2014-08-22 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14107836#comment-14107836 ] Jed Wesley-Smith commented on LOG4J2-741: - @ianbarfield OOI, do you specify

[jira] [Commented] (LOG4J2-741) Reinstate the package attribute for discovering custom plugins

2014-07-24 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14074016#comment-14074016 ] Jed Wesley-Smith commented on LOG4J2-741: - I strongly consider the removal

[jira] [Commented] (LOG4J2-673) plugin preloading fails in shaded jar files

2014-07-24 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-673?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14074022#comment-14074022 ] Jed Wesley-Smith commented on LOG4J2-673: - Note that alternate language (like

[jira] [Comment Edited] (LOG4J2-741) Reinstate the package attribute for discovering custom plugins

2014-07-24 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14074016#comment-14074016 ] Jed Wesley-Smith edited comment on LOG4J2-741 at 7/25/14 4:15 AM

[jira] [Commented] (LOG4J2-741) Reinstate the package attribute for discovering custom plugins

2014-07-24 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-741?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14074072#comment-14074072 ] Jed Wesley-Smith commented on LOG4J2-741: - I don't know how you'd ask javac

Re: RFR: 8015317: Optional.filter, map, and flatMap

2013-07-15 Thread Jed Wesley-Smith
think the type you talking about here is Optional? extends U instead of ? extends OptionalU. IIRC, Optional? extends U is not a subtype of OptionalU, just like any other Collection class. ListChild is not a ListParent. Cheers, Henry On Jul 13, 2013, at 3:15 AM, Jed Wesley-Smith j

Re: RFR: 8015317: Optional.filter, map, and flatMap

2013-07-15 Thread Jed Wesley-Smith
? extends U fn) The problem is probably wide spread, and we need a tool to find these mistakes. Zhong Yu On Sun, Jul 14, 2013 at 8:04 AM, Jed Wesley-Smith j...@wesleysmith.io wrote: (accidentally didn't post to the list) You probably know that the example provided is not completed

Re: RFR: 8015317: Optional.filter, map, and flatMap

2013-07-15 Thread Jed Wesley-Smith
, the extends part just doesn't matter. You probably know that the example provided is not completed ported to work with our Optional implementation, and fugue works around the type system with Option as abstract class. Cheers, Henry On Jul 13, 2013, at 4:35 PM, Jed Wesley-Smith j

Re: RFR: 8015317: Optional.filter, map, and flatMap

2013-07-15 Thread Jed Wesley-Smith
The ? extends Optional is unnecessary in flatMap as Optional is final. interestingly enough, it actually is. try the following test: class OptionalTest { class Parent {}; class Child extends Parent {}; @Test public void covariantReturn() { OptionalParent some = some(new Parent());

Re: RFR: 8015317: Optional.filter, map, and flatMap

2013-07-15 Thread Jed Wesley-Smith
ignore me, you do actually need both ? extends on the type constructor and the inner type – dunno what I was thinking. On 15 July 2013 13:02, Jed Wesley-Smith j...@wesleysmith.io wrote: I'm not entirely sure that is a problem, have a look at the following: https://gist.github.com/jedws

[jira] [Commented] (LOG4J2-169) LogManager.getLogger doesn't work

2013-03-27 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13615907#comment-13615907 ] Jed Wesley-Smith commented on LOG4J2-169: - Anything in particular holding up

Re: RFR : JDK-8001642 : Add OptionalT, OptionalDouble, OptionalInt, OptionalLong

2013-03-06 Thread Jed Wesley-Smith
information see previous posts on Optional forming a Monad. cheers, jed. On 06/03/2013, at 10:58 PM, Remi Forax fo...@univ-mlv.fr wrote: On 03/06/2013 11:54 AM, Jed Wesley-Smith wrote: Really, this is a lot of fuss over nothing. There is actually no fundamental difference between Scala's

Re: RFR : JDK-8001642 : Add OptionalT, OptionalDouble, OptionalInt, OptionalLong

2013-03-06 Thread Jed Wesley-Smith
Really, this is a lot of fuss over nothing. There is actually no fundamental difference between Scala's Option, Guava's Optional, Fugue's Option, Java's Optional and Haskell's Maybe – they are modelling the same thing, the possibility of a value not being present. The fact that there may be

[jira] [Commented] (LOG4J2-169) LogManager.getLogger doesn't work

2013-02-26 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13587518#comment-13587518 ] Jed Wesley-Smith commented on LOG4J2-169: - Using a CopyOnWriteArrayList seems

[jira] [Commented] (LOG4J2-169) LogManager.getLogger doesn't work

2013-02-26 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13587526#comment-13587526 ] Jed Wesley-Smith commented on LOG4J2-169: - I looked at this code last night

[jira] [Commented] (LOG4J2-169) LogManager.getLogger doesn't work

2013-02-26 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=13587561#comment-13587561 ] Jed Wesley-Smith commented on LOG4J2-169: - What is bizarre? Creating a new

[jira] [Updated] (LOG4J2-169) ConfigurationFactory is not thread-safe

2013-02-25 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jed Wesley-Smith updated LOG4J2-169: Priority: Critical (was: Major) ConfigurationFactory is not thread-safe

[jira] [Updated] (LOG4J2-169) LogManager.getLogger doesn't work

2013-02-25 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jed Wesley-Smith updated LOG4J2-169: Summary: LogManager.getLogger doesn't work (was: ConfigurationFactory is not thread-safe

[jira] [Created] (LOG4J2-169) ConfigurationFactory is not thread-safe

2013-02-20 Thread Jed Wesley-Smith (JIRA)
Jed Wesley-Smith created LOG4J2-169: --- Summary: ConfigurationFactory is not thread-safe Key: LOG4J2-169 URL: https://issues.apache.org/jira/browse/LOG4J2-169 Project: Log4j 2 Issue Type

[jira] [Updated] (LOG4J2-169) ConfigurationFactory is not thread-safe

2013-02-20 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LOG4J2-169?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jed Wesley-Smith updated LOG4J2-169: Labels: thread-safety (was: ) Description: We randomly get the following

Re: [The Java Posse] Re: java.util.OptionalT (Java 8)

2012-11-02 Thread Jed Wesley-Smith
On Friday, 2 November 2012 07:02:38 UTC+11, fabrizio.giudici wrote: … I'm a little worried about a possible proliferation of multiple, incompatible libraries. I'd be interested in knowing why Google rejected the patches submitted by Atlassian (I interpret their comment as the fact

Re: Http client API

2012-08-08 Thread Jed Wesley-Smith
, Jed Wesley-Smith

[jira] Created: (WW-3457) Significant performance improvement for freemarker TagModel

2010-06-09 Thread Jed Wesley-Smith (JIRA)
Versions: 2.0.0 Reporter: Jed Wesley-Smith The class org.apache.struts2.views.freemarker.tags.TagModel creates a new freemarker.template.DefaultObjectWrapper for each call to unwrapParameters(Map). The problem is that that class is quite expensive to construct as the super-class does

[jira] Commented: (WW-3457) Significant performance improvement for freemarker TagModel

2010-06-09 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/WW-3457?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12877332#action_12877332 ] Jed Wesley-Smith commented on WW-3457: -- Did you profile that ... ? Yes, we saw

[jira] Commented: (FELIX-2332) Lots of contention on ExtensionManager.openConnection(URL)

2010-05-19 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12869447#action_12869447 ] Jed Wesley-Smith commented on FELIX-2332: - Any update? The m_extensions_cache

[jira] Reopened: (FELIX-2332) Lots of contention on ExtensionManager.openConnection(URL)

2010-05-12 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jed Wesley-Smith reopened FELIX-2332: - Sorry Karl, one more thing. In _removeExtensions(Object source) you still write a blank

[jira] Reopened: (FELIX-2332) Lots of contention on ExtensionManager.openConnection(URL)

2010-05-11 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jed Wesley-Smith reopened FELIX-2332: - Lots of contention on ExtensionManager.openConnection(URL

[jira] Commented: (FELIX-2332) Lots of contention on ExtensionManager.openConnection(URL)

2010-05-11 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12866464#action_12866464 ] Jed Wesley-Smith commented on FELIX-2332: - Karl, there are a couple of things I am

[jira] Created: (FELIX-2332) Lots of contention on ExtensionManager.openConnection(URL)

2010-05-10 Thread Jed Wesley-Smith (JIRA)
: Framework Reporter: Jed Wesley-Smith This method is synchronized, apparently to protect is the iteration through the m_extensions list. We have seen significant blocking in our applications as this lock encompasses the call to URL.openConnection as well. As this list is rarely

[jira] Updated: (FELIX-2332) Lots of contention on ExtensionManager.openConnection(URL)

2010-05-10 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-2332?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jed Wesley-Smith updated FELIX-2332: Attachment: ExtensionManager.java.patch attached is a simple patch that reduces the scope

[jira] Commented: (FELIX-1746) Eliminate contention on ServiceRegistry.getServiceReferences(String, Filter)

2009-10-14 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12765814#action_12765814 ] Jed Wesley-Smith commented on FELIX-1746: - Karl, there are a couple of things

[jira] Commented: (FELIX-1746) Eliminate contention on ServiceRegistry.getServiceReferences(String, Filter)

2009-10-14 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12765817#action_12765817 ] Jed Wesley-Smith commented on FELIX-1746: - Question, you state that HotSpot

[jira] Updated: (FELIX-1746) Eliminate contention on ServiceRegistry.getServiceReferences(String, Filter)

2009-10-13 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jed Wesley-Smith updated FELIX-1746: Summary: Eliminate contention on ServiceRegistry.getServiceReferences(String, Filter

[jira] Commented: (FELIX-1746) Reduce contention on ServiceRegistry.getServiceReferences(String, Filter)

2009-10-13 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12765374#action_12765374 ] Jed Wesley-Smith commented on FELIX-1746: - Karl, your patch reduces the contention

[jira] Created: (FELIX-1746) Reduce contention on ServiceRegistry.getServiceReferences(String, Filter)

2009-10-12 Thread Jed Wesley-Smith (JIRA)
Type: Improvement Components: Framework Affects Versions: felix-2.0.0 Reporter: Jed Wesley-Smith Performance testing has shown that there is significant contention on the ServiceRegistry object's monitor during startup. This is caused by Spring DM making lots of calls

[jira] Updated: (FELIX-1746) Reduce contention on ServiceRegistry.getServiceReferences(String, Filter)

2009-10-12 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jed Wesley-Smith updated FELIX-1746: Attachment: blocked-threads.gif.jpg jprofiler screenshot attached Reduce contention

[jira] Updated: (FELIX-1746) Reduce contention on ServiceRegistry.getServiceReferences(String, Filter)

2009-10-12 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-1746?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jed Wesley-Smith updated FELIX-1746: Attachment: FELIX-1746.patch Attached is a patch that adds a fully functional and tested

[jira] Commented: (SHINDIG-1132) ClassLoader memory leak caused by XmlUtil ThreadLocal

2009-07-29 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/SHINDIG-1132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12736934#action_12736934 ] Jed Wesley-Smith commented on SHINDIG-1132: --- Unfortunately, the problem

[jira] Commented: (LUCENE-1609) Eliminate synchronization contention on initial index reading in TermInfosReader ensureIndexIsRead

2009-06-03 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1609?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12716118#action_12716118 ] Jed Wesley-Smith commented on LUCENE-1609: -- We get hit by this too. We'd love

[jira] Created: (FELIX-1170) MemoryLeak when stopping and restarting Felix

2009-05-21 Thread Jed Wesley-Smith (JIRA)
Versions: felix-1.2.1 Environment: Atlassian JIRA Reporter: Jed Wesley-Smith There is a memory leak caused by a strong reference from the BundleProtectionDomain to a bundle and Felix. The problem is that a URLClassLoader gets its AccessControlContext from the stack

[jira] Updated: (FELIX-1170) MemoryLeak when stopping and restarting Felix

2009-05-21 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jed Wesley-Smith updated FELIX-1170: Attachment: BundleProtectionDomain.java.FELIX-1170.patch patch attached. Note

[jira] Commented: (FELIX-1170) MemoryLeak when stopping and restarting Felix

2009-05-21 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12711926#action_12711926 ] Jed Wesley-Smith commented on FELIX-1170: - The [Atlassian Plugins ticket|https

[jira] Issue Comment Edited: (FELIX-1170) MemoryLeak when stopping and restarting Felix

2009-05-21 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/FELIX-1170?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12711926#action_12711926 ] Jed Wesley-Smith edited comment on FELIX-1170 at 5/21/09 7:22 PM

memory leaks

2009-04-14 Thread Jed Wesley-Smith
persists. we are wondering if anyone has seen anyone has seen anything similar and may have some advice. cheers, Jed Wesley-Smith JIRA team @ Atlassian * http://jira.atlassian.com/browse/JRA-16932 - To unsubscribe, e-mail: users

Re: IllegalStateEx thrown when calling close

2008-10-30 Thread Jed Wesley-Smith
Thanks Mike! Michael McCandless wrote: OK I'll add that (what IW does on setting an OOME) to the javadocs. Mike Jed Wesley-Smith wrote: Mike, regarding this paragraph: To workaround this, on catching an OOME on any of IndexWriter's methods, you should 1) forcibly remove the write lock

Re: IllegalStateEx thrown when calling close

2008-10-30 Thread Jed Wesley-Smith
ahh, yes, sorry, the ability to read is occasionally handy... [wipes egg off forehead] cheers, jed. Michael McCandless wrote: Actually, yes in 2.3.2: IndexReader.unlock has existed for a long time. In 2.4.0, we moved this to IndexWriter.unlock. Mike Jed Wesley-Smith wrote: not in 2.3.2

Re: IllegalStateEx thrown when calling close

2008-10-29 Thread Jed Wesley-Smith
Michael McCandless wrote: To workaround this, on catching an OOME on any of IndexWriter's methods, you should 1) forcibly remove the write lock (IndexWriter.unlock static method) IndexWriter.unlock(*) is 2.4 only. Use the following instead:

Re: IllegalStateEx thrown when calling close

2008-10-29 Thread Jed Wesley-Smith
not in 2.3.2 though. cheers, jed. Michael McCandless wrote: Or you can use IndexReader.unlock. Mike Jed Wesley-Smith wrote: Michael McCandless wrote: To workaround this, on catching an OOME on any of IndexWriter's methods, you should 1) forcibly remove the write lock (IndexWriter.unlock

Re: IllegalStateEx thrown when calling close

2008-10-29 Thread Jed Wesley-Smith
to discard it. I am suggesting that this could be documented as it is not immediately obvious without coming across it and debugging it. That being said, the VM is probably not that useful once OOMEs are flying around anyway :-) cheers, jed. Michael McCandless wrote: Jed Wesley-Smith wrote

[jira] Commented: (LUCENE-1429) close() throws incorrect IllegalStateEx after IndexWriter hit an OOME when autoCommit is true

2008-10-28 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1429?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12643360#action_12643360 ] Jed Wesley-Smith commented on LUCENE-1429: -- Thanks Michael, I'll try and work out

IllegalStateEx thrown when calling close

2008-10-28 Thread Jed Wesley-Smith
All, We have seen the following stacktrace in production with Lucene 2.3.2: java.lang.IllegalStateException: abort() can only be called when IndexWriter was opened with autoCommit=false at org.apache.lucene.index.IndexWriter.abort(IndexWriter.java:2009) at

Re: IllegalStateEx thrown when calling close

2008-10-28 Thread Jed Wesley-Smith
Michael, https://issues.apache.org/jira/browse/LUCENE-1429 Thanks mate. I'll try and work out the client handling policy of the IndexWriter calls. I see that flush now aborts the transaction as well... cheers, jed. Michael McCandless wrote: Woops, you're right: this is a bug. I'll open

Re: IllegalStateEx thrown when calling close

2008-10-28 Thread Jed Wesley-Smith
Wesley-Smith wrote: Michael, https://issues.apache.org/jira/browse/LUCENE-1429 Thanks mate. I'll try and work out the client handling policy of the IndexWriter calls. I see that flush now aborts the transaction as well... cheers, jed. Michael McCandless wrote: Woops, you're right

[jira] Commented: (LUCENE-1282) Sun hotspot compiler bug in 1.6.0_04/05 affects Lucene

2008-07-11 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=12613018#action_12613018 ] Jed Wesley-Smith commented on LUCENE-1282: -- Sun has posted their evaluation

[jira] Commented: (LUCENE-140) docs out of order

2007-01-10 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463781 ] Jed Wesley-Smith commented on LUCENE-140: - Michael, Doron, you guys are legends! Indeed the problem

[jira] Updated: (LUCENE-140) docs out of order

2007-01-09 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jed Wesley-Smith updated LUCENE-140: Attachment: indexing-failure.log docs out of order

[jira] Commented: (LUCENE-140) docs out of order

2007-01-09 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463440 ] Jed Wesley-Smith commented on LUCENE-140: - Hi Michael, Thanks for the patch, applied and recreated

[jira] Commented: (LUCENE-140) docs out of order

2007-01-09 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463470 ] Jed Wesley-Smith commented on LUCENE-140: - BTW. We have looked at all the open files referenced by the VM

[jira] Commented: (LUCENE-140) docs out of order

2007-01-08 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463202 ] Jed Wesley-Smith commented on LUCENE-140: - Hi Michael, This is awesome, I have prepared a patched 1.9.1

[jira] Commented: (LUCENE-140) docs out of order

2007-01-08 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12463203 ] Jed Wesley-Smith commented on LUCENE-140: - Alas, this doesn't appear to be the problem. We are still getting

[jira] Commented: (LUCENE-140) docs out of order

2007-01-07 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462949 ] Jed Wesley-Smith commented on LUCENE-140: - We have now seen this in a number of customer sites since

[jira] Commented: (LUCENE-140) docs out of order

2007-01-07 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462949 ] Jed Wesley-Smith commented on LUCENE-140: - We have now seen this in a number of customer sites since

[jira] Commented: (LUCENE-140) docs out of order

2007-01-07 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462950 ] Jed Wesley-Smith commented on LUCENE-140: - and we also see ArrayIndexOutOfBoundsEx

[jira] Commented: (LUCENE-140) docs out of order

2007-01-07 Thread Jed Wesley-Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12462950 ] Jed Wesley-Smith commented on LUCENE-140: - and we also see ArrayIndexOutOfBoundsEx

[jira] Commented: (LUCENE-748) Exception during IndexWriter.close() prevents release of the write.lock

2006-12-18 Thread Jed Wesley-Smith (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-748?page=comments#action_12459489 ] Jed Wesley-Smith commented on LUCENE-748: - I guess, particularly in light of LUCENE-702 that this behavior is OK - and the IndexReader.unlock(dir

[jira] Commented: (LUCENE-748) Exception during IndexWriter.close() prevents release of the write.lock

2006-12-18 Thread Jed Wesley-Smith (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-748?page=comments#action_12459502 ] Jed Wesley-Smith commented on LUCENE-748: - Awesome, thanks! Exception during IndexWriter.close() prevents release of the write.lock

[jira] Commented: (LUCENE-140) docs out of order

2006-12-14 Thread Jed Wesley-Smith (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-140?page=comments#action_12458669 ] Jed Wesley-Smith commented on LUCENE-140: - We have seen this one as well. We don't have the same usage as above, we only ever delete documents

[jira] Commented: (LUCENE-140) docs out of order

2006-12-14 Thread Jed Wesley-Smith (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-140?page=comments#action_12458669 ] Jed Wesley-Smith commented on LUCENE-140: - We have seen this one as well. We don't have the same usage as above, we only ever delete documents

[jira] Created: (LUCENE-748) Exception during IndexWriter.close() prevents release of the write.lock

2006-12-14 Thread Jed Wesley-Smith (JIRA)
Issue Type: Bug Affects Versions: 1.9 Environment: Lucene 1.4 through 2.1 HEAD (as of 2006-12-14) Reporter: Jed Wesley-Smith After encountering a case of index corruption - see http://issues.apache.org/jira/browse/LUCENE-140 - when the close() method encounters an exception

[jira] Commented: (LUCENE-681) org.apache.lucene.document.Field is Serializable but doesn't have default constructor

2006-12-10 Thread Jed Wesley-Smith (JIRA)
[ http://issues.apache.org/jira/browse/LUCENE-681?page=comments#action_12457253 ] Jed Wesley-Smith commented on LUCENE-681: - worksforme public class SerializationTest { public static void main(String[] args) throws Exception

FSDirectory.close()

2006-10-30 Thread Jed Wesley-Smith
All, Just a quick question regarding the need to call Directory.close() (actually for an FSDirectory) and whether it is really necessary. As far as I can tell, the only implication of this is that the refCount is not decremented and therefore the FSDirectory will persist for the life of the

Possible exceptions using IndexReader IndexWriter

2006-09-17 Thread Jed Wesley-Smith
all, We're just wondering if anyone has seen any exceptions when using the IndexWriter.addDocument(...) or IndexReader.deleteDocuments(Term term) methods apart from catastrophic IOExceptions (disk full/failed etc.). Is it possible for instance that we may be able to create a document that

Upgrade from 1.4.3 to 1.9.1. Any problems with using existing index files?

2006-08-25 Thread Jed Wesley-Smith
Hello all, We are upgrading from Lucene 1.4.3 to 1.9.1, and have many customers with large existing index files. In our testing we have reused large indexes created in 1.4.3 in 1.9.1 without incident. We have looked through the changelog and the code and can't see any reason there should be