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 <Michael>
Date: Mon, 24 Mar 2014 15:32:36 -0500
Also keep in mind that I am going to be searching for thousands of PDF docs in my database so I need a reliable search code format that isn't going to crash on me every time I run a search. 

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
Received on Mon Mar 24 2014 - 20:32:38 GMT