Re: "Deleting" documents without deleting them

2010-03-16 Thread TCK
Wouldn't these excluded/filtered documents skew the scores even though they are supposed to be marked as deleted? Don't the idf values used in scoring depend on the entire document set and not just the matching hits for a query? Thanks, TCK On Tue, Mar 16, 2010 at 5:45 AM, Rene Ha

Re: Hopfully simple question constructing BooleanQuery

2009-12-14 Thread TCK
nQuery(); bq.add(bq1, BooleanClause.Occur.MUST); if(subjectId.length()>0) bq.add(new PrefixQuery(new Term("subject_id",subjectId)), BooleanClause.Occur.MUST); I think bq should now be your desired query. -TCK On Mon, Dec 14, 2009 at 11:50 PM, Jacob Rhoden wrote: > Assume I have the following r

Re: heap memory issues when sorting by a string field

2009-12-09 Thread TCK
ry. Apologies if this is a naive question... I'm a newbie to the lucene code and can't wait for the new lucene book to come out:-) -TCK On Tue, Dec 8, 2009 at 5:43 AM, Michael McCandless < luc...@mikemccandless.com> wrote: > I've opened LUCENE-2135. > > Mike

Re: heap memory issues when sorting by a string field

2009-12-07 Thread TCK
Btw, is searching with a sort by a text field not a common use-case of lucene? I've been testing with only 1Gb indexes and I'm pretty sure there are much larger indexes out there. Cheers, TCK On Mon, Dec 7, 2009 at 7:57 PM, Tom Hill wrote: > Hey, that's a nice little Class!

Re: heap memory issues when sorting by a string field

2009-12-07 Thread TCK
with an actual size-bounded cache with some eviction policy (perhaps EhCache or something) ? Thanks again, TCK On Mon, Dec 7, 2009 at 4:37 PM, Erick Erickson wrote: > What this sounds like is that you're not really closing your > readers even though you think you are. Sorting indeed us

heap memory issues when sorting by a string field

2009-12-07 Thread TCK
offer any advice. Thanks a lot, TCK