[Isis-users] Search error

De Smet Egbert egbert.desmet at uantwerpen.be
Mon May 20 20:06:16 CEST 2019


Hello,


I immediately noticed that your PFT uses several instances of "if npost(['article']", which also requires access to the Inverted File of the article-database. Therefore the article-database needs to be referred to in the .par or .def files of your database. I think this explains the problem you reported.


Egbert de Smet
Universiteit Antwerpen


________________________________
From: isis-users <isis-users-bounces+egbert.desmet=ua.ac.be at iccisis.org> on behalf of Francisco Tamor <fttamor at yahoo.com>
Sent: Monday, May 20, 2019 7:43 PM
To: Isis-users; Piet De Keyser
Subject: Re: [Isis-users] Search error

Hi,

Below is the article.pft. Search and displaying the results work fine before I added the links (related works) to the author and subject.

'<table border=0 width=800px>'
'<tr><td width=20% valign=top align=right><font face=arial size=2 color="#000080"><b>MFN :</b></td><td valign=top><font face=arial size=2 color="red">'mfn(5),'</td>'

if p(v245) then '<tr><td width=20% valign=top align=right><font face=arial size=2 color="#000080"><b>Title :</b></td><td valign=top><font face=arial size=2>'v245+|<br>|,'</td>' fi/

if p(v100) then '<tr><td width=20% valign=top align=right><font face=arial size=2 color="#000080"><b>Author :</b></td><td valign=top id="v100"><font face=arial size=2>',if npost(['article'],'AU_'v100)>1 then (v100,'<a href="/cgi-bin/wxis.exe/iah/scripts/?IsisScript=iah.xis&lang=en&base=article&nextAction=lnk&exprSearch=',s(mpu,v100,mpl),'&indexSearch=AU" target=new>','(',f(npost(['article'],'AU_'v100),1,0),' related works)</a><br>') else | |v100, if iocc<>nocc(v100) then '<br>' fi/, fi,'</td></tr>' fi/

if p(v700) then '<tr><td width=20% valign=top align=right><font face=arial size=2 color="#000080"><b>Contributor(s) :</b></td><td valign=top id="v700"><font face=arial size=2>'if npost(['article'],'AU_'v700)>1 then (v700,'<a href="/cgi-bin/wxis.exe/iah/scripts/?IsisScript=iah.xis&lang=en&base=article&nextAction=lnk&exprSearch=',s(mpu,v700,mpl),'&indexSearch=AU" target=new>','(',f(npost(['article'],'AU_'v700),1,0),' related works)</a><br>') else |<br>|+v700, if iocc<>nocc(v700) then '<br>' fi/, fi,'</td></tr>' fi/

if p(v650) then '<tr><td width=20% valign=top align=right><font face=arial size=2 color="#000080"><b>Subject(s) :</b></td><td valign=top id="v650"><font face=arial size=2>'if npost(['article'],'SU_'v650)>1 then (v650,'<a href="/cgi-bin/wxis.exe/iah/scripts/?IsisScript=iah.xis&lang=en&base=article&nextAction=lnk&exprSearch=',s(mpu,v650,mpl),'&indexSearch=SU" target=new>','(',f(npost(['article'],'SU_'v650),1,0),' similar subject heading)</a><br>') else |<br>|+v650, if iocc<>nocc(v650) then '<br>' fi/, fi,'</td></tr>' fi/

if nocc(v990)=1 then '<tr><td width=20% valign=top align=right><font face=arial size=2 color="#000080"><b>PDF File :</b></td><td valign=top><font face=arial size=2><a href="/bases/article/'v990'" target=top>'v990*4'</a></td>' fi,

if nocc(v990)>1  then
('<tr><td width=20% valign=top align=right><font face=arial size=2 color="#000080"><b>PDF File :</b></td><td valign=top><font face=arial size=2><a href="/bases/article/'v990'" target=top>'v990*7'</a><br></td>'/) fi,

if nocc(v991)=1 then '<tr><td width=20% valign=top align=right><font face=arial size=2 color="#000080"><b>Image File :</b></td><td valign=top><font face=arial size=2><a href="/bases/article/'v991'" target=top>'v991*4'</a></td>' fi,

if nocc(v991)>1  then
('<tr><td width=20% valign=top align=right><font face=arial size=2 color="#000080"><b>Image File :</b></td><td valign=top><font face=arial size=2><a href="/bases/article/'v991'" target=top>'v991*4'</a><br></td>'/) fi,

'</table><p>'


On Monday, 20 May 2019, 2:56:24 am GMT+8, Piet De Keyser <piet.dekeyser at ucll.be> wrote:



Francisco,



I can’t find errors in you FST. You wrote about two problems:



  *   The links in the APAC to the author.
  *   The problems with the inverted file generation.



So: send us the syntax of the link to the author.

Try to index with a very very simple FST, e.g. 1 0 v245^a, and see what happens: is this working or not? Is so, then the error still is in the FST. If not, the error is somewhere else. In other words: you have to debug the situation step by step.



Piet de Keyser

Belgium







________________________________
Van: De Smet Egbert <egbert.desmet at uantwerpen.be>
Verzonden: Sunday, May 19, 2019 9:00:23 AM
Aan: Francisco Tamor; Isis-users; Piet De Keyser
Onderwerp: Re: [Isis-users] Search error


What about your PFT ? It uses REF(L()) I suppose ?


Egbert de Smet
Universiteit Antwerpen


________________________________
From: Francisco Tamor <fttamor at yahoo.com>
Sent: Friday, May 17, 2019 6:37 PM
To: Isis-users; De Smet Egbert; Piet De Keyser
Subject: Re: [Isis-users] Search error

Greetings!

Here is my FST:

22 0 mhl,v22
41 0 mpu, (|LN_|v41|%|/)
41 0 mhl, (v41|%|/)
100 0 mpu,(|AU_|v100/)
100 5 '/AU_/', (v100/), (v700/)
100 8 '/AU_/', (v100/), (v700/)
100 4 mpu, v100
245 4 mpu,(v245|%|/)/(v773|%|/)
245 8 mpu,'|KW_|',(v245|%|/)/(v773|%|/)
245 8 mpu,'|TX_|',(v245/)/(v773/)
245 0 mpu,(|TI_|v245|%|/)/
245 4 mhl, v245/
310 0 mpu, (|FQ_|v310|%|/)
650 1 mpu,(v650*4|%|/)
650 4 mpu,(v650*4|%|/)
650 4 mpu, (v650|%|/)
520 4 mpu,(v520*4|%|/)
650 0 mpu, (|SU_|v650|%|/)
650 1 mpu,(v650*4|%|/)
650 4 mpu,(v650*4|%|/)
650 5 mdu,'/SU_/' (v650*4|%|/)
650 5 '/SU_/', (v650/)
650 8 '/SU_/', (v650/)
773 0 mpu,(|TI_|v773/)/
773 4 mpu, v773
852 0 mpu, (|AC_|v852|%|/)
998 8 mpu,'|KW_|'(v100|%|/)
998 8 mpu,'|KW_|'(v650|%|/)
998 8 mpu,'|KW_|'(v700|%|/)
998 8 mpu,'|KW_|'(v520|%|/)
998 8 mpu,'|KW_|'(v245|%|/)
998 8 mpu,'|KW_|'(v773|%|/)
997 8 mpu, '|SU_|'(v650|%|/)
998 8 mdu,'/KW_/' (v650*4|%|/),
999 0 mpu, v100
999 8 mpu, '|AU_|'(v100|%|/)
999 8 mpu, '|AU_|'(v700|%|/)
999 0 mpu, (v700|%|/)



On Friday, 17 May 2019, 3:24:05 pm GMT+8, Piet De Keyser <piet.dekeyser at ucll.be> wrote:



Francisco,


Maybe there is an error in your FST. Can you send it to the list so that we can study it?


Piet de Keyser
Belgium
________________________________
Van: isis-users <isis-users-bounces+piet.dekeyser=ucll.be at iccisis.org> namens Francisco Tamor <fttamor at yahoo.com>
Verzonden: vrijdag 17 mei 2019 0:46:56
Aan: Isis-users; De Smet Egbert
Onderwerp: Re: [Isis-users] Search error

Actually, my database was running fine until I adopted the rda_opac.pft with hyperlinks to the author. Also, the Inverted File Generation (WXIS) won't work after doing the said pft. The error message is;

http://localhost:9090/cgi-bin/wxis.exe
WXIS|execution error|extract||
Full invertion: article WXIS|execution error|extract||

I am testing it in a localhost environment.


Thanks,
Francisco

On Friday, 17 May 2019, 4:40:49 am GMT+8, De Smet Egbert <egbert.desmet at uantwerpen.be> wrote:



This error means that it cannot find the Inverted File of the article database.

Maybe this database is referred to via a REF(L)) function in the PFT ? If so, make sure the .par file of your database has the article.* files referred to with their physical location.

I make this analysis because normally if a database is to be opened, the first file is the .xrf, while here the first file missing is reported as .cnt, so the database is accessed via its Inverted File (index), which is typically the case with REF(L)).


Otherwise give more details please.


Egbert de Smet
Universiteit Antwerpen


________________________________
From: isis-users <isis-users-bounces+egbert.desmet=ua.ac.be at iccisis.org> on behalf of Francisco Tamor <fttamor at yahoo.com>
Sent: Thursday, May 16, 2019 6:56 PM
To: Isis-users
Subject: [Isis-users] Search error

Dear Colleagues;

I have this error message when trying to search in iah:

WXIS|fatal error|unavoidable|dbxopen: article.cnt (2)|

I need help to resolve this  problem.

Thank you.

Francisco
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.iccisis.org/pipermail/isis-users/attachments/20190520/02ade780/attachment.html>


More information about the isis-users mailing list