I think the best solution is to implement to "word position in doc" in the indexer.
Many people wants this, and many more will need it, and no workaround will be strong enough to satisfy everybody.
I'm sorry but I can't help development. But I can eventually help discussing this subject, if needed.
De: Ibon Aizpurua [SMTP:email@example.com]
Date: jeudi 17 février 2000 10:35
À: Multiple recipients of list
Objet: [SWISH-E] RE: Exact Phrase search
I think it's the best idea, so you don't touch the source code and if want
search normally (not phrase) it allows that and if you want search a phrase
you can detect the " " characters and execute the filter to search the exact
Another option (more complex but stronger) is write in the index the
word,file number and
position in this file as explain Nicolas.
I thinking seriously to program the second option, any questions????
> You can't do it formally. You will have to post process the result. It's
> as if you added a new filter that identifies matching documents. Swish-e
> will already have narrowed down the search though.
> Suppose you look for "Black Cat". You have swish-e look for black and cat
> (not case sensitive).
> Out of the resulting pages, you will have to do a new search on each
> document to match "Black Cat".
> That mean that all occurrences of black that do not match the case or not
> close to each other will have to be removed. Then you will show the
> remaining documents.
> Finally, notice that an exact match should not find a search sentence
> broken on 2 lines.. but you may wish to find it though.
> Stephane Meier
> -----Original Message-----
> From: firstname.lastname@example.org [mailto:email@example.com]
> Sent: 16 février 2000 17:58
> To: firstname.lastname@example.org
> Cc: email@example.com
> Subject: [SWISH-E] Exact Phrase search
> I have one big problem, as you know Swish-e doesn't search
> Exact phrases, but I need it necessarily....
> Has anybody done Exact Phrase Search???? Or any similar????
Received on Thu Feb 17 05:17:49 2000