From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: Indexed search with grep-like output Date: Mon, 14 Mar 2011 12:51:03 +0100 Message-ID: References: <831v4wpcue.fsf@gnu.org> <83wrmone2h.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1300103521 2592 80.91.229.12 (14 Mar 2011 11:52:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 14 Mar 2011 11:52:01 +0000 (UTC) Cc: srackham@gmail.com, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 14 12:51:56 2011 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Pz6JU-0000DS-KW for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2011 12:51:53 +0100 Original-Received: from localhost ([127.0.0.1]:39516 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pz6JS-0006UX-JC for ged-emacs-devel@m.gmane.org; Mon, 14 Mar 2011 07:51:50 -0400 Original-Received: from [140.186.70.92] (port=39032 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Pz6JA-0006EC-V9 for emacs-devel@gnu.org; Mon, 14 Mar 2011 07:51:41 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Pz6J3-0003x9-FM for emacs-devel@gnu.org; Mon, 14 Mar 2011 07:51:26 -0400 Original-Received: from mail-ew0-f41.google.com ([209.85.215.41]:48821) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Pz6J2-0003wj-9e; Mon, 14 Mar 2011 07:51:24 -0400 Original-Received: by ewy9 with SMTP id 9so1597317ewy.0 for ; Mon, 14 Mar 2011 04:51:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type:content-transfer-encoding; bh=NYzDULxZVLz2DkBsBS/mM16FEGMKD3MmzWn8wk03moQ=; b=a/UG+9SY3dDm44q9E06UVvCuhArqawNWP/+637p4gWk2eaxhIX8Uax/gEmhno+Cig5 cgegs/Gg3ObOCnNeAYSsxIB2Bfv7/I5SDXP9hlABUHaV2dTHsIhVfhc5qx5eg+oplbsQ rpUNHZ/XMl+WN8wOMduTcmqCg4yWGf6IWSaOk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; b=e94I1qavGudly2kIyWtwtKCtZN4qT2RLNwrWxbW30eUyxtoVeGnRezyLrn1MhHFRkc XPUuwJtvczw/q8vEM9xyxK6T8vb+RaFAd4skkvaPpry1ninm2eDyNCzWsaMnWzZ15371 vxFvXRDranvJjlqJwAjoU4arHv137CG0Sqons= Original-Received: by 10.213.19.18 with SMTP id y18mr2940038eba.60.1300103483090; Mon, 14 Mar 2011 04:51:23 -0700 (PDT) Original-Received: by 10.213.27.136 with HTTP; Mon, 14 Mar 2011 04:51:03 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.215.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:137213 Archived-At: On Mon, Mar 14, 2011 at 12:30 PM, Eli Zaretskii wrote: >> From: Lennart Borgman >> Date: Mon, 14 Mar 2011 01:14:30 +0100 >> Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org, srackham@gmail.com >> >> However I got another problem with docsearch. I want to do things like t= his >> >> =C2=A0 docsearch ext:pdf ext:org -a first second . >> >> If I use both ext:pdf and ext:org they should be OR-ed but I get no >> hits then. Do you have any idea what is wrong? > > Maybe it's a bug in docsearch. =C2=A0But why do you care in which documen= ts > the information lives? =C2=A0I never use the ext: query, precisely > _because_ I don't care and don't want to remember in what format the > info is stored and where. =C2=A0Just let it search everything, the search > is lightning fast anyway. Thanks. I just found another way to do they same query with Lucene syntax (which docindexer uses). It is sometimes easier to find what you want if you do not search all files= .