Where did you put this code? NotesView.GetAllDocumentsByKey could be used to find all documents, that have those exact values in those exact fields (given that the order of columns is correct and that all columns are sorted). But it will return a NotesDocumentCollection and that won’t get you anywhere for displaying results to the user.
You could have an agent take this collection and print out all the required HTML for displaying the “result” to the user, but that would be a royal pain compared to really doing a fulltext search.
It would be a whole lot easier to just take the values from the input fields, build a search string like so
and then open a URL to search the view using the ?SearchView&query= URL command with the above parameters appended.
There are two downsides to consider: For this to work the database must have a fulltext index and the “equals” operator in the searchstring actually means “contains”.