ankit arora

ankit arora

  • NA
  • 1
  • 752

Google like search on Document Library using CAML

Sep 2 2015 10:53 AM
i have been making a CAML query search webPart, which already provides the cascaded  search on the documents through out the directory using CAML on Columns as metadata to search.
 
 
 
Now i want it to behave like GOOGLE Search no criteria defined just a text box to search  --> type anything relevant and the CAML should be so that it searches all the columns against the documents in the library and return those which matches anywhere. somewhere we call it  "full text search", mind it i am not desiring Content Search for now and not using sharePoint Search Services. 
 
Solution Approach 1: Just a thought
I concatenate all the metadata values against each document  and apply pattern matching logic (somewhat like KMP algorithm) on this concatenated set with the search statement entered in the search text box. I dont know should i go for it or not and how will i achieve it coz it might need permutation and combination of the concatenated metadata values?
 
any Solutions??? 
Plz help