Has anyone written a parser in ASP that turns a Google-syntax into Index Server language, either Dialect 1 or Dialect 2?
Basically it would, for example, turn
into something like (and I'm not too strong on the dialect yet)
Heck, I don't even know if those all belong on the same line or separate lines, or if that will even generate the right search... hence my hope that someone's already figured it out.
Please feel free to tell me how I'm screwing it up.
I'm hoping to use Google-style searches since my users are familiar with them. Learning a new syntax isn't going to help them much, if I can help it.
Basically it would, for example, turn
Code:
"american dream" goats camels +hairy -bald
Code:
@contents {phrase}american dream{/phrase}
@contents {freetext}goats camels{/freetext}
@contents {weight value = 1.0} hair
@contents !bald
I'm hoping to use Google-style searches since my users are familiar with them. Learning a new syntax isn't going to help them much, if I can help it.