Use case of Spatial search

2013-08-19 Thread Shishir Jain
Hi,

I have a very standard use case of Spatial search. Was trying to figure out
how to do it in Solr, but couldn't figure out a standard way of doing it.
Please point me to any document which explains this use case or how this
specific use case can be implemented in Solr.

The Use case is:

There is database of Food Joints who deliver food. Each of them have a
different serving distance. So, when a user is requesting for a list of
food joints which can serve at his/her location, it needs to find the
distance between the user and food joint and the distance served by each of
these joints and if the distance between the user and the food joint is
less than the distance served, return the list. The geo co-ordiantes of the
food joint and the radius of the distance served is pre-known and stored in
the solr

Now I'm trying to get this list directly from solr, but couldn't find any
way. Please let me know if this use case is handled by Solr Spatial search
and yes, how to do it. If no, what other Solr users have figured out as a
work-around?

Best regards,
Shishir


Facets on multiple values

2010-07-29 Thread Shishir Jain
Hi,

Am using Solr facets for my data and have a field which has multiple values
in its field am using ; to delimit those values. So after doing a solr
search it returns me a facet array but that contains ; in the facet value.
I want facet to return each as separate values.

For eg. am using the keyword field for faceting which has value
graduation;post graduation; diploma so facet returns
me a graduation;post graduation; diploma as a single value. but what i
want is that it should return me three different values 'graduation', 'post
graduation', 'diploma'

Appreciate any help in this.

Thanks  Regards,
Shishir


How to get Facet results only on a range of search results documents

2010-03-11 Thread Shishir Jain
Hi,

I would like to return Facet results only on the range of search results
(say 1-100) not on the whole set of search results. Any idea how can I do
it?

Here is the reason I want to do it:

My document set is quite huge: About 100 Million documents. When a query is
run, the returned results are on average about 1 or so. And I want to do
faceting on the defined window of 100 documents around the result set the
user is looking at, as the faceting is most relevant only around the result
document the user is looking at.

Thanks  Regards,
Shishir Jain


Re: Max no of solr cores supported and how to restrict a query to a particular core?

2009-05-14 Thread Shishir Jain
http://wiki.apache.org/solr/CoreAdmin
Best regards,
Shishir

On Thu, May 14, 2009 at 1:58 PM, KK dioxide.softw...@gmail.com wrote:

 I want to know the maximum no of cores supported by Solr. 1000s or may be
 millions all under one solr instance ?
 Also I want to know how to redirect a particular query to a particular
 core.
 Actually I'm querying solr from Ajax, so I think there must be some request
 parameter that says which core we want to query, right? Can some one tell
 me
 how to do this, any good pointers on the same will be helpful as well.
 Thank you.

 --kk