You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Dennis Gearon <ge...@sbcglobal.net> on 2010/11/24 20:41:21 UTC
geospatial
What is the recommended Solr version and/or plugin combination to get geospatial
search up and running the quickest and easiest?
Dennis Gearon
Signature Warning
----------------
It is always a good idea to learn from your own mistakes. It is usually a better
idea to learn from others’ mistakes, so you do not have to make them yourself.
from 'http://blogs.techrepublic.com.com/security/?p=4501&tag=nl.e036'
EARTH has a Right To Life,
otherwise we all die.
RE: special sorting
Posted by Papp Richard <cc...@gmail.com>.
Hmm, any clue how to use it? use the location_id somehow?
thanks,
Rich
-----Original Message-----
From: Tommaso Teofili [mailto:tommaso.teofili@gmail.com]
Sent: Monday, November 29, 2010 22:08
To: solr-user@lucene.apache.org
Subject: Re: special sorting
Perhaps, depending on your domain logic you could use function queries to
achieve that.
http://wiki.apache.org/solr/FunctionQuery#Sort_By_Function
Regards,
Tommaso
2010/11/29 Papp Richard <cc...@gmail.com>
> Hello,
>
> I have many pages with the same content in the search result (the result
> is the same for some of the cities from the same county)... which means
> that
> I have duplicate content.
>
> the filter query is something like: +locationId:(60 26a 39a) - for city
> with ID 60
> and I get the same result for city with ID 62: +locationId:(62 26a 39a)
> (cityID, countyID, countryID)
>
> how could I use a sorting to have different docs order in results for
> different cities?
> (for the same city I need to have the same sort order always - it cannot
> be a simple random...)
>
> could I use somehow the cityID parameter as boost or score ? I tried but
> could't realise too much.
>
> thanks,
> Rich
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
> database 5659 (20101129) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 5659 (20101129) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 5659 (20101129) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
Re: special sorting
Posted by Tommaso Teofili <to...@gmail.com>.
Perhaps, depending on your domain logic you could use function queries to
achieve that.
http://wiki.apache.org/solr/FunctionQuery#Sort_By_Function
Regards,
Tommaso
2010/11/29 Papp Richard <cc...@gmail.com>
> Hello,
>
> I have many pages with the same content in the search result (the result
> is the same for some of the cities from the same county)... which means
> that
> I have duplicate content.
>
> the filter query is something like: +locationId:(60 26a 39a) - for city
> with ID 60
> and I get the same result for city with ID 62: +locationId:(62 26a 39a)
> (cityID, countyID, countryID)
>
> how could I use a sorting to have different docs order in results for
> different cities?
> (for the same city I need to have the same sort order always - it cannot
> be a simple random...)
>
> could I use somehow the cityID parameter as boost or score ? I tried but
> could't realise too much.
>
> thanks,
> Rich
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature
> database 5659 (20101129) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
special sorting
Posted by Papp Richard <cc...@gmail.com>.
Hello,
I have many pages with the same content in the search result (the result
is the same for some of the cities from the same county)... which means that
I have duplicate content.
the filter query is something like: +locationId:(60 26a 39a) - for city
with ID 60
and I get the same result for city with ID 62: +locationId:(62 26a 39a)
(cityID, countyID, countryID)
how could I use a sorting to have different docs order in results for
different cities?
(for the same city I need to have the same sort order always - it cannot
be a simple random...)
could I use somehow the cityID parameter as boost or score ? I tried but
could't realise too much.
thanks,
Rich
__________ Information from ESET NOD32 Antivirus, version of virus signature
database 5659 (20101129) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
Re: geospatial
Posted by Yonik Seeley <yo...@lucidimagination.com>.
On Wed, Nov 24, 2010 at 2:41 PM, Dennis Gearon <ge...@sbcglobal.net> wrote:
> What is the recommended Solr version and/or plugin combination to get geospatial
> search up and running the quickest and easiest?
It depends on what capabilities you need.
The current state of what is committed to trunk is reflected here:
http://wiki.apache.org/solr/SpatialSearch
-Yonik
http://www.lucidimagination.com