cloning a NumericTermAttributeImpl

2015-01-08 Thread Shaun Senecal
It appears that NumericTermAttributeImpl doesn't support cloning. Is this simply an oversight, or is there a reason why this isnt possible? I'm trying to clone a State containing a NumericTermAttribute, and I end up with all of the BytesRefs being equal to the last instance, since the

Re: manually merging Directories

2014-12-30 Thread Shaun Senecal
...@thetaphi.de -Original Message- From: Shaun Senecal [mailto:shaun.sene...@lithium.com] Sent: Tuesday, December 30, 2014 12:37 AM To: Lucene Users Subject: Re: manually merging Directories Hi Mike That's actually what I was looking at doing, I was just hoping there was a way

Re: manually merging Directories

2014-12-30 Thread Shaun Senecal
on windows). On Tue, Dec 30, 2014 at 12:24 PM, Shaun Senecal shaun.sene...@lithium.com wrote: Ya, I already have that set up. Thanks for the heads-up though! From: Uwe Schindler u...@thetaphi.de Sent: December 30, 2014 5:22 AM To: java-user

Re: manually merging Directories

2014-12-30 Thread Shaun Senecal
as an optimization. If they aren't supported, we can just fall back to copying. Sorry it will not help your case, but it would improve the situation and can be done safely. On Tue, Dec 30, 2014 at 12:55 PM, Shaun Senecal shaun.sene...@lithium.com wrote: Excellent, this is pretty much exactly

Re: manually merging Directories

2014-12-29 Thread Shaun Senecal
Schindler H.-H.-Meier-Allee 63, D-28213 Bremen http://www.thetaphi.de eMail: u...@thetaphi.de -Original Message- From: Shaun Senecal [mailto:shaun.sene...@lithium.com] Sent: Monday, December 29, 2014 6:34 PM To: java-user Subject: Re: manually merging Directories I'm not worried about

Re: manually merging Directories

2014-12-29 Thread Shaun Senecal
...@thetaphi.de -Original Message- From: Shaun Senecal [mailto:shaun.sene...@lithium.com] Sent: Monday, December 29, 2014 6:34 PM To: java-user Subject: Re: manually merging Directories I'm not worried about the I/O right now, I'm hoping I can do better, that's all. It sounds like

manually merging Directories

2014-12-23 Thread Shaun Senecal
Hi I have a number of Directories which are stored in various paths on HDFS, and I would like to merge them into a single index. The obvious way to do this is to use IndexWriter.addIndexes(...), however, I'm hoping I can do better. Since I have created each of the separate indexes using

Re: About loading lazily

2010-05-27 Thread Shaun Senecal
. -Grant On May 24, 2010, at 12:15 AM, Shaun Senecal wrote: When a field is lazy loaded, the actual value is not retrieved from the server until it is rendered by the UI.  This is the same behaviour as the LiveView that ExtGWT currently supports.  The difference is that once a value has been

Re: About loading lazily

2010-05-23 Thread Shaun Senecal
When a field is lazy loaded, the actual value is not retrieved from the server until it is rendered by the UI. This is the same behaviour as the LiveView that ExtGWT currently supports. The difference is that once a value has been retrieved once, LazyLoad will not fetch that value from the

Re: merge results from physically separate hosts

2010-05-10 Thread Shaun Senecal
wrote: Solr's distributed search feature is about querying multiple indexes and merging the results. Different indexes, but same schema.        Erik On Apr 25, 2010, at 6:02 AM, Shaun Senecal wrote: Is there currently a way to take a query, run it on multiple hosts containing different indexes

rewrite()ing BooleanQuery results in empty clauses

2009-11-04 Thread Shaun Senecal
I am rewriting some BooleanQueries and the end result contains some empty queries. The initial query is of the form: Field1:foo* Field2:foo* Field3:foo* Field4:foo* Field5:foo* Field6:foo* The rewritten query is of the form: ConstantScore(Field1:foo*) ConstantScore(Field2:foo*)

Re: PrefixQueries on large indexes (4M+ Documents) using a partial Query partial Filter solution

2009-10-16 Thread Shaun Senecal
Thanks Mike. The queries are now running faster than they ever were before, and are returning the expected results! On Fri, Oct 16, 2009 at 7:39 AM, Shaun Senecal ssenecal.w...@gmail.comwrote: Ah! I thought that the ConstantScoreQuery would also be rewritten into a BooleanQuery, resulting

PrefixQueries on large indexes (4M+ Documents) using a partial Query partial Filter solution

2009-10-15 Thread Shaun Senecal
I know this has been discussed to great length, but I still have not found a satisfactory solution and I am hoping someone on the list has some ideas... We have a large index (4M+ Documents) with a handful of Fields. We need to perform PrefixQueries on multiple fields. The problem is that when

Re: PrefixQueries on large indexes (4M+ Documents) using a partial Query partial Filter solution

2009-10-15 Thread Shaun Senecal
at 5:14 PM, Shaun Senecal ssenecal.w...@gmail.comwrote: I know this has been discussed to great length, but I still have not found a satisfactory solution and I am hoping someone on the list has some ideas... We have a large index (4M+ Documents) with a handful of Fields. We need to perform

Re: PrefixQueries on large indexes (4M+ Documents) using a partial Query partial Filter solution

2009-10-15 Thread Shaun Senecal
at 6:52 PM, Michael McCandless luc...@mikemccandless.com wrote: On Thu, Oct 15, 2009 at 4:57 AM, Shaun Senecal ssenecal.w...@gmail.com wrote: Up to Lucene 2.4, this has been working out for us. However, in Lucene 2.9 this breaks since rewrite() now returns a ConstantScoreQuery. You can

Re: PrefixQueries on large indexes (4M+ Documents) using a partial Query partial Filter solution

2009-10-15 Thread Shaun Senecal
...@mikemccandless.com wrote: You should be able to do exactly what you were doing on 2.4, right? (By setting the rewrite method). Mike On Thu, Oct 15, 2009 at 8:30 AM, Shaun Senecal ssenecal.w...@gmail.com wrote: Thanks for the explanation Mike. It looks like I have no choice but to move any

Re: PrefixQueries on large indexes (4M+ Documents) using a partial Query partial Filter solution

2009-10-15 Thread Shaun Senecal
...@mikemccandless.com wrote: Well, you could wrap the C | D filter as a Query (using ConstantScoreQuery), and then add that as a SHOULD clause on your toplevel BooleanQuery? Mike On Thu, Oct 15, 2009 at 5:42 PM, Shaun Senecal ssenecal.w...@gmail.com wrote: At first I thought so, yes, but then I