lat/long (location ) field context filters for autosuggestions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

lat/long (location ) field context filters for autosuggestions

Deepak Udapudi
Hi all,

We are trying to apply context filter for autosuggestions by passing the lat/long of a particular location.
We know that, we can apply the context field for a particular field which takes one value.
How do we apply the same context filtering for a field which takes two values lat/long i.e location in our case.
Any pointers / suggestions to index/retrieve the suggestions would be really helpful.

Thanks in advance.

Regards,
Deepak




The information contained in this email message and any attachments is confidential and intended only for the addressee(s). If you are not an addressee, you may not copy or disclose the information, or act upon it, and you should delete it entirely from your email system. Please notify the sender that you received this email in error.
Reply | Threaded
Open this post in threaded view
|

RE: lat/long (location ) field context filters for autosuggestions

Deepak Udapudi
Hi all,

Any response on the below would be really helpful.

Thanks,
Deepak


-----Original Message-----
From: Deepak Udapudi [mailto:[hidden email]]
Sent: Thursday, February 08, 2018 2:02 PM
To: [hidden email]
Subject: lat/long (location ) field context filters for autosuggestions

Hi all,

We are trying to apply context filter for autosuggestions by passing the lat/long of a particular location.
We know that, we can apply the context field for a particular field which takes one value.
How do we apply the same context filtering for a field which takes two values lat/long i.e location in our case.
Any pointers / suggestions to index/retrieve the suggestions would be really helpful.

Thanks in advance.

Regards,
Deepak




The information contained in this email message and any attachments is confidential and intended only for the addressee(s). If you are not an addressee, you may not copy or disclose the information, or act upon it, and you should delete it entirely from your email system. Please notify the sender that you received this email in error.


The information contained in this email message and any attachments is confidential and intended only for the addressee(s). If you are not an addressee, you may not copy or disclose the information, or act upon it, and you should delete it entirely from your email system. Please notify the sender that you received this email in error.
Reply | Threaded
Open this post in threaded view
|

Re: lat/long (location ) field context filters for autosuggestions

Emir Arnautović
Hi Deepak,
Maybe it’s just me, but I am not sure what is the issue. Can you give some example what you are currently doing, what did you try and what issues did you run into.

Thanks,
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/



> On 9 Feb 2018, at 21:22, Deepak Udapudi <[hidden email]> wrote:
>
> Hi all,
>
> Any response on the below would be really helpful.
>
> Thanks,
> Deepak
>
>
> -----Original Message-----
> From: Deepak Udapudi [mailto:[hidden email]]
> Sent: Thursday, February 08, 2018 2:02 PM
> To: [hidden email]
> Subject: lat/long (location ) field context filters for autosuggestions
>
> Hi all,
>
> We are trying to apply context filter for autosuggestions by passing the lat/long of a particular location.
> We know that, we can apply the context field for a particular field which takes one value.
> How do we apply the same context filtering for a field which takes two values lat/long i.e location in our case.
> Any pointers / suggestions to index/retrieve the suggestions would be really helpful.
>
> Thanks in advance.
>
> Regards,
> Deepak
>
>
>
>
> The information contained in this email message and any attachments is confidential and intended only for the addressee(s). If you are not an addressee, you may not copy or disclose the information, or act upon it, and you should delete it entirely from your email system. Please notify the sender that you received this email in error.
>
>
> The information contained in this email message and any attachments is confidential and intended only for the addressee(s). If you are not an addressee, you may not copy or disclose the information, or act upon it, and you should delete it entirely from your email system. Please notify the sender that you received this email in error.

Reply | Threaded
Open this post in threaded view
|

RE: lat/long (location ) field context filters for autosuggestions

Deepak Udapudi

Thanks Emir for the response.

Please have a look at the URL below.

https://lucene.apache.org/solr/guide/6_6/suggester.html

We used the above URL to get the suggestions based on the context field. We used zip code as the context field to fetch the dentists in that particular zip code. It is working without any issues.

As a next step, we are trying to get the suggestions for the dentists within 60 miles of the specified lat/long values.

My queries are as specified below.

i) Will I be able to specify the lat/long values as context field? I don't see any documentation for the same. Please point me to something. When we use lat/long values as context field, we need to specify two values which is unknown to us right now.
ii)Is it possible to fetch dentist auto suggestions by specifying the distance(for ex: 60 miles from 37.20,-121.00) from the specified lat/long values? Please suggest.

Thanks in advance.

Regards,
Deepak






-----Original Message-----
From: Emir Arnautović [mailto:[hidden email]]
Sent: Monday, February 12, 2018 12:14 AM
To: [hidden email]
Subject: Re: lat/long (location ) field context filters for autosuggestions

Hi Deepak,
Maybe it’s just me, but I am not sure what is the issue. Can you give some example what you are currently doing, what did you try and what issues did you run into.

Thanks,
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection Solr & Elasticsearch Consulting Support Training - http://sematext.com/> On 9 Feb 2018, at 21:22, Deepak Udapudi <[hidden email]> wrote:

>
> Hi all,
>
> Any response on the below would be really helpful.
>
> Thanks,
> Deepak
>
>
> -----Original Message-----
> From: Deepak Udapudi [mailto:[hidden email]]
> Sent: Thursday, February 08, 2018 2:02 PM
> To: [hidden email]
> Subject: lat/long (location ) field context filters for
> autosuggestions
>
> Hi all,
>
> We are trying to apply context filter for autosuggestions by passing the lat/long of a particular location.
> We know that, we can apply the context field for a particular field which takes one value.
> How do we apply the same context filtering for a field which takes two values lat/long i.e location in our case.
> Any pointers / suggestions to index/retrieve the suggestions would be really helpful.
>
> Thanks in advance.
>
> Regards,
> Deepak
>
>
>
>
> The information contained in this email message and any attachments is confidential and intended only for the addressee(s). If you are not an addressee, you may not copy or disclose the information, or act upon it, and you should delete it entirely from your email system. Please notify the sender that you received this email in error.
>
>
> The information contained in this email message and any attachments is confidential and intended only for the addressee(s). If you are not an addressee, you may not copy or disclose the information, or act upon it, and you should delete it entirely from your email system. Please notify the sender that you received this email in error.



The information contained in this email message and any attachments is confidential and intended only for the addressee(s). If you are not an addressee, you may not copy or disclose the information, or act upon it, and you should delete it entirely from your email system. Please notify the sender that you received this email in error.