Hi,
I want to create a simple URL, which should search for all fields in the documents of a view. With multiple search criteria! (R5 Server)
For example I search a view for documents with the expressions 'abc' and/or 'def'. I found a simple example in the Notes Help with the Subject
'URL commands for searching for text'
This is the URL of the example.
http://www.mercury.com/mercsrch.nsf/?SearchSite&Query=product+info+requests&SearchOrder=2&SearchMax=30&SearchWV=TRUE&SearchEntry="myResultsForm"
I'm not sure, but I assume this URL queries for the three expressions product, info and requests (whereby I don't know if the '+' indicates a logical 'and' or 'or').
When I use this Syntax for my application it does not work. Example:
http://www.server.com/Test.nsf/Search?SearchView&Query=abc+def
This URL does not deliver any results, although the two expressions 'abc' and 'def' are contained in the document. Even if the expressions are contained in the same field, no result is returned.
If I only search for one of the two expressions, I get the expected search result.
I noticed that the example URL from the Notes client help searches multiple databases via 'SearchSite' and in my URL I only search one view with 'SearchView', but I can't imagine that the syntax is different for the two functions.
So anybody got an idea, how to solve this?
Thanks,
Frank

Query all fields in web documents w... (Frank Starfield... 10.Jan.06)
. . 