Okay say i need the distance for filtering purposes. And then again i need
the distance for scoring purposes. I also need the distance for display
purposes and i display some 100 results. So are you sayings its still okay
to compute the distance twice here once for scoring and once for display
rath
I am using custom score provider for scoring lucene documents manually. I am
doing many calculations in custom score provider to calculate the score. For
example on of them is distance. So now once the scoring is done i would like
to know that distance as well. Instead of computing it again cant i
In Lucene i am using custom scoring by overriding the custom score provider.
Now what i want to achieve is that to my regular boolean query i want to add
a distance filter which gives only those documents which are within a
certain distance from the user lat long. First, how do put the distance
fil
up vote
0
down vote
favorite
Suppose i have a document which stores details about a person. The document
would have various fields such as name, address and services provided by the
user. Now here service can have multiple string values. Now i also want to
store some metadata associated with each s
Suppose i have a document which stores details about a person. The document
would have various fields such as name, address and services provided by the
user. Now here service can have multiple string values. Now i also want to
store some metadata associated with each service such as the id of serv
How Can i achieve the following:
Suppose i have the following set of documents
{
"id": "1"
"type": "abc"
},
{
"id": "2"
"type": "abc"
},
{
"id": "2"
"type": "abc"
},
{
"id": "3"
"type": "abc"
}
Using a taxonomy index in lucene in facets i can get the count during search
that gives