Skip to main content.
home | support | download

Back to List Archive

Re: [swish-e] FW: Question about searching for PDF documents using Swish-e

From: at <Roy>
Date: Tue, 25 Mar 2014 10:24:33 -0400
Except for calling swish-e itself, just use full pathnames everywhere

> On Mar 25, 2014, at 10:09 AM, Michael Lopez <mike123993(at)not-real.hotmail.com> wrote:
> 
> Hello Roy, 
> 
> This is Mike writing to you. Did you get my last couple of e-mails  regarding how to use Swish-e to search for PDF docs? I am really lost in what code to use in my config file and where to put the config file? 
> 
> Mike 
> 
> Date: Mon, 24 Mar 2014 13:51:31 -0700
> From: roytennant(at)not-real.gmail.com
> To: users(at)not-real.lists.swish-e.org
> Subject: Re: [swish-e] FW: Question about searching for PDF documents using	Swish-e
> 
> Yes, or else provide the entire path.
> 
> 
> On Mon, Mar 24, 2014 at 1:28 PM, Michael Lopez <mike123993(at)not-real.hotmail.com> wrote:
> err: Couldn't open the configuration file 'example9.config': No such file or directory
> 
> This is the error I got when I changed the IncludeConfigFile example9.config instead of swish-e.config and as you can see from the above errror it still didn't work. Do you need to be in the same directory as the example9.config file in order for this to work? 
> 
> Mike 
> 
> Date: Mon, 24 Mar 2014 12:48:56 -0700
> From: roytennant(at)not-real.gmail.com
> To: users(at)not-real.lists.swish-e.org
> Subject: Re: [swish-e] FW: Question about searching for PDF documents using	Swish-e
> 
> The 'swish-e -c swish-e.conf' will attempt to index whatever the configuration file "swish-e.conf" is setup to index. Since that configuration file doesn't reference the configuration file "example9.config", it must be in the configuration file referenced here:
> 
> IncludeConfigFile swish-e.config
> 
> If you don't need "example9.config", comment it out.
> Roy
> 
> 
> On Mon, Mar 24, 2014 at 12:40 PM, Michael Lopez <mike123993(at)not-real.hotmail.com> wrote:
> Okay I took a look at both of your links and I have no clue what I am doing. They are not really helping me. 
> 
> Here is my configuration file: 
> 
> 
> # Include our site-wide configuration settings:
> IncludeConfigFile swish-e.config
> 
> 
> # Define the program to run
> IndexDir ./example9.pl
> 
> 
> # Pass in the top-level directory to index
> # (here we specify the current directory)
> SwishProgParameters .
> 
> 
> # Swish can index a number of different types of documents.
> # .config are text, and .pdf are converted (filtered) to xml:
> IndexContents TXT .config
> IndexContents XML .pdf
> 
> 
> # Since the pdf2xml module generates xml for the PDF info fields and
> # for the PDF content, let's use MetaNames
> # Instead of specifying each metaname, let's let swish do it automatically.
> UndefinedMetaTags auto
> 
> 
> 
> # Show what's happening
> 
> IndexReport 3
> 
> 
> # end of example
> 
> I then configured it by doing the swish-e -c swish-e.conf command but all I got was this.
> 
> err: Couldn't open the configuration file 'example4.config': No such file or directory
> 
> What am I doing wrong? 
> 
> All i am trying to do is get PDF docs or words within a PDF to show up in my output. The anchors haven not been of any help. 
> 
> Mike 
> 
> 
> 
> > Date: Mon, 24 Mar 2014 12:35:19 -0500
> > From: peter(at)not-real.peknet.com
> > To: users(at)not-real.lists.swish-e.org
> > Subject: Re: [swish-e] FW: Question about searching for PDF documents using Swish-e
> > 
> > On 3/24/14 11:49 AM, Michael Lopez wrote:
> > 
> > >
> > > What would be the best way to search for a pdf within a directory or a
> > > word within a pdf directory? What is the correct anchor?
> > >
> > 
> > 
> > there are examples in the conf/ directory of the source distribution.
> > 
> > Look at http://dev.swish-e.org/browser/swish-e/trunk/conf/example9.config
> > 
> > for example.
> > 
> > 
> > -- 
> > Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com
> > _______________________________________________
> > Users mailing list
> > Users(at)not-real.lists.swish-e.org
> > http://lists.swish-e.org/listinfo/users
> 
> _______________________________________________
> Users mailing list
> Users(at)not-real.lists.swish-e.org
> http://lists.swish-e.org/listinfo/users
> 
> 
> 
> _______________________________________________ Users mailing list Users(at)not-real.lists.swish-e.org http://lists.swish-e.org/listinfo/users
> 
> _______________________________________________
> Users mailing list
> Users(at)not-real.lists.swish-e.org
> http://lists.swish-e.org/listinfo/users
> 
> 
> 
> _______________________________________________ Users mailing list Users(at)not-real.lists.swish-e.org http://lists.swish-e.org/listinfo/users
> _______________________________________________
> Users mailing list
> Users(at)not-real.lists.swish-e.org
> http://lists.swish-e.org/listinfo/users


_______________________________________________
Users mailing list
Users(at)not-real.lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Tue Mar 25 2014 - 14:24:41 GMT