Click here to get back home

Advanced Query help (location, in, folder)

 HomeNewsGroups | Search | About
 microsoft.public.msn.search    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Advanced Query help (location, in, folder) ilya 06-12-2006
Posted by ilya on June 12, 2006, 10:20 pm
Please log in for more thread options
Hi,

i've written a custom app that uses WDS to return results specific to a line
of business at one of my clients. The issue i've run into that "location",
"in", "under", "folder" don't seem to respect a drive reference. for
example, if WDS indexes both drive C: and D:, i can't seem to restrict the
search to folder:"D:\MyFolder\MySubfolder". Doing so returns ALL results.
However, if i do folder:"MyFolder\MySubfolder", the query is correctly
constrained. Is that behavior "by design" or is it a bug?

thanks,

ilya


Posted by ilya on June 22, 2006, 10:41 pm
Please log in for more thread options
No takers on this one?


> Hi,
>
> i've written a custom app that uses WDS to return results specific to a
> line of business at one of my clients. The issue i've run into that
> "location", "in", "under", "folder" don't seem to respect a drive
> reference. for example, if WDS indexes both drive C: and D:, i can't seem
> to restrict the search to folder:"D:\MyFolder\MySubfolder". Doing so
> returns ALL results. However, if i do folder:"MyFolder\MySubfolder", the
> query is correctly constrained. Is that behavior "by design" or is it a
> bug?
>
> thanks,
>
> ilya


Posted by JRush on June 26, 2006, 4:31 pm
Please log in for more thread options
Hi Ilya,

I honestly don't know what to tell you. I have version 2.6.5 with the hot
fix (kb917979) and it seems to work fine for me.

Does it work for you from the GUI? Could be an issue with the API but I
haven't heard of that before.

Jeff

> No takers on this one?
>
>
>> Hi,
>>
>> i've written a custom app that uses WDS to return results specific to a
>> line of business at one of my clients. The issue i've run into that
>> "location", "in", "under", "folder" don't seem to respect a drive
>> reference. for example, if WDS indexes both drive C: and D:, i can't seem
>> to restrict the search to folder:"D:\MyFolder\MySubfolder". Doing so
>> returns ALL results. However, if i do folder:"MyFolder\MySubfolder", the
>> query is correctly constrained. Is that behavior "by design" or is it a
>> bug?
>>
>> thanks,
>>
>> ilya
>



Posted by ilya on June 26, 2006, 8:11 pm
Please log in for more thread options
Jeff,

thanks for the response. If i could validate what you're saying:

you have WDS index multiple drives (C & D, for instance), and you can issue
an advanced query using the 'under:"D:\foldername"' syntax (or
'folder:"D:\foldername"') and the query returns results that exist in
D:\foldername but nowhere else?

if that's the case, perhaps the problem is isolated to my machine...



> Hi Ilya,
>
> I honestly don't know what to tell you. I have version 2.6.5 with the hot
> fix (kb917979) and it seems to work fine for me.
>
> Does it work for you from the GUI? Could be an issue with the API but I
> haven't heard of that before.
>
> Jeff
>
>> No takers on this one?
>>
>>
>>> Hi,
>>>
>>> i've written a custom app that uses WDS to return results specific to a
>>> line of business at one of my clients. The issue i've run into that
>>> "location", "in", "under", "folder" don't seem to respect a drive
>>> reference. for example, if WDS indexes both drive C: and D:, i can't
>>> seem to restrict the search to folder:"D:\MyFolder\MySubfolder". Doing
>>> so returns ALL results. However, if i do folder:"MyFolder\MySubfolder",
>>> the query is correctly constrained. Is that behavior "by design" or is
>>> it a bug?
>>>
>>> thanks,
>>>
>>> ilya
>>
>
>


Posted by JRush on July 3, 2006, 4:21 pm
Please log in for more thread options
Sorry it took so long to get back to you.

Correct, I can type the following:
folder:"D:\MyPlatform" Reference.xml

and it finds the Reference.xml file under the MyPlatform folder... Actually
it's a few sub folders under it but it finds it.

I hope that helps...

Jeff

> Jeff,
>
> thanks for the response. If i could validate what you're saying:
>
> you have WDS index multiple drives (C & D, for instance), and you can
> issue an advanced query using the 'under:"D:\foldername"' syntax (or
> 'folder:"D:\foldername"') and the query returns results that exist in
> D:\foldername but nowhere else?
>
> if that's the case, perhaps the problem is isolated to my machine...
>
>
>
>> Hi Ilya,
>>
>> I honestly don't know what to tell you. I have version 2.6.5 with the
>> hot fix (kb917979) and it seems to work fine for me.
>>
>> Does it work for you from the GUI? Could be an issue with the API but I
>> haven't heard of that before.
>>
>> Jeff
>>
>>> No takers on this one?
>>>
>>>
>>>> Hi,
>>>>
>>>> i've written a custom app that uses WDS to return results specific to a
>>>> line of business at one of my clients. The issue i've run into that
>>>> "location", "in", "under", "folder" don't seem to respect a drive
>>>> reference. for example, if WDS indexes both drive C: and D:, i can't
>>>> seem to restrict the search to folder:"D:\MyFolder\MySubfolder". Doing
>>>> so returns ALL results. However, if i do folder:"MyFolder\MySubfolder",
>>>> the query is correctly constrained. Is that behavior "by design" or is
>>>> it a bug?
>>>>
>>>> thanks,
>>>>
>>>> ilya
>>>
>>
>>
>



Similar ThreadsPosted
Can't select advanced options May 16, 2005, 11:35 am
Location March 6, 2007, 5:24 am
How to limit the search only to a certain folder(s)? July 9, 2005, 3:54 pm
Public Folder Search July 25, 2005, 11:15 pm
How to list all files in a folder? November 16, 2006, 4:58 pm
Adding Location to WDS 3.0 August 24, 2006, 5:26 pm
msn local search knows my location? August 13, 2005, 7:58 am
Location of Index Files? May 19, 2006, 12:24 pm
Drive D: not on Location List November 17, 2006, 7:47 am
Why cant change the location of the database? February 27, 2007, 5:11 pm

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap