Issue262

Title Ignore file content in 'All text' search
Priority feature Status resolved
Superseder Nosy List ajaksu2, amk, ezio.melotti, loewis, r.david.murray
Assigned To ezio.melotti Topics

Created on 2009-04-06.03:47:49 by ajaksu2, last changed 2010-07-25.19:00:45 by ezio.melotti.

Files
File name Uploaded Type Edit Remove
ignore_files_roundup.diff ajaksu2, 2009-04-06.03:49:16 text/x-diff
ignore_files_template.diff ajaksu2, 2009-04-06.03:47:49 text/x-diff
issue262.diff ezio.melotti, 2010-06-30.01:36:15 text/plain
Messages
msg1740 (view) Author: ezio.melotti Date: 2010-07-25.19:00:44
This has been fixed in r82976.
msg1704 (view) Author: ezio.melotti Date: 2010-06-30.01:36:15
This patch includes both the previous patches but, instead of adding a text field that allows to ignore any pair of "class:property", it just adds an "Ignore attachments" checkbox just under the "All text" field in the search page. The checkbox is checked by default, meaning that the content of the attachment is not included in the search. Searching in the attachment is also turned off from the default search (the one in the top-right corner).

Please review and comment.
msg1690 (view) Author: ezio.melotti Date: 2010-06-26.21:47:28
I thought about a few solutions to this problem. In the search page we could:
  1) Add an "Attachment" field just after the "All text" and "Title" fields in the search page, and change the "All text" field to either search only in the messages or messages and title. This is more complicated but more flexible.
  2) Have a single "Text" field with 3 check-boxes: "Messages", "Title", "Attachments". This won't allow searching different things in different places but it's easier to use.
  3) Just add a "search in attachments" check-box and change the "All text" search to search only in messages and titles.

The default search should just ignore files by default.
msg1301 (view) Author: ajaksu2 Date: 2009-04-06.03:49:16
This patch adds the ability to ignore "class:property" pairs to Roundup
(templating.py).
msg1300 (view) Author: ajaksu2 Date: 2009-04-06.03:47:49
Searching for terms using the top-right searchbox or the "All text" input in the
search page often includes spurious issues where the match is restricted to
attached files.

This patch offers an interface to allow excluding
"class:property,class1:property1" pairs from the results set. It can be used to,
e.g., find issues with 'atheos' anywhere except:
  in attached files ('file:content', the default);
  in issue titles ('issue:title');
  in attached files or in issue titles ('file:content,issue:title').

[1] http://mail.python.org/pipermail/tracker-discuss/2009-April/002058.html
History
Date User Action Args
2010-07-26 13:29:43techtoniklinkissue226 superseder
2010-07-25 19:00:45ezio.melottisetstatus: testing -> resolved
messages: + msg1740
2010-06-30 01:36:15ezio.melottisetstatus: chatting -> testing
assignedto: ezio.melotti
messages: + msg1704
files: + issue262.diff
2010-06-26 21:47:29ezio.melottisetnosy: + amk, loewis, ezio.melotti
messages: + msg1690
2009-04-06 03:49:16ajaksu2setfiles: + ignore_files_roundup.diff
status: unread -> chatting
messages: + msg1301
2009-04-06 03:47:49ajaksu2create