[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Is exact subject searching possible
- From: Earl Hood <earl@xxxxxxxxxxxx>
- Date: Sat, 31 Aug 2002 00:38:24 -0500
- X-ml-name: namazu-users-en
- X-mail-count: 00348
I'm trying to see if namazu can be used to provide same-subject listings
(Bfor a given message in a mail archive indexed with namazu. For example,
(Bif the subject of the message is,
(B Namazu is cool
(BI would have a link like "[More with this subject...]" that would
(Binvoke namazu.cgi with the following query:
(B +subject:"Namazu is cool"
(BThe problem I am having is when the subject contains quotes. For
(B Hello "World!"
(BNamazu uses quotes for phrase searching, so the following will
(Bdefinitely not work:
(B +subject:"Hello "World!""
(BI tried the following:
(B +subject:"Hello World!"
(B(i.e. remove the quotes in the subject text)
(Bbut it does not work also.
(BIs there a way to escape quotations in namazu? I tried backslashes,
(Bbut got nothing.
(BWill I have to do something like the following:
(B +subject:Hello +subject:World
(Bwhich could get ugly if the subject is long and causes more
(Bwork to be done in the search process.
(BBTW, I have noticed that quotes in subject text is preserved
(Bin NMZ.field.subject. Is the best solution to access the
(BNMZ.field.* files directly, as documented at
(B<http://www.namazu.org/doc/nmz.html.en>, for what I need?
(BThis relates to a questions I had in a previous question,
(B"How stable are the file formats used by Namazu?" In my case,
(BI am only concerned about the NMZ.field.* files.