On Monday 05 December 2005 23:36, Erik Hatcher wrote: > On Dec 5, 2005, at 3:18 PM, Paul Elschot wrote: .. > > > > boosting: > > match: > > moreLikeThis(percent="0.25", docId="44"): > > compareField("contents") > > compareField("title") > > downgrade(demote="0.5"): > > simple("contents"): > > or: > > "ice hockey" > > puck > > rink > > > > > > Quite readable, but not so easy to parse. > > (One could even do away with the colons.) > > And this is basically YAML: http://www.yaml.org/start.html >
That does it, I'll never touch JavaCC again. Otoh, never say never... Regards, Paul Elschot --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]