Welcome to the IBM Collaboration Solutions Community IQJam.
UsernamePassword
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 - over 2 years ago |  |  | Viewed 89 times
File Name
search.gif

There are 3 answers

0votes
Marked as correct on11/12/09 2: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 - over 2 years 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 - over 2 years 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 - over 2 years 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