Skip to main content.
home | support | download

Back to List Archive

[swish-e] Rép. : Re: delete some pdf from result

From: Benoît PAGES <ext.getronics.bpages(at)not-real.grandlyon.org>
Date: Wed Feb 14 2007 - 14:30:54 GMT
Thanks Peter,
 
All is OK !
 
I change my query with yours remarks.
 
Thanks a lot.
 
B. PAGES

>>> peter@peknet.com 14/02/2007 15:20 >>>


Benoît PAGES scribbled on 2/14/07 4:43 AM:
> Hello,
> 
> It's my first message and i have a bad english. I try to explain my
> problem.
> 
> I don't want post some PDF of result of my search. This PDF have string
> 'TYPEDOC:RAPPORT' on keywords property. My command is : 
> 
> /usr/local/bin/swish-e -f /local/swish-e/index/index.delibdev -w
> "(1995* or 1996* or 1997* or 1998* or 1999* or 2000* or 2001* or 2002*
> or 2003* or 2004* or 2005* or 2006* or 2007*)" -d '@@@@@' -H 1 -p
> subject keywords author -s subject asc keywords asc -b 1 -m 10 -x '%c
> @@@@@ %t @@@@@ %p @@@@@ %r @@@@@ %l @@@@@ %D @@@@@ @@@@@ @@@@@ \n'
> 
> How delete pdf with TYPEDOC:RAPPORT on keywords property ?
> 


I'll try and answer. Please let me know if my answer doesn't make sense.

(1) Make sure 'keywords' is defined as a MetaName as well as a PropertyName in 
your config file.

(2) Make sure the colon ':' is defined as a WordCharacter in your config file. 
Although this point is debate-able; I would probably instead not use ':' as a 
WordCharacter and just search for "TYPEDOC:RAPPORT" with the double-quotes, so 
that Swish-e treats it as a phrase.

(3) Change your query to give it two grouped conditions:

'(1995* or 1996* or 1997* or 1998* or 1999* or 2000* or 2001* or 2002*
or 2003* or 2004* or 2005* or 2006* or 2007*) AND (keywords = not 
"TYPEDOC:RAPPORT")'

-- 
Peter Karman . http://peknet.com/ . peter(at)not-real.peknet.com 
_______________________________________________
Users mailing list
Users@lists.swish-e.org 
http://lists.swish-e.org/listinfo/users 



_______________________________________________
Users mailing list
Users@lists.swish-e.org
http://lists.swish-e.org/listinfo/users
Received on Wed Feb 14 09:30:22 2007