Re: get wordno, lineno, pageno for term/phrase

2010-08-06 Thread arun r
I am trying to create a custom analyzer that will check for pagebreak and linebreak and add the payload data for each term. In the custom filter I have this code: public boolean incrementToken() throws IOException { if(input.incrementToken()) {

Fwd: Please Forward - Apache Retreat in Hursley, UK - 17-19th September

2010-08-06 Thread Grant Ingersoll
FYI Begin forwarded message: > From: "Mattmann, Chris A (388J)" > Date: August 5, 2010 5:24:00 PM EDT > To: "d...@tika.apache.org" > Subject: FW: Please Forward - Apache Retreat in Hursley, UK - 17-19th > September > Reply-To: d...@tika.apache.org > > > === > From: Nick Burch > To: retr

AUTO: Michael Rosenauer ist außer Haus (Rückkehr am 23.08.2010)

2010-08-06 Thread michael . rosenauer
Ich bin bis 23.08.2010 abwesend Vielen Dank für Ihre E-Mail. Ich bin zur Zeit nicht im Haus. Sie können mich ab dem 23.08.2010 wieder erreichen. Thank you for your e-mail. At the moment I am not in my office. From 08-23-2010 you will be able to contact me again. Bitte wenden Sie sich an mein

Re: Constant score queries

2010-08-06 Thread Michael McCandless
I believe the top scores will be unchanged. Even if they were changed, they'd all be changed by a constant factor, and would not alter the order of your hits even if you sort by score. Mike 2010/8/6 Šplíchal Jiří : > Hello, > > just one more question in order to understand how the score is compu

RE: Constant score queries

2010-08-06 Thread Šplíchal Jiří
Hello, just one more question in order to understand how the score is computed: Boost factor of queries is applied only for sub-queries? So if I change the boost factor of any TopLevel query, the score will remain unchanged? Jiri -Original Message- From: Šplíchal Jiří [mailto:splic...@t

RE: Constant score queries

2010-08-06 Thread Šplíchal Jiří
I see, thank you! This explains a lot. Jiri -Original Message- From: Michael McCandless [mailto:luc...@mikemccandless.com] Sent: Friday, August 06, 2010 12:47 PM To: java-user@lucene.apache.org Subject: Re: Constant score queries The score will be 1.0 even if the boost isn't, when you u

Re: Constant score queries

2010-08-06 Thread Michael McCandless
The score will be 1.0 even if the boost isn't, when you use ConstantScore*Query as the sole top-level query. The boost only impacts how much weight is associated with this query's matches when it's a sub-query mixed in with other sub-queries. EG if you make a BooleanQuery, and add ConstantScoreQu

Constant score queries

2010-08-06 Thread Šplíchal Jiří
Hello, I am working with ConstantScoreQuery and ConstantScoreRangeQuery. Both shoud according to the description return the value of their boost as score for all matching documents. However I always get the score 1.0 and also in the TestConstantScoreRangeQuery. testBoost() method, the boos