You can run IQJam in your company on your Domino server. Learn how...
Username: Password:
Reset Password | Register
 
Home | Leader Board | Tags | Help
Searching a view data source  
 
When using the search parameter in view data source it looks like (at least by default) that I need to enter "and" between words. is there a parameter I can set so it searches for all words entered. (like in notes/google)
 
when I look at the search function in iqjam, it seem to work.
 
Bild
 
Thanks
Thomas
 
 
Domino Development / XPages
Tagged
Thomas Adrian - 9 months ago |  |  | Viewed 75 times
File Name
search.gif

There are 3 Answers

0votes
Marked as correct on: 11/11/09 10:12 AM
Hi Thomas,
 
In the search in IQJam this is what we do: 

var words = searchString.split(" "); 
return @Implode("\"" + words + "\"", " OR ") 
 
Hope this helps. 
 
Matt 


Matt White - 9 months ago | 
Voting
Vote on the answer to show whether you think the answer is correct or useful to the rest of the community.

Answers with more votes are more visible to the rest of the community


0votes
Hi Thomas,
did this solve your problem? 
Where have i put this code?
Thanks  
jack 


jack elemsan - 8 months ago | 
Voting
Vote on the answer to show whether you think the answer is correct or useful to the rest of the community.

Answers with more votes are more visible to the rest of the community


0votes
Jack,  
 
Yes, the code provided by matt did solve my problem, 
I have no idea where you have put your code ;-) 
 


Thomas Adrian - 8 months ago | 
Voting
Vote on the answer to show whether you think the answer is correct or useful to the rest of the community.

Answers with more votes are more visible to the rest of the community


 

Latest Answers for Domino Development / XPages