Personally, I think the whole # and ? thing needs to be rethought.
With any kind of complex query, the URL's get very very ugly, and very
long. Something more like the old TEXTSEARCH method, done on the
server side might be a whole lot better. The server could send back
hit occurence data in the headers returned with the retreived text,
and the client could use such data for highlighting, and also
scrolling purposes.