Author Topic: Can you restrict the return result to just the <Search Term>  (Read 223 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 5875
  • Karma: +71/-77
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Can you restrict the return result to just the <Search Term>
« on: November 15, 2017, 12:44:12 pm »
If I search for the search term "Party"; in our repository, I get 66 results only 6 of which are for the exact term "Party".  The search is a contains search, so the effective search term is "*Party*".  Is there any mechanism short of adding a new exact match search that allows me to change the contains to an equals search?

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Simon M

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6193
  • Karma: +47/-5
    • View Profile
Re: Can you restrict the return result to just the <Search Term>
« Reply #1 on: November 15, 2017, 02:44:54 pm »
You mean set the condition to 'Equal To' instead of 'Contains'?

Or do you mean that you want whole word only?
Simon

support@sparxsystems.com

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 5875
  • Karma: +71/-77
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Can you restrict the return result to just the <Search Term>
« Reply #2 on: November 15, 2017, 05:50:53 pm »
You mean set the condition to 'Equal To' instead of 'Contains'?

Or do you mean that you want whole word only?
The latter, which effectively changes the condition from contains to equals.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 8960
  • Karma: +136/-123
  • I'm no guru at all
    • View Profile
Re: Can you restrict the return result to just the <Search Term>
« Reply #3 on: November 15, 2017, 08:16:22 pm »
Sort of the flag type "Match whole word" in addition to the search field, I guess. This is being found in many search machines, but would be the base for a new feature request here (I guess again).

q.

Simon M

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 6193
  • Karma: +47/-5
    • View Profile
Re: Can you restrict the return result to just the <Search Term>
« Reply #4 on: November 16, 2017, 08:21:29 am »
The latter, which effectively changes the condition from contains to equals.
Equals is a completely ineffective as a description for the behavior you are after.

Regardless, what you are after doesn't exist.
Simon

support@sparxsystems.com

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1157
  • Karma: +8/-3
  • Read The Help!
    • View Profile
Re: Can you restrict the return result to just the <Search Term>
« Reply #5 on: November 16, 2017, 09:41:39 am »
You could try changing the search term to " Party " (put a space before and after the word). Or search just with a space before, then search just with a space after.
Best Regards, Roy

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 5875
  • Karma: +71/-77
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Can you restrict the return result to just the <Search Term>
« Reply #6 on: November 16, 2017, 10:30:50 am »
The latter, which effectively changes the condition from contains to equals.
Equals is a completely ineffective as a description for the behavior you are after.

Regardless, what you are after doesn't exist.
(my emphasis)  YMMVWFM  It is EXACTLY a description for what I'm after.  If I change the contains to equals and enter the term: Party  I get exactly the 6 I'm after.

However, as you say, the mechanism doesn't exist and so I have to create new searches.

@Roy, neither of your suggestions work.  They DO restrict the result set, but not in the way I'm after.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

RoyC

  • EA Administrator
  • EA Practitioner
  • *****
  • Posts: 1157
  • Karma: +8/-3
  • Read The Help!
    • View Profile
Re: Can you restrict the return result to just the <Search Term>
« Reply #7 on: November 16, 2017, 11:15:05 am »
I have thought about permutations of the word 'Party' and Neil has made a few observations too; basically, I agree with Simon.  Your search would have to be set up like a spell checker to encompass all the conventions you might use in assigning element names (are you searching for just element names?) with capitalization, punctuation, non-alphabetic characters, use of phrases or single words etc.
« Last Edit: November 16, 2017, 02:31:51 pm by RoyC »
Best Regards, Roy