[jira] Updated: (LUCENE-1333) Token implementation needs improvements

2008-07-14 Thread DM Smith (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1333?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] DM Smith updated LUCENE-1333: - Attachment: LUCENE-1333a.txt The following has been addressed in this patch: 1. JavaDoc is improved (as

Re: Ocean Documentation

2008-07-14 Thread Jason Rutherglen
I took a look at Jackrabbit, which are a very cool animal, and there are similar ideas in the Lucene portion. I will try to take a look at the source to get a better understanding. On Fri, Jul 11, 2008 at 9:09 AM, Ard Schrijvers <[EMAIL PROTECTED]> wrote: > Hello Jason et al, > > Indeed there ar

[jira] Commented: (LUCENE-1328) FileNotFoundException in

2008-07-14 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613439#action_12613439 ] Michael McCandless commented on LUCENE-1328: OK, thanks for bringing closure h

[jira] Commented: (LUCENE-1328) FileNotFoundException in

2008-07-14 Thread Yajun Liu (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1328?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613436#action_12613436 ] Yajun Liu commented on LUCENE-1328: --- Ok, after adding lots of logging, I finally found t

Re: [jira] Commented: (LUCENE-1203) [PATCH] Allow setting IndexReader to IndexSearcher

2008-07-14 Thread Mark Miller
The reason you are told to use a single Searcher is because you should really be saving and reusing the IndexReader that the IndexSearcher holds. If you choose to save and resuse the IndexReader instead of the IndexSearcher, please disregard that advice. An IndexSearcher is but a thin wrapper a

RE: maven snapshot repository

2008-07-14 Thread Steven A Rowe
Looking into this further, I can see that the nightly jars are being produced properly - for example, lucene-core is labeled 2.4-SNAPSHOT, and the files are dated today: But the path in the above URL

Re: Query to match sub phrases

2008-07-14 Thread Preetam Rao
Thanks for the response. My apologies for mis-using this list. Will look into it and if I have further comments will continue it in the lucene-user list :-) On Mon, Jul 14, 2008 at 9:42 PM, Steven A Rowe <[EMAIL PROTECTED]> wrote: > Hi Preetam, > > Questions like yours are better served in the

RE: Query to match sub phrases

2008-07-14 Thread Steven A Rowe
Hi Preetam, Questions like yours are better served in the java-user mailing list, which is devoted to Q&A about *using* Lucene, rather than here in the java-dev list, which is reserved for discussions concerning Lucene's *development*. In the contrib/ area on the trunk (not yet part of any rele

Re: Token implementation

2008-07-14 Thread DM Smith
Hiroaki Kawai wrote: DM Smith <[EMAIL PROTECTED]> wrote: On Jul 11, 2008, at 9:42 PM, Hiroaki Kawai wrote: Another suggestion from me: How about making token object as an singleton? Would that work for a multi-threaded application? Of cource. We should make that thread l

[jira] Commented: (LUCENE-1203) [PATCH] Allow setting IndexReader to IndexSearcher

2008-07-14 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613341#action_12613341 ] Yonik Seeley commented on LUCENE-1203: -- .bq If this is true, how would I set the refr

[jira] Commented: (LUCENE-1203) [PATCH] Allow setting IndexReader to IndexSearcher

2008-07-14 Thread JIRA
[ https://issues.apache.org/jira/browse/LUCENE-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613338#action_12613338 ] Mindaugas Žakšauskas commented on LUCENE-1203: -- Correct me if I'm wrong, but

[jira] Commented: (LUCENE-1203) [PATCH] Allow setting IndexReader to IndexSearcher

2008-07-14 Thread Yonik Seeley (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613332#action_12613332 ] Yonik Seeley commented on LUCENE-1203: -- bq. would it not make sense to add refresh()

[jira] Commented: (LUCENE-1203) [PATCH] Allow setting IndexReader to IndexSearcher

2008-07-14 Thread JIRA
[ https://issues.apache.org/jira/browse/LUCENE-1203?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613329#action_12613329 ] Mindaugas Žakšauskas commented on LUCENE-1203: -- I know I'm posting this after

Re: ThreadLocal in SegmentReader

2008-07-14 Thread robert engels
That is correct. ANY library that uses thread locals is going to have the same issue, and in many cases the containers themselves use static thread locals. This is just another reason why (I think) a better solution when using Lucene as a service is to run it in its own process, and commu

SubPhraseQuery in Lucene

2008-07-14 Thread Preetam Rao
Hi, Is there a query in Lucene which matches sub phrases ? For example if the document text is "new york existing homes *3 bed 2 bath*homes 3 miles from city center 2 rooms" and if user enters "Brooklyn homes with *3 bed *rooms and swimming pools", I would like to recognize the fact the the doc

Re: ThreadLocal in SegmentReader

2008-07-14 Thread Roman Puchkovskiy
1. It is not obligatory for servlet container to deploy applications from the same thread. It easily can happen, that first instance of webapp is loaded by the main thread at container start-up, then repedloy happens because a hot deployer discovers that WAR has changed (and this hot deployer easi

Query to match sub phrases

2008-07-14 Thread Preetam Rao
Hi, Is there a query in Lucene which matches sub phrases ? For example if the document text is "new york existing homes *3 bed 2 bath*homes 3 miles from city center 2 rooms" and if user enters "Brooklyn homes with *3 bed *rooms and swimming pools", I would like to recognize the fact the the doc

Re: ThreadLocal in SegmentReader

2008-07-14 Thread robert engels
If you attempting to restart the web app context, then when restarted the Thread will still be the same and as it runs, new ThreadLocals will be created which will cause the old to be removed, eventually allowing the class loader to be unloaded. On Jul 14, 2008, at 12:31 AM, Roman Puchkovsk

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

2008-07-14 Thread David Sitsky (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613285#action_12613285 ] David Sitsky commented on LUCENE-1282: -- Re: [jira] Commented: (LUCENE-1282) Sun hotsp

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

2008-07-14 Thread Michael McCandless (JIRA)
[ https://issues.apache.org/jira/browse/LUCENE-1282?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12613282#action_12613282 ] Michael McCandless commented on LUCENE-1282: bq. Can anyone comment as to whet

Re: Ocean Documentation

2008-07-14 Thread Karl Wettin
11 jul 2008 kl. 14.29 skrev Jason Rutherglen: Karl, does this answer your question or are there areas that could use more explanation? That's good stuff, you should add it to the docs. karl - To unsubscribe, e-mai