GNU bug report logs -
#60410
[PATCH 0/7] mumi: Boolean prefixes in xapian indexing and others
Previous Next
Full log
View this message in rfc822 format
Hi Arun,
> Some prefixes will only ever be used to filter the rest of the query
> and not for matching approximately using relevance weighting
> schemes. Such prefixes should be indexed as boolean prefixes.
[…]
> @@ -324,14 +328,14 @@ intact."
> ;; prefixes for field search.
> (query (parse-query* querystring*
> #:stemmer (make-stem "en")
> - #:prefixes '(("submitter" . "A")
> - ("author" . "XA")
> - ("subject" . "S")
> - ("owner" . "XO")
> - ("severity" . "XS")
> - ("tag" . "XT")
> - ("status" . "XSTATUS")
> - ("msgid" . "XU"))))
> + #:prefixes '(("subject" . "S"))
> + #:boolean-prefixes '(("author" . "XA")
> + ("msgid" . "XU")
> + ("owner" . "XO")
> + ("severity" . "XS")
> + ("status" . "XSTATUS")
> + ("submitter" . "A")
> + ("tag" . "XT"))))
This breaks two tests, which allow searching for submitters with partial
names, e.g. “Ricardo” instead of my full name and email address.
I think we should move submitter, author, and owner back to the list of
regular prefixes.
--
Ricardo
This bug report was last modified 1 year and 118 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.