Are 'exact Phrase' Searchs Possible In Kad/global? How might one perform an 'exact phrase' search?
#1
Posted 19 October 2009 - 03:29 AM
Is it possible to write and 'exact phrase' Boolean search expression (or ANY known way) which would work in Kad or Global searches? i.e.- [Search For: Easter Eggs] not [Search For: Easter AND Eggs] or [Search For: Easter OR Eggs] for example.
If possible to do please provide an example.
TIA
-Klozov
#2
Posted 19 October 2009 - 07:09 AM
#3
Posted 19 October 2009 - 07:08 PM
Anyway, exact phrases are more or less possible with "quotation marks" (except for the keyword). Should also be possible in boolean searches.
Have you seen the online help page about searching for files?
#4
Posted 21 October 2009 - 12:32 AM
Wulp, on 19 October 2009 - 12:08 PM, said:
Maybe my example isn't too clear but I'm sure you are familiar with an 'Exact' Search. Refer to the second line of search parameters in a Google Advanced Search. i.e.- "this exact wording or phrase:"
That's what I'm talking about and there is no mention of that kind of search in the FAQs.
Also, try to use your "in quotes" remark in KAD and see if you indeed get an 'EXACT' result or, like me, only phrases or words I'm looking for which are also in quotes.
-Klozov
#5
Posted 21 October 2009 - 03:48 PM
In theory, when you search for "easter egg" (including quotes) you should get results which should NOT contain easter.egg, egg easter and such, but SHOULD contain of course easter egg and also aneaster eggy.
I'm not quite sure how well it works with server searches, since I don't use them so often (but I suppose it's possible there).
The problem with the Kad search is that it needs a keyword without quotes, so you can't just search for "easter egg" in Kad or you'll may only get results with "easter egg". But you can use a little workaround trick by repeating the phrase or one of its words without quotes and at the beginning, so that Kad can use it as keyword, for instance:
easter "easter egg" SHOULD bring you results including easter egg but NOT with easter.egg or egg easter or such (as long as it doesn't also contain an easter egg phrase).
It's also possible with boolean excluding (aka NOT, but instead one can use - (minus) directly previous to the to be excluded word):
Typing easter egg -"easter egg" SHOULD avoid results including easter egg but can include all other possible arrangements with easter and egg.
The boolean OR is again a little problem in Kad: You can't just search for easter OR egg because easter would be taken as keyword and therefore all results will contain easter. So, an OR search can only be done after the second word (irrelevant if exact phrase or not), like easter egg OR bunny (results must contain easter and will then contain either egg or bunny).
It's also possible to use parentheses for more complex search expressions.
This post has been edited by Wulp: 21 October 2009 - 04:41 PM
#6
Posted 21 October 2009 - 07:40 PM
Wulp, on 21 October 2009 - 07:48 PM, said:
In practice: I used a two word title of one very well known album. Let's call it "termA termB".
Search string - results:
"termA termB" - 0
'termA termB' - 0
"termB termA" - 0
'termB termA' - 0
termA termB - 305
termB termA - 347
This post has been edited by fox88: 21 October 2009 - 07:59 PM
#7
Posted 21 October 2009 - 11:16 PM
fox88, on 21 October 2009 - 09:40 PM, said:
Yes, and every word is indexed separately. But at a search it actually searches for one word of the entire search expression only, the keyword, all other words are just treated as "filterwords" - while ignoring the word order.
That's why your last two examples should bring more or less the same results. But in the other examples it would take a quotation mark as part of the keyword (as can be seen in the Kad window), that's why the search fails.
It should work if you typed termA "termA termB" by which you offered Kad the possibility to use a reasonable keyword (termA instead of "termA).
This post has been edited by Wulp: 21 October 2009 - 11:29 PM
#8
Posted 22 October 2009 - 05:26 PM
Wulp, on 22 October 2009 - 12:16 AM, said:
Your trick does work. In fact, it works if you type termB "termA termB". As long as the search begins with 1 of the terms, it does the equivalent of a phrase search. With that in mind, there is a lot of stuff released with periods, parentheses, and brackets instead of spaces separating words, so you'll still need to perform multiple searches to capture all the possible ways the phrase may have actually been entered as a file name. But, you can accomplish that in one search like this:
termB "termA termB" OR "termA[termB]" OR "termA.termB"
It would be nice if eMule automatically extracted one of the terms in the quotes and performed the search the way it needs to be done for it to work. Requiring the user to guess or trick it into doing the search doesn't help files get shared.
For slot control only, currently recommending: Tombstone Xtended 1.0 (or higher) if you absolutely must have slot control
Quote
#9
Posted 24 October 2009 - 11:42 PM
-Klozov
#10
Posted 24 October 2009 - 11:43 PM
-Klozov
#11
Posted 09 November 2009 - 07:26 AM
is there some parameter I have set that needs to be unset in preferences? or am I doing something wrong?
ok.. in reading the above again I see some of the issues, but still.. I need to figure out how to do a wildcard pre and post StringB. It must contain the StringB but any added/extra characters before and after should be ok too.
This post has been edited by HisPetsMaster: 09 November 2009 - 07:34 AM
#12
Posted 09 November 2009 - 02:15 PM
HisPetsMaster, on 09 November 2009 - 08:26 AM, said:
See my post #5, "The problem with the Kad search ..."
Quote
Only the keyword cannot contain wildcards.
The thing is that Kad always uses one of your words as keyword and it searches for this exact word (no wildcards possible).
So if your search term consists of only one word, e.g. stringB, then you'll find only results with stringB but none with stringBxyz.
However, if your search term consists of several words then all words except for the keyword can automatically be part of bigger words (no typing of wildcards like * needed):
When you search for stringA stringB, and stringA is used as keyword, results can contain abcStringBxyz.
Which word is used as keyword is chosen by Kad automatically (usually the longest word). But there's an preferences.ini option which makes Kad to always use the first word as keyword, so by rearranging the word order you can manually decide which one should be the keyword. (I don't remember what's the entry, see online help or changelog.)
P.S.: This refers all to the Kad search.
Server searches are again a bit different:
AFAIR by adding a wildcard (*) to the end of a word you define that this word should not be used as keyword.
This post has been edited by Wulp: 09 November 2009 - 02:22 PM
#13
Posted 24 December 2009 - 05:56 AM
still, using the StringA StringB is a usable trick for some of my issues. That might also explain why it is that I have found files doing a multi term search, that where not found with single term search.
#14
Posted 24 December 2009 - 06:22 PM
And god bless coders who write software for not-so-logical & not-enough-time-to-be-little-more-than-poorly-informed dummies like me. ...and manage to, somehow, still make it useful for users of ALL skill levels! For they shall inherit the earth. ...or maybe even something better.
-Klozov