Is the attribute look for doc=? which gives the lucene doc id. If so, I am
not getting the different value for each searcg hit. I got doc=0 for two
results given below
sum of:
max of:0.009801095 = max of:
0.009801095 = product of:
0.18622081 = sum of:
0.093110405 = weight(hmn.asset.properties.activitypurpose.purpose:keys in
0) [PerFieldSimilarity], result of:
0.093110405 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.12642667 = queryWeight, product of:
2.9459102 = idf(docFreq=1, maxDocs=14)
0.042915992 = queryNorm
0.73647755 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.9459102 = idf(docFreq=1, maxDocs=14)
0.25 = fieldNorm(doc=0)
0.093110405 = weight(hmn.asset.properties.activitypurpose.purpose:keys in
0) [PerFieldSimilarity], result of:
0.093110405 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.12642667 = queryWeight, product of:
2.9459102 = idf(docFreq=1, maxDocs=14)
0.042915992 = queryNorm
0.73647755 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.9459102 = idf(docFreq=1, maxDocs=14)
0.25 = fieldNorm(doc=0)
0.05263158 = coord(2/38)
0.003644393 = product of:
0.06924347 = sum of:
0.034621734 = weight(hmn.asset.description:keys in 0) [PerFieldSimilarity],
result of:
0.034621734 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.109025724 = queryWeight, product of:
2.540445 = idf(docFreq=2, maxDocs=14)
0.042915992 = queryNorm
0.31755564 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.540445 = idf(docFreq=2, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.034621734 = weight(hmn.asset.description:keys in 0) [PerFieldSimilarity],
result of:
0.034621734 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.109025724 = queryWeight, product of:
2.540445 = idf(docFreq=2, maxDocs=14)
0.042915992 = queryNorm
0.31755564 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.540445 = idf(docFreq=2, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.05263158 = coord(2/38)
0.0049005477 = product of:
0.093110405 = sum of:
0.046555202 =
weight(hmn.asset.properties.activitypurpose.perspectives.successcriterias.succescriteria:keys
in 0) [PerFieldSimilarity], result of:
0.046555202 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.12642667 = queryWeight, product of:
2.9459102 = idf(docFreq=1, maxDocs=14)
0.042915992 = queryNorm
0.36823878 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.9459102 = idf(docFreq=1, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.046555202 =
weight(hmn.asset.properties.activitypurpose.perspectives.successcriterias.succescriteria:keys
in 0) [PerFieldSimilarity], result of:
0.046555202 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.12642667 = queryWeight, product of:
2.9459102 = idf(docFreq=1, maxDocs=14)
0.042915992 = queryNorm
0.36823878 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.9459102 = idf(docFreq=1, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.05263158 = coord(2/38)
0.003644393 = product of:
0.06924347 = sum of:
0.034621734 = weight(hmn.asset.description:keys in 0) [PerFieldSimilarity],
result of:
0.034621734 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.109025724 = queryWeight, product of:
2.540445 = idf(docFreq=2, maxDocs=14)
0.042915992 = queryNorm
0.31755564 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.540445 = idf(docFreq=2, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.034621734 = weight(hmn.asset.description:keys in 0) [PerFieldSimilarity],
result of:
0.034621734 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.109025724 = queryWeight, product of:
2.540445 = idf(docFreq=2, maxDocs=14)
0.042915992 = queryNorm
0.31755564 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.540445 = idf(docFreq=2, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.05263158 = coord(2/38)
0.009801095 = product of:
0.18622081 = sum of:
0.093110405 = weight(hmn.asset.properties.activitypurpose.purpose:keys in
0) [PerFieldSimilarity], result of:
0.093110405 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.12642667 = queryWeight, product of:
2.9459102 = idf(docFreq=1, maxDocs=14)
0.042915992 = queryNorm
0.73647755 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.9459102 = idf(docFreq=1, maxDocs=14)
0.25 = fieldNorm(doc=0)
0.093110405 = weight(hmn.asset.properties.activitypurpose.purpose:keys in
0) [PerFieldSimilarity], result of:
0.093110405 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.12642667 = queryWeight, product of:
2.9459102 = idf(docFreq=1, maxDocs=14)
0.042915992 = queryNorm
0.73647755 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.9459102 = idf(docFreq=1, maxDocs=14)
0.25 = fieldNorm(doc=0)
0.05263158 = coord(2/38)
0.0049005477 = product of:
0.093110405 = sum of:
0.046555202 =
weight(hmn.asset.properties.activitypurpose.perspectives.successcriterias.succescriteria:keys
in 0) [PerFieldSimilarity], result of:
0.046555202 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.12642667 = queryWeight, product of:
2.9459102 = idf(docFreq=1, maxDocs=14)
0.042915992 = queryNorm
0.36823878 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.9459102 = idf(docFreq=1, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.046555202 =
weight(hmn.asset.properties.activitypurpose.perspectives.successcriterias.succescriteria:keys
in 0) [PerFieldSimilarity], result of:
0.046555202 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.12642667 = queryWeight, product of:
2.9459102 = idf(docFreq=1, maxDocs=14)
0.042915992 = queryNorm
0.36823878 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.9459102 = idf(docFreq=1, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.05263158 = coord(2/38)
0.0049005477 = product of:
0.093110405 = sum of:
0.046555202 =
weight(hmn.asset.properties.activitypurpose.perspectives.successcriterias.objectives:keys
in 0) [PerFieldSimilarity], result of:
0.046555202 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.12642667 = queryWeight, product of:
2.9459102 = idf(docFreq=1, maxDocs=14)
0.042915992 = queryNorm
0.36823878 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.9459102 = idf(docFreq=1, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.046555202 =
weight(hmn.asset.properties.activitypurpose.perspectives.successcriterias.objectives:keys
in 0) [PerFieldSimilarity], result of:
0.046555202 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.12642667 = queryWeight, product of:
2.9459102 = idf(docFreq=1, maxDocs=14)
0.042915992 = queryNorm
0.36823878 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.9459102 = idf(docFreq=1, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.05263158 = coord(2/38)
0.0049005477 = product of:
0.093110405 = sum of:
0.046555202 =
weight(hmn.asset.properties.activitypurpose.perspectives.successcriterias.objectives:keys
in 0) [PerFieldSimilarity], result of:
0.046555202 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.12642667 = queryWeight, product of:
2.9459102 = idf(docFreq=1, maxDocs=14)
0.042915992 = queryNorm
0.36823878 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.9459102 = idf(docFreq=1, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.046555202 =
weight(hmn.asset.properties.activitypurpose.perspectives.successcriterias.objectives:keys
in 0) [PerFieldSimilarity], result of:
0.046555202 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.12642667 = queryWeight, product of:
2.9459102 = idf(docFreq=1, maxDocs=14)
0.042915992 = queryNorm
0.36823878 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.9459102 = idf(docFreq=1, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.05263158 = coord(2/38)
max of:0.07322562 = max of:
0.07322562 = product of:
0.14645123 = sum of:
0.14645123 = weight(metadata.account:5 in 0) [PerFieldSimilarity], result
of:
0.14645123 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.079278626 = queryWeight, product of:
1.8472979 = idf(docFreq=5, maxDocs=14)
0.042915992 = queryNorm
1.8472979 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
1.8472979 = idf(docFreq=5, maxDocs=14)
1.0 = fieldNorm(doc=0)
0.5 = coord(1/2)
0.07322562 = product of:
0.14645123 = sum of:
0.14645123 = weight(metadata.account:5 in 0) [PerFieldSimilarity], result
of:
0.14645123 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.079278626 = queryWeight, product of:
1.8472979 = idf(docFreq=5, maxDocs=14)
0.042915992 = queryNorm
1.8472979 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
1.8472979 = idf(docFreq=5, maxDocs=14)
1.0 = fieldNorm(doc=0)
0.5 = coord(1/2)
max of:0.14645123 = max of:
0.14645123 = weight(assettype:processasset in 0) [PerFieldSimilarity],
result of:
0.14645123 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.079278626 = queryWeight, product of:
1.8472979 = idf(docFreq=5, maxDocs=14)
0.042915992 = queryNorm
1.8472979 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
1.8472979 = idf(docFreq=5, maxDocs=14)
1.0 = fieldNorm(doc=0)
------Record No end : 0
------Record No start : 1
sum of:
max of:0.003644393 = max of:
0.003644393 = product of:
0.06924347 = sum of:
0.034621734 = weight(hmn.asset.description:keys in 0) [PerFieldSimilarity],
result of:
0.034621734 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.109025724 = queryWeight, product of:
2.540445 = idf(docFreq=2, maxDocs=14)
0.042915992 = queryNorm
0.31755564 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.540445 = idf(docFreq=2, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.034621734 = weight(hmn.asset.description:keys in 0) [PerFieldSimilarity],
result of:
0.034621734 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.109025724 = queryWeight, product of:
2.540445 = idf(docFreq=2, maxDocs=14)
0.042915992 = queryNorm
0.31755564 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.540445 = idf(docFreq=2, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.05263158 = coord(2/38)
0.003644393 = product of:
0.06924347 = sum of:
0.034621734 = weight(hmn.asset.description:keys in 0) [PerFieldSimilarity],
result of:
0.034621734 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.109025724 = queryWeight, product of:
2.540445 = idf(docFreq=2, maxDocs=14)
0.042915992 = queryNorm
0.31755564 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.540445 = idf(docFreq=2, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.034621734 = weight(hmn.asset.description:keys in 0) [PerFieldSimilarity],
result of:
0.034621734 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.109025724 = queryWeight, product of:
2.540445 = idf(docFreq=2, maxDocs=14)
0.042915992 = queryNorm
0.31755564 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
2.540445 = idf(docFreq=2, maxDocs=14)
0.125 = fieldNorm(doc=0)
0.05263158 = coord(2/38)
max of:0.07322562 = max of:
0.07322562 = product of:
0.14645123 = sum of:
0.14645123 = weight(metadata.account:5 in 0) [PerFieldSimilarity], result
of:
0.14645123 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.079278626 = queryWeight, product of:
1.8472979 = idf(docFreq=5, maxDocs=14)
0.042915992 = queryNorm
1.8472979 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
1.8472979 = idf(docFreq=5, maxDocs=14)
1.0 = fieldNorm(doc=0)
0.5 = coord(1/2)
0.07322562 = product of:
0.14645123 = sum of:
0.14645123 = weight(metadata.account:5 in 0) [PerFieldSimilarity], result
of:
0.14645123 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.079278626 = queryWeight, product of:
1.8472979 = idf(docFreq=5, maxDocs=14)
0.042915992 = queryNorm
1.8472979 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
1.8472979 = idf(docFreq=5, maxDocs=14)
1.0 = fieldNorm(doc=0)
0.5 = coord(1/2)
max of:0.14645123 = max of:
0.14645123 = weight(assettype:processasset in 0) [PerFieldSimilarity],
result of:
0.14645123 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.079278626 = queryWeight, product of:
1.8472979 = idf(docFreq=5, maxDocs=14)
0.042915992 = queryNorm
1.8472979 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
1.8472979 = idf(docFreq=5, maxDocs=14)
1.0 = fieldNorm(doc=0)
On Wednesday, October 30, 2013 3:53:20 AM UTC+5:30, Ivan Brusic wrote:
Each search hit should have its own explanation with a different doc id.
Note that the doc id will be the Lucene id and not the id provided as the
uid to elasticsearch.
Ivan
On Tue, Oct 29, 2013 at 4:11 AM, Chetana <ambha....@gmail.com<javascript:>
wrote:
I tried to analyze the explanation but could not figure out which one to
consider as document id as I am getting multiple SearchHits having same
doc=0. Please tell me which line to consider for getting the document id?
Here is the sample explanation from ES 0.90.2
Sum of:
max of:0.00385398 = max of:
0.00385398 = product of:
0.14645123 = sum of:
0.14645123 = weight(metadata.account:5 in 0) [PerFieldSimilarity], result
of:
0.14645123 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.079278626 = queryWeight, product of:
1.8472979 = idf(docFreq=5, maxDocs=14)
0.042915992 = queryNorm
1.8472979 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
1.8472979 = idf(docFreq=5, maxDocs=14)
1.0 = fieldNorm(doc=0)
0.02631579 = coord(1/38)
0.00385398 = product of:
0.14645123 = sum of:
0.14645123 = weight(metadata.account:5 in 0) [PerFieldSimilarity], result
of:
0.14645123 = score(doc=0,freq=1.0 = termFreq=1.0
), product of:
0.079278626 = queryWeight, product of:
1.8472979 = idf(docFreq=5, maxDocs=14)
0.042915992 = queryNorm
1.8472979 = fieldWeight in 0, product of:
1.0 = tf(freq=1.0), with freq of:
1.0 = termFreq=1.0
1.8472979 = idf(docFreq=5, maxDocs=14)
1.0 = fieldNorm(doc=0)
0.02631579 = coord(1/38)
On Saturday, October 19, 2013 2:21:15 AM UTC+5:30, Ivan Brusic wrote:
Not quite simple, but you can find the doc id in the query explanation
if you dig deep enough.
http://www.elasticsearch.org/guide/en/elasticsearch/
reference/current/search-**request-explain.htmlhttp://www.elasticsearch.org/guide/en/elasticsearch/reference/current/search-request-explain.html
Cheers,
Ivan
On Fri, Oct 18, 2013 at 4:52 AM, Chetana ambha....@gmail.com wrote:
I need to get the result for reader.getTermVector(docId, "field"). How
can I get the document number which is ScoreDoc.doc in Lucene search result?
Is it possible to get that value from SearchHit in ElasticSearch
Thanks
--
You received this message because you are subscribed to the Google
Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to elasticsearc...@**googlegroups.com.
For more options, visit https://groups.google.com/**groups/opt_outhttps://groups.google.com/groups/opt_out
.
--
You received this message because you are subscribed to the Google Groups
"elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an
email to elasticsearc...@googlegroups.com <javascript:>.
For more options, visit https://groups.google.com/groups/opt_out.
--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.