lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Elschot <paul.elsc...@xs4all.nl>
Subject Re: "Advanced" query language
Date Mon, 05 Dec 2005 23:40:53 GMT
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: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message