You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "ourlight (JIRA)" <ji...@apache.org> on 2012/06/01 16:41:22 UTC

[jira] [Created] (SOLR-3501) solr, how can I make search query with fixed slop(distance)

ourlight created SOLR-3501:
------------------------------

             Summary: solr, how can I make search query with fixed slop(distance)
                 Key: SOLR-3501
                 URL: https://issues.apache.org/jira/browse/SOLR-3501
             Project: Solr
          Issue Type: New Feature
          Components: clients - java
    Affects Versions: 3.5
            Reporter: ourlight
             Fix For: 3.5


I want to search data within fixed slop in Solr.

For example, I make search query 'title:+solr +user ~2' for search some data which have 'solr' and 'user' within 2 slops. But it's not working in Solr. I get some parameter, defType=edismax, pf, qs, ps. It's not change the search result, but order.

If I use Phrase Query just like 'title:"solr user"~2', it can't get the result just like "... users for solr ..." which have not keywords in order.

How Can I do? Help me.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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] [Closed] (SOLR-3501) solr, how can I make search query with fixed slop(distance)

Posted by "ourlight (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/SOLR-3501?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

ourlight closed SOLR-3501.
--------------------------

    Resolution: Fixed
    
> solr, how can I make search query with fixed slop(distance)
> -----------------------------------------------------------
>
>                 Key: SOLR-3501
>                 URL: https://issues.apache.org/jira/browse/SOLR-3501
>             Project: Solr
>          Issue Type: New Feature
>          Components: clients - java
>    Affects Versions: 3.5
>            Reporter: ourlight
>             Fix For: 3.5
>
>
> I want to search data within fixed slop in Solr.
> For example, I make search query 'title:+solr +user ~2' for search some data which have 'solr' and 'user' within 2 slops. But it's not working in Solr. I get some parameter, defType=edismax, pf, qs, ps. It's not change the search result, but order.
> If I use Phrase Query just like 'title:"solr user"~2', it can't get the result just like "... users for solr ..." which have not keywords in order.
> How Can I do? Help me.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
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