Newbie Questions ( Score & Geo Sharding)

We are building a new index and are looking to use elasticsearch. We have a
few questions about design patterns.

  1. Can we replace score with our own scoring data.

  2. What is the best method to shard our data. Our users will be set to
    search data by county and we have zip codes for each of our documents.

Thanks for any help. We would also like to find someone to help consult
with us to get our schema and nodes setup in an optimal manner.

Aaron

--

What you mean when you say "own scoring data", if you want custom the
score, you can use the _boost field. If you don't care about the real score
so add a field and put a sort when you do a query.

About the geo query, I don't know if I full understand the question but for
myself, I use the Google Map Service Geocoding to translate address in
geo_point and I use it in my queries. Of course, I use the results to
display it on Google Map :slight_smile:

On Thursday, September 20, 2012 1:10:44 PM UTC-4, Aaron Rosenthal wrote:

We are building a new index and are looking to use elasticsearch. We have
a few questions about design patterns.

  1. Can we replace score with our own scoring data.

  2. What is the best method to shard our data. Our users will be set to
    search data by county and we have zip codes for each of our documents.

Thanks for any help. We would also like to find someone to help consult
with us to get our schema and nodes setup in an optimal manner.

Aaron

--

Yea we have our own scoring algorithm, boost would not help. I guess we
will look into disabling score and create our own field and sort. I will
also look into geo_point... thanks

On Thursday, September 20, 2012 10:38:00 AM UTC-7, What-Else wrote:

What you mean when you say "own scoring data", if you want custom the
score, you can use the _boost field. If you don't care about the real score
so add a field and put a sort when you do a query.

About the geo query, I don't know if I full understand the question but
for myself, I use the Google Map Service Geocoding to translate address in
geo_point and I use it in my queries. Of course, I use the results to
display it on Google Map :slight_smile:

On Thursday, September 20, 2012 1:10:44 PM UTC-4, Aaron Rosenthal wrote:

We are building a new index and are looking to use elasticsearch. We have
a few questions about design patterns.

  1. Can we replace score with our own scoring data.

  2. What is the best method to shard our data. Our users will be set to
    search data by county and we have zip codes for each of our documents.

Thanks for any help. We would also like to find someone to help consult
with us to get our schema and nodes setup in an optimal manner.

Aaron

--

Totally forgot, you can use the custom_query_scorehttp://www.elasticsearch.org/guide/reference/query-dsl/custom-score-query.html !
The best option for you i think :slight_smile:

On Thursday, September 20, 2012 3:44:31 PM UTC-4, Aaron Rosenthal wrote:

Yea we have our own scoring algorithm, boost would not help. I guess we
will look into disabling score and create our own field and sort. I will
also look into geo_point... thanks

On Thursday, September 20, 2012 10:38:00 AM UTC-7, What-Else wrote:

What you mean when you say "own scoring data", if you want custom the
score, you can use the _boost field. If you don't care about the real score
so add a field and put a sort when you do a query.

About the geo query, I don't know if I full understand the question but
for myself, I use the Google Map Service Geocoding to translate address in
geo_point and I use it in my queries. Of course, I use the results to
display it on Google Map :slight_smile:

On Thursday, September 20, 2012 1:10:44 PM UTC-4, Aaron Rosenthal wrote:

We are building a new index and are looking to use elasticsearch. We
have a few questions about design patterns.

  1. Can we replace score with our own scoring data.

  2. What is the best method to shard our data. Our users will be set to
    search data by county and we have zip codes for each of our documents.

Thanks for any help. We would also like to find someone to help consult
with us to get our schema and nodes setup in an optimal manner.

Aaron

--

Thanks!

On Thursday, September 20, 2012 12:52:44 PM UTC-7, What-Else wrote:

Totally forgot, you can use the custom_query_scorehttp://www.elasticsearch.org/guide/reference/query-dsl/custom-score-query.html !
The best option for you i think :slight_smile:

On Thursday, September 20, 2012 3:44:31 PM UTC-4, Aaron Rosenthal wrote:

Yea we have our own scoring algorithm, boost would not help. I guess we
will look into disabling score and create our own field and sort. I will
also look into geo_point... thanks

On Thursday, September 20, 2012 10:38:00 AM UTC-7, What-Else wrote:

What you mean when you say "own scoring data", if you want custom the
score, you can use the _boost field. If you don't care about the real score
so add a field and put a sort when you do a query.

About the geo query, I don't know if I full understand the question but
for myself, I use the Google Map Service Geocoding to translate address in
geo_point and I use it in my queries. Of course, I use the results to
display it on Google Map :slight_smile:

On Thursday, September 20, 2012 1:10:44 PM UTC-4, Aaron Rosenthal wrote:

We are building a new index and are looking to use elasticsearch. We
have a few questions about design patterns.

  1. Can we replace score with our own scoring data.

  2. What is the best method to shard our data. Our users will be set to
    search data by county and we have zip codes for each of our documents.

Thanks for any help. We would also like to find someone to help consult
with us to get our schema and nodes setup in an optimal manner.

Aaron

--