Please see in a new thread - Boosting query - debuging
Thanks!
2009/5/2 Chris Hostetter
>
> : Sorry, you can see the script below:
>
> uh ... ok. so now you've posted a bunch of your code, but you still
> haven't addresed the root of what Erick and I were both getting at...
>
> : > Erick means
: Sorry, you can see the script below:
uh ... ok. so now you've posted a bunch of your code, but you still
haven't addresed the root of what Erick and I were both getting at...
: > Erick means we need to see *all* of your code (inlcuding how you get the
: > score and the Explanation you are pr
Sorry, you can see the script below:
Thanks
// Index Method
**/
public void index(DoubleMap doubleMap, String dirPath, String originalPath)
throws IOException
{
File f = new File(dirPath);
IndexWriter writer = null;
if(f.exists(
Erick means we need to see *all* of your code (inlcuding how you get the
score and the Explanation you are printing) to understand why they don't
match.
All you've shown is the output of your program and the generation of a
Hits object.
-Hoss
--
Hi,
You can see the output below:
1.0 * (this is the score)
4817674 5664274 6361333 (query)
4817674 5664274 6361333 (doc 0)
0.0 = (NON-MATCH) product of:
0.0 = (NON-MATCH) sum of:
0.0 = coord(0/3)
0.13811989 *
4817674
Well, let's see the results of toString and/or Explain *from your code*.
Otherwise, you haven't given us much to go on.
Best
Erick
On Fri, Apr 17, 2009 at 1:07 AM, liat oren wrote:
> Thanks for the answer.
>
> In Luke, I used the WhiteSpaceAnalyzer as well. The scores AND the explain
> method w
Thanks for the answer.
In Luke, I used the WhiteSpaceAnalyzer as well. The scores AND the explain
method worked perfectly.
In my application, I checked for the query - it contains the numbers
splitted in different term queries so it prepares it well. Also the scoring
is good. However the explain
Hmmm, try query.toString() and/or query.explain().
Also, try using Luke to see what is actually in the document.
BTW, what analyzer did you use in Luke? Luke also has an
explain (tab?) that will show you what Luke does, which may
be useful.
The default operator should be "OR", but looking at the
I wanted to add also that I index it tokenized and that when I use Luke to
do this search, it gives the correct results.
Should I run the query differntly than the way I do?
2009/4/16 liat oren
> Hi,
>
> I try to understand why the following query gives the scoring below:
>
> document 1 : a b
Hi,
I try to understand why the following query gives the scoring below:
document 1 : a b c document 2 : g k a h u c
0.0 = (NON-MATCH) product of:
0.0 = (NON-MATCH) sum of:
0.0 = coord(0/3)
0.06155877
The query code is:
IndexSearcher searcher = new IndexSearcher(path);
Analyzer analy
Vincent Le Maout wrote:
I am missing something ? Is it intented or is it a bug ?
Looks like a bug. Can you please submit a bug report, and, ideally,
attach a patch?
Thanks,
Doug
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
Vincent Le Maout wrote:
I am missing something ? Is it intented or is it a bug ?
Looks like a bug. Can you submit a patch?
Doug
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
: *public* SpanWeight(SpanQuery query, Searcher searcher)
: *throws* IOException {
: *this*.similarity = query.getSimilarity(searcher);
: *this*.query = query;
: *this*.terms = query.getTerms();
:
: idf = *this*.query.getSimilarity(searcher).idf(terms, searcher);
: }
:
: lack
Hi everybody,
it's been a while since I try to figure out the difference between the
scoring of span and boolean
queries with little success. All stems from the observation that the
boost of SpanTermQuery as
leaves of the query tree does not seem to have much influence on the
resulting scores o
Thank you Chris. That seems like a good suggestion. I will try to pass a
different Query object to the Highlighter api that the one used for
searching.
I plan to break down the HTML document and store the title/sub
title/content in different fields of the index. So if I create a new
query com
: My requirement is to show the relevant fragments of the news article for
: each company along with the search results. But the highlighter api
: sometimes picks up the fragments which are not so relevant to the news
: article/company. I would like to know if there is anyway that I can
: modify t
;cost saving" Content:"cost savings" Content:outsource
Content:outsources Content:downsize Content:downsizes
Content:restructuring Content:restructure)
I do not quite understand how the query scoring actually works &
how Inverse Document Frequency(IDF) calculations are useful? Can
som
yId:30 CompanyId:40)
+FilingDate:[20041201 TO 20051201]
+(Content:"cost saving" Content:"cost savings" Content:outsource
Content:outsources Content:downsize Content:downsizes
Content:restructuring Content:restructure)
I do not quite understand how the query scoring actually work
urce
Content:outsources Content:downsize Content:downsizes
Content:restructuring Content:restructure)
I do not quite understand how the query scoring actually works &
how Inverse Document Frequency(IDF) calculations are useful? Can
someone shed some light on this using th
e understand how the query scoring actually works & how
Inverse Document Frequency(IDF) calculations are useful? Can
someone shed some light on this using the given query as an example?
Thanks,
Harini
-
To unsubscribe, e-mai
20 matches
Mail list logo