Re: Some Problem with Lucene in Java

2011-02-03 Thread Felipe Lobo
ecified field, > and i just need the context of each keyword (i.e. some specified part of the > contents in the specified field). > > > Are there any ways to do so??? > > > Thx. > > > Cescy -- Felipe Lobo www.jusbrasil.com.br

Re: Parse multiple fields using Queryparser

2010-10-18 Thread Felipe Lobo
parser = new QueryParser(Version.LUCENE_29, "Field2",new > StandardAnalyzer(Version.LUCENE_29)); > > Should I create multiple parsers in this case or is there any other way > round? > -- Felipe Lobo www.jusbrasil.com.br

Re: Boost and ordering based on most recently updated

2010-08-05 Thread Felipe Lobo
t; at the top of the search results. This would happen after the Boost is > > applied. > > > > Anyone know how to do this? > > > > Thanks, > > -bp > > > > > > > > ----- > > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > > For additional commands, e-mail: java-user-h...@lucene.apache.org > > > > > -- Felipe Lobo www.jusbrasil.com.br

Problems with fragments size on highlight.

2009-11-14 Thread Felipe Lobo
t;..." } catch (Exception ex){ logger.error(ex.toString()); } i'm using brazilian analyser with lucene core 2.9.1 and highlighter and memory 2.9.0 . thanks. -- Felipe Lobo www.jusbrasil.com.br

Re: Maximum index file size

2009-10-23 Thread Felipe Lobo
m I/O to CPU/RAM. > > > ----- > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > -- Felipe Lobo www.jusbrasil.com.br

Reducing memory use!

2009-10-07 Thread Felipe Lobo
do i do that? Thanks, -- Felipe Lobo www.jusbrasil.com.br

Duplicate documents

2009-10-04 Thread Felipe Lobo
as id 35[OK] and the other has 350[?]). I'm using ParallelMultiSearcher, because my app runs in a server where the index is distributed(big index), but this duplication happens when i'm running local on my machine without distributed index! thanks, -- Felipe Lobo www.jusbrasil.com.br

Re: lucene 2.4.1 : document in index but not returned in search

2009-10-02 Thread Felipe Lobo
ys. > Correct me if I'm wrong :) > -- > Anshum Gupta > Naukri Labs! > http://ai-cafe.blogspot.com > > The facts expressed here belong to everybody, the opinions to me. The > distinction is yours to draw.... > > > On Fri, Oct 2, 2009 at 11:05 PM, Felipe Lobo wr

Re: lucene 2.4.1 : document in index but not returned in search

2009-10-02 Thread Felipe Lobo
keyQuery.add(bQuery, > BooleanClause.Occur.SHOULD); >} >} > > > CachingWrapperFilter cf; > Searcher searcher; > HitCollector collector; > . some assignments... > searcher.search(keyQuery, cf, collector); > > > Thanks & Regards, > Priya > PT-7A-012 > Residency Road > Bangalore > India > Mob: 99011 22033 > > > - > To unsubscribe, e-mail: java-user-unsubscr...@lucene.apache.org > For additional commands, e-mail: java-user-h...@lucene.apache.org > > -- Felipe Lobo www.jusbrasil.com.br

Re: Implement SpanScorer on 2.9 lucene lib!

2009-10-01 Thread Felipe Lobo
n Thu, Oct 1, 2009 at 10:44 AM, Mark Miller wrote: > Felipe Lobo wrote: > > Hi, thanks for the answer but it didn't work. > > I stopped rewriting the query and used the queryscorer but it don't > > highlight. > > The part of the query i'm doing wildcard is

Re: Implement SpanScorer on 2.9 lucene lib!

2009-10-01 Thread Felipe Lobo
ot;Habeas Corpus HC 100930027253 ES 100930027253" And of what lib is TermQueryScorer? I check out on lucene javadoc and didn't see. Thanks! On Wed, Sep 30, 2009 at 6:38 PM, Mark Miller wrote: > Felipe Lobo wrote: > > Hi, i updated my lucene lib to 2.9.0 and i'm tryi

Implement SpanScorer on 2.9 lucene lib!

2009-09-30 Thread Felipe Lobo
es is the best way of implementing spanscorer?? I was using queryscorer but after update to the new lib the highlither stopped hightlithing my wildcard queries, and i'm rewriting. Thanks, -- Felipe Lobo www.jusbrasil.com.br