You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "jose rodriguez (JIRA)" <ji...@apache.org> on 2011/06/24 08:38:47 UTC
[jira] [Created] (SOLR-2619) two sfields in geospatial search
two sfields in geospatial search
--------------------------------
Key: SOLR-2619
URL: https://issues.apache.org/jira/browse/SOLR-2619
Project: Solr
Issue Type: Wish
Components: clients - php
Affects Versions: 3.2
Environment: Using with drupal
Reporter: jose rodriguez
Fix For: 3.2
Is it possible to create a query with two sfield (geospatial search)? .Want to mean two diferents pt and d for each field.
If i need from - to then i need fields around the from coordinate and around the to coordinates.
Thanks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2619) two sfields in geospatial search
Posted by "jose rodriguez (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055766#comment-13055766 ]
jose rodriguez commented on SOLR-2619:
--------------------------------------
Ok David thanks very much.
> two sfields in geospatial search
> --------------------------------
>
> Key: SOLR-2619
> URL: https://issues.apache.org/jira/browse/SOLR-2619
> Project: Solr
> Issue Type: Wish
> Components: clients - php
> Affects Versions: 3.2
> Environment: Using with drupal
> Reporter: jose rodriguez
> Fix For: 3.2
>
>
> Is it possible to create a query with two sfield (geospatial search)? .Want to mean two diferents pt and d for each field.
> If i need from - to then i need fields around the from coordinate and around the to coordinates.
> Thanks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2619) two sfields in geospatial search
Posted by "David Smiley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054663#comment-13054663 ]
David Smiley commented on SOLR-2619:
------------------------------------
I am confused trying to understand this "Wish". Is the situation two indexed points (each in a separate field), and you want to find documents that are within a particular radius from either point? That's already supported.
> two sfields in geospatial search
> --------------------------------
>
> Key: SOLR-2619
> URL: https://issues.apache.org/jira/browse/SOLR-2619
> Project: Solr
> Issue Type: Wish
> Components: clients - php
> Affects Versions: 3.2
> Environment: Using with drupal
> Reporter: jose rodriguez
> Fix For: 3.2
>
>
> Is it possible to create a query with two sfield (geospatial search)? .Want to mean two diferents pt and d for each field.
> If i need from - to then i need fields around the from coordinate and around the to coordinates.
> Thanks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2619) two sfields in geospatial search
Posted by "jose rodriguez (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055720#comment-13055720 ]
jose rodriguez commented on SOLR-2619:
--------------------------------------
Hi David thanks for your reply,
When i said it works for me is because i tried houdreds other possibilities without success.
i was triying to run all from q= _query_:{} _query_:{} and very very large etc..
If i understand i could have both {!geofilt} into q?
is there a better way to do my query q={!geofilt sfield=location_1}&fq={!geofilt sfield=location_2} min this case ???
Thanks.
> two sfields in geospatial search
> --------------------------------
>
> Key: SOLR-2619
> URL: https://issues.apache.org/jira/browse/SOLR-2619
> Project: Solr
> Issue Type: Wish
> Components: clients - php
> Affects Versions: 3.2
> Environment: Using with drupal
> Reporter: jose rodriguez
> Fix For: 3.2
>
>
> Is it possible to create a query with two sfield (geospatial search)? .Want to mean two diferents pt and d for each field.
> If i need from - to then i need fields around the from coordinate and around the to coordinates.
> Thanks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
Re: [jira] [Resolved] (SOLR-2619) two sfields in geospatial search
Posted by Bill Bell <bi...@gmail.com>.
This is already possible to do.
Just create 2 fields and pass them to {!geofilt}
On 6/27/11 4:20 PM, "Hoss Man (JIRA)" <ji...@apache.org> wrote:
>
> [
>https://issues.apache.org/jira/browse/SOLR-2619?page=com.atlassian.jira.pl
>ugin.system.issuetabpanels:all-tabpanel ]
>
>Hoss Man resolved SOLR-2619.
>----------------------------
>
> Resolution: Invalid
> Fix Version/s: (was: 3.2)
>
>there doesn't seem to actually be a concrete improvemment/bug identified
>here.
>
>jose: if you are having difficulties understanding/using solr features,
>please start by posting a detailed question explaining your
>usecase/problem to the solr-user mailing list
>
>http://wiki.apache.org/solr/UsingMailingLists
>
>> two sfields in geospatial search
>> --------------------------------
>>
>> Key: SOLR-2619
>> URL: https://issues.apache.org/jira/browse/SOLR-2619
>> Project: Solr
>> Issue Type: Wish
>> Components: clients - php
>> Affects Versions: 3.2
>> Environment: Using with drupal
>> Reporter: jose rodriguez
>>
>> Is it possible to create a query with two sfield (geospatial search)?
>>.Want to mean two diferents pt and d for each field.
>> If i need from - to then i need fields around the from coordinate and
>>around the to coordinates.
>> Thanks.
>
>--
>This message is automatically generated by JIRA.
>For more information on JIRA, see: http://www.atlassian.com/software/jira
>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
>For additional commands, e-mail: dev-help@lucene.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Resolved] (SOLR-2619) two sfields in geospatial search
Posted by "Hoss Man (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Hoss Man resolved SOLR-2619.
----------------------------
Resolution: Invalid
Fix Version/s: (was: 3.2)
there doesn't seem to actually be a concrete improvemment/bug identified here.
jose: if you are having difficulties understanding/using solr features, please start by posting a detailed question explaining your usecase/problem to the solr-user mailing list
http://wiki.apache.org/solr/UsingMailingLists
> two sfields in geospatial search
> --------------------------------
>
> Key: SOLR-2619
> URL: https://issues.apache.org/jira/browse/SOLR-2619
> Project: Solr
> Issue Type: Wish
> Components: clients - php
> Affects Versions: 3.2
> Environment: Using with drupal
> Reporter: jose rodriguez
>
> Is it possible to create a query with two sfield (geospatial search)? .Want to mean two diferents pt and d for each field.
> If i need from - to then i need fields around the from coordinate and around the to coordinates.
> Thanks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2619) two sfields in geospatial search
Posted by "jose rodriguez (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13054849#comment-13054849 ]
jose rodriguez commented on SOLR-2619:
--------------------------------------
Hi David ,
q={!geofilt sfield=location_1}&fq={!geofilt sfield=location_2}
it works for me . Maybe theres another workaround . tried houndreds posibilities with no success.
Thanks for reply.
> two sfields in geospatial search
> --------------------------------
>
> Key: SOLR-2619
> URL: https://issues.apache.org/jira/browse/SOLR-2619
> Project: Solr
> Issue Type: Wish
> Components: clients - php
> Affects Versions: 3.2
> Environment: Using with drupal
> Reporter: jose rodriguez
> Fix For: 3.2
>
>
> Is it possible to create a query with two sfield (geospatial search)? .Want to mean two diferents pt and d for each field.
> If i need from - to then i need fields around the from coordinate and around the to coordinates.
> Thanks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2619) two sfields in geospatial search
Posted by "David Smiley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055741#comment-13055741 ]
David Smiley commented on SOLR-2619:
------------------------------------
I'm having trouble comprehending you; seems to be a language barrier. Your last question (RE "is there a better way") -- No.
> two sfields in geospatial search
> --------------------------------
>
> Key: SOLR-2619
> URL: https://issues.apache.org/jira/browse/SOLR-2619
> Project: Solr
> Issue Type: Wish
> Components: clients - php
> Affects Versions: 3.2
> Environment: Using with drupal
> Reporter: jose rodriguez
> Fix For: 3.2
>
>
> Is it possible to create a query with two sfield (geospatial search)? .Want to mean two diferents pt and d for each field.
> If i need from - to then i need fields around the from coordinate and around the to coordinates.
> Thanks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2619) two sfields in geospatial search
Posted by "David Smiley (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055548#comment-13055548 ]
David Smiley commented on SOLR-2619:
------------------------------------
"it works for me" so there isn't a missing capability then; hence this "wish" is invalid; right?
FYI both your spatial queries could be filter queries "fq", with a keyword search or *:* in q.
> two sfields in geospatial search
> --------------------------------
>
> Key: SOLR-2619
> URL: https://issues.apache.org/jira/browse/SOLR-2619
> Project: Solr
> Issue Type: Wish
> Components: clients - php
> Affects Versions: 3.2
> Environment: Using with drupal
> Reporter: jose rodriguez
> Fix For: 3.2
>
>
> Is it possible to create a query with two sfield (geospatial search)? .Want to mean two diferents pt and d for each field.
> If i need from - to then i need fields around the from coordinate and around the to coordinates.
> Thanks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org
[jira] [Commented] (SOLR-2619) two sfields in geospatial search
Posted by "jose rodriguez (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/SOLR-2619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13055788#comment-13055788 ]
jose rodriguez commented on SOLR-2619:
--------------------------------------
Excuse my english David what i wanted to mean is that i didnt find the way to put all into q= without using fq.
Because i was reading about possibilities to write it using nested queries : http://www.lucidimagination.com/blog/2009/03/31/nested-queries-in-solr/
But all what i tried was without success.
And if is possible to use nested queries, in this case ... is better than my option using fq?
In solr im a newbie.
> two sfields in geospatial search
> --------------------------------
>
> Key: SOLR-2619
> URL: https://issues.apache.org/jira/browse/SOLR-2619
> Project: Solr
> Issue Type: Wish
> Components: clients - php
> Affects Versions: 3.2
> Environment: Using with drupal
> Reporter: jose rodriguez
> Fix For: 3.2
>
>
> Is it possible to create a query with two sfield (geospatial search)? .Want to mean two diferents pt and d for each field.
> If i need from - to then i need fields around the from coordinate and around the to coordinates.
> Thanks.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org