#311 Search for terms like "priority" does not work

v1.0.0
closed
nobody
None
General
nobody
2015-08-20
2010-07-07
Anonymous
No

Originally created by: sf-overlords

Created by: max
Created date: 2010-04-28 07:43:47.634000
Assigned to:nobody

Use case: find all tickets that mention "priority".
Expected: only those tickets that actually mention "priority" somewhere
Actual result: all tickets returned as "found"

I guess that's because field names themselves are in the search index.

Other words work as well, e.g. "days", "milestone", "time".

Discussion

  • Anonymous - 2010-07-07

    Originally by: sf-overlords

    Post by max:
    Stupid me. I forgot to add AND operator. It works as expected when you use &&.

    • status: open → closed
     
  • Anonymous - 2010-07-07

    Originally by: sf-overlords

    Post by max:

    description has changed

     
  • Anonymous - 2010-07-07

    Originally by: sf-overlords

    Post by max:
    Clarification.

    You can write a proper SOLR query:

    http://localhost:8983/solr/core0/select?indent=on&version=2.2&q=123&fq=_priority_s%3Ahigh&start=0&rows=10&fl=*%2Cscore&qt=standard&wt=standard&explainOther=&hl.fl=

    You could also do the same in search_artifact() if you add:

     fq.append('_priority_s:high')
    

    Still, there is no way for the user to do this since user has no control over fq variable.

     

Log in to post a comment.