"test phras" does not find "test phrase"

You've got questions? We think we have some answers!

Moderator: Mods

Postby Tod » Mon Nov 26, 2007 5:21 pm

It's a feature.

Here's the basis. Searching for (test phras*) can be a somewhat slow operation because it is a prefix phrase search. Searching for (test phrase=) is a lot faster because it will be looking for a whole lot fewer items in index. So, by ending your quotes, you are effectively saying, "this is exactly what I am looking for and I want it quick".

Simple workaround? Don't end the quotes. Typing:
"test phras
will still launch a phrase search for (test phras*).
Tod
X1 Rep
X1 Rep
 
Posts: 178
Joined: Thu Apr 07, 2005 8:26 pm
Location: Pasadena, CA

Postby Tod » Tue Nov 27, 2007 10:43 am

We will consider adding another symbol to the syntax, but in the meantime, there is yet another workaround.

Any set of terms that have defined punctuation between them are treated as an "implied phrase search". An example would be that entering
626-555-1212
is treated very much the same as
"626 555 1212"
The only difference is that it is treated as "626 555 1212*" and not "626 555 1212="

Another tip is that many power users use the "." character for this "punctuation delimiter" since it is less confusing to see in a query string than "-" or "_"

So, if you change your query to
test.phr OR test.str
you shoud see the exact results you are looking for.
Tod
X1 Rep
X1 Rep
 
Posts: 178
Joined: Thu Apr 07, 2005 8:26 pm
Location: Pasadena, CA

Postby w0qj » Thu Nov 29, 2007 3:05 am

err...

what's the difference between these two?

"626 555 1212*"
"626 555 1212="
Rgds / Mr. Wong

"It is what X1 can do with the information found that is important."
w0qj
X1 Guru
X1 Guru
 
Posts: 1183
Joined: Wed Jun 16, 2004 3:53 am
Location: Hong Kong

Postby Tod » Fri Nov 30, 2007 11:04 am

Sorry about that. This thread raises the ugly question of how you talk about search syntax without actually using some version of a search syntax to show what you are trying to talk about.

I was not implying that X1 supports a * (wildcard) character. I was merely trying to show how X1 interprets the user input.

What I was trying to say was that:
Entering 626-555-1212 is like asking X1 to search for the phrase 626 555 1212 where the last term is treated like a prefix search

Entering "626 555 1212" is like asking X1 to search for the phrase 626 555 1212 where the last term is treated like an exact match search.
Tod
X1 Rep
X1 Rep
 
Posts: 178
Joined: Thu Apr 07, 2005 8:26 pm
Location: Pasadena, CA


Return to Questions and Answers

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 99 guests

cron