Hi Jaspreet. Your post is confusing. You're using spatial, so you say, yet your question suggests you have yet to use it. If your documents are associated with a city, then you should index the lat-lon location of that city in your documents. It's denormalized like this.
~ David On 1/23/13 11:17 PM, "jaspreet_sethi5875" <jaspreet_sethi5...@yahoo.co.in> wrote: >Hi, > >I have just implemented spatial search on solr4.0 and its working fine. >In my index i have many fields including "city" and "latlong". I need to >do >below 2 tasks: >1.) Fetch latlong of certain city. >2.) Use the above fetched latlong to show the results based on certain >conditions. > >Can i do these both tasks in a single solr query? If yes then How!!!! >Any help will be really appreciable. > >Thanks >Jaspreet Sethi > > > >-- >View this message in context: >http://lucene.472066.n3.nabble.com/MERGING-SPATIAL-SEARCH-QUERY-tp4035856. >html >Sent from the Solr - User mailing list archive at Nabble.com.