I am going by Marklogic Tutorial for Oscars to develop an application for my documents that I have ingested in the database. What I am not able to understand is that though the Search box performs autocomplete, but it doesnot do that for elements..i.e if I type Cha...then it should start suggesting all names starting with Cha..sucha as Charles, Charley etc.
As shown in figure: I can write Decade(which will get autocompleted..) and select one among 1920s..1930s..etc. But I dont want to specify Field name as such.I just want to type actor name and it should provide auto suggest on that...
I have looked for it in the documentation where it says that search:suggest function can do this; but I am new to xquery etc and dont know how to proceed...
Do I need to modify this function or add something to it?How?