Re: Negative Boost

2004-08-05 Thread Morus Walter
Daniel Naber writes:
 On Wednesday 04 August 2004 13:19, Terry Steichen wrote:
 
  I can't get negative boosts to work with QueryParser.  Is it possible to do
  so?
 
 Isn't that the same as using a boost  1, e.g. 0.1? That should be possible.
 
no.
a^-1 OR b
A boost of -1 means that the score gets smaller if a document contains a 
with that boost appears. So it's somehow similar to NOT a, though less strict.
A boost of 0.1 means that the score is increased less for an occurance of a.

Usually one just want's the latter, but it's not the same.

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Performance when computing computing a filter using hundreds of diff terms.

2004-08-05 Thread Kevin A. Burton
I'm trying to compute a filter to match documents in our index by a set 
of terms.

For example some documents have a given field 'category' so I need to 
compute a filter with mulitple categories.

The problem is that our category list is  200 items so it takes about 
80 seconds to compute.  We cache it of course but this seems WAY too slow.

Is there anything I could do to speed it up?  Maybe run the queries 
myself and then combine the bitsets?

We're using a BooleanQuery with nested TermQueries to build up the 
filter...

Kevin
--
Please reply using PGP.
   http://peerfear.org/pubkey.asc
   
   NewsMonster - http://www.newsmonster.org/
   
Kevin A. Burton, Location - San Francisco, CA, Cell - 415.595.9965
  AIM/YIM - sfburtonator,  Web - http://peerfear.org/
GPG fingerprint: 5FB2 F3E2 760E 70A8 6174 D393 E84D 8D04 99F1 4412
 IRC - freenode.net #infoanarchy | #p2p-hackers | #newsmonster

-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


parce Query

2004-08-05 Thread Ernesto De Santis
Hello

What is the best practice to parce a Query object.?

QueryParcer only work with String, but if I have a Query?

I want that anothers applications build yours lucene Query´s, and I want
parse this when this applications do search with my server application. In
my server application I store the configuration, languages, analyzers,
IndexSearchers, how are indexed each field (Keyword or not), etc.

then, I need parce Query to Query with the appropriate analyzer over
appropriate terms (fields).

Thanks for your attention.
Ernesto.


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.732 / Virus Database: 486 - Release Date: 29/07/2004


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]