Sharepoint Forum

Ask Question   UnAnswered
Home » Forum » Sharepoint       RSS Feeds


  Asked By: Maulik    Date: Apr 28    Category: Sharepoint    Views: 866

Below is some SPS documentation on how the SEARCH should perform and the
STRANGE results I am getting. Can anyone help?

SPS Documentation:

By default, SharePoint Portal Server includes an implicit OR between the
words that you use in a search query when compiling results. This means that
documents that contain all the keywords rank higher in a set of search
results, but the results may also include documents that contain only one or
a few of the keywords.
Look for two or more words at once by using the AND operator.
Example - type sports AND events to find documents that have both the word
sports and the word events anywhere.
Look for words that are close to each other by using the NEAR operator
instead of the AND operator. When you use NEAR, the closer together the
words are, the higher the rank of the page, so the higher it appears in the
list of search results.
Example - type sports NEAR events to match documents where the word sports
is within 50 words of the word events.


hazcom OR cwp 59 hits
hazcom AND cwp 59 hits
hazcom NOT cwp 186 hits

work OR permit 133 hits
work AND permit 133 hits
work NOT permit 179 hits

Logically the OR search should normally give the most hits, the AND would
give fewer and the NOT would give the fewest, in our case. In every example
I have found that the AND and the OR search give the same results. I will
believe an AND search when I see it demonstrated.



3 Answers Found

Answer #1    Answered By: Lonnie Cohen     Answered On: Apr 28

Our organization is distributed in three different regions, each region has a
different domain controller and domain name: domain1.com, domain.org.com,

We know need all users access our only SP. People from 2 of the domains cannot
enter to the SP, how can I make SP to validate the users from other regions?

For security reasons, we don't want people that does not validate into a domain
cannot enter to see the SP=no anonymous logins.

Answer #2    Answered By: Ruchir Satam     Answered On: Apr 28

OR", "AND" and "NEAR" described in SPS document are used for the syntax of SQL
The search  dashboard have the search textbox, can construct the SQL sentense.
In other word, if you enter "hazcom AND cwp" in search dashboard, the SQL should
Select ... FROM ...... WHERE (*,'hazcom AND cwp') ...
But you expect:
Select ... FROM ...... WHERE (*,'hazcom' AND 'cwp') ...
It is difference

Answer #3    Answered By: Suresh Chindarkar     Answered On: Apr 28

There is an extended version of the searchwebpart. I downloaded it from
Microsoft Japan. This webpart gives the opportunity to select between OR,
AND, PHRASE and BOOLEAN. I tested it and it workes fine. You need to
translate the Japanies textparts int your native language. I did this for
the dutch language (You do not need to understand Japanees for it!!)

Didn't find what you were looking for? Find more on SEARCH RESULTS NOT RIGHT Or get search suggestion and latest updates.