Re: [greenstone-users] Phrase search oddities?

From Jonathan Gorman
DateTue, 13 Dec 2005 08:52:00 -0600 (Central Standard Time)
Subject Re: [greenstone-users] Phrase search oddities?
In-Reply-To (439E4E41-8080906-cs-waikato-ac-nz)
On Tue, 13 Dec 2005, Katherine Don wrote:

> Yes, our phrase searching is not the best is it?
> Due to the way the default indexer (MG) works, to do a phrase search we
> have to do a boolean (AND) query, then scan throught the text of the
> matches to look for a phrase.
> I don't know why "foo" "foo" doesn't work.

I spoke a bit soon perhaps. I tried this on some different libraries and
it seemed to work on most, but not all. Maybe a version bug. I'll look
into it more later.

> Anyway, I suggest you try using MGPP as the indexer instead. This does
> phrase searching properly.
> You can do all and some queries with phrases.

Hmmm, sounds interesting. I have a deadline fast approaching, so I
probably won't do it for this collection. It's something to keep in mind
for future searches.

> If you have customised your own interface, and can modify the query,
> then you can use teh correct syntax, and it will work fine. I can let
> you know what args to use if you are doing it this way.

I have customized the interface to some extent, including manipulating a
bit the search page layout.

> I hope this wasn't too confusing. Rebuild the collection using mgpp, try
> it out, see if you like it, then I can help you iron out any bugs.

As I mentioned a bit earlier I'm working with an unfortunate deadline ;).
But being the perfectionist that I am I'll probably attempt to go back
until I'm content with the project at some point in a month or two. So
I'll probably be back.

Thanks for the pointers though, it sounds very useful.

Jon Gorman