keywordindex catalog
I need an example on how to use keywordindex. what is the code for an html form to fill it? how do I search with "or" and "and" in this index? I need some example as html form and simple script. I can find a record only if all the keywords are in the catalog. Sorry for my bad english :( ________________________________________________ Message sent using ALFANET Caorle WEBMAIL 1.0
Yurj wrote:
I can find a record only if all the keywords are in the catalog.
I think that you must use 'lines' property type to specify a list of different keywords, not 'string'. Using lines you obtain something like: ['AAA', 'BBB', 'CCC', 'AAA BBB', 'AAA CCC'], while with string you must handle this kind of list: ['AAA, BBB, CCC, AAA BBB, AAA CCC']. Does this solve the problem? If you need i can provide some code snippets too. -paolo P.S.: please, if it would be possible, next time don't fork the discussion in two different lists!
participants (2)
-
Paolo Dina -
Yurj