[Xapian-discuss] Search term not found.

Jim Lynch jwl at sgi.com
Wed Sep 15 13:57:50 BST 2004


The document is there.  The database is closed24.  I get hits on it 
using the first two terms, so the db has the document in it or else I 
wouldn't get the hits with the first two terms, wouldn't I?

Interesting that running with just that db I get a different document 
not found.

<oasisminus 232> ./omega.cgi
omega - omega 0.8.2 (compiled Sep 14 2004 11:20:46)
Enter NAME=VALUE lines, end with blank line
FMT=xml
SORT=1
xFILTERS=--O
DB=closed24
DEFAULTOP=and
P="b0026247"

Exception: Document 268973992 not found.

So what do I have to do to fix the problem?  Reindex the whole thing?  
FYI, I indexed most of it with 0.8.1 and some with 0.8.2 if that makes 
any difference.  This is on an Irix system running the latest OS and 
MIPS compilers..

Thanks,
Jim.

PS I still get the prelinker problem with Omega 0.8.2, but the fix I 
mentioned a while back doesn't work any longer.  I have to manually 
insert a line in the Makefile after configure creates it.  Is there 
somewhere you'd like me to document the fix?

Olly Betts wrote:

>On Tue, Sep 14, 2004 at 03:50:19PM -0400, Jim Lynch wrote:
>  
>
>>I've got a search that is failing.  I'm searching for 3 terms, anded 
>>together.  One of the terms is b0026247.  I'm wondering if I have to do 
>>something special to index terms containing number and letters?
>>    
>>
>
>Nope.
>
>  
>
>>FMT=xml
>>SORT=1
>>xFILTERS=--O
>>DB=/closed20/closed21/closed22/closed23/closed24/closed25
>>DEFAULTOP=and
>>P=Brig Smith b0026247
>>
>>If I leave off the b0026247 term I get output from omega that is 
>>reasonable but with it in I get:
>>
>>omega - omega 0.8.2 (compiled Sep 14 2004 11:20:46)
>>Enter NAME=VALUE lines, end with blank line
>>FMT=xml
>>SORT=1
>>xFILTERS=--O
>>DB=/closed20/closed21/closed22/closed23/closed24/closed25
>>DEFAULTOP=and
>>P=Brig Smith b0026247
>>
>>Exception: Document 44933532 not found.
>>
>>Any ideas what's happening here?
>>    
>>
>
>Well, document 44933532 isn't being found!
>
>There's exactly one place than can produce that error message, and the
>document id given is the one in the underlying database, not the docid
>in the merged database.
>
>It sounds like a consistency error in one of the databases.  If you can
>keep everything else the same, but remove databases and see which is the
>problem.  You can probably binary chop - so try:
>
>DB=/closed20/closed21/closed22
>
>If that works, hopefully the rest will fail:
>
>DB=/closed23/closed24/closed25
>
>Assuming one or the other fails, try each of the 3 in there individually
>to see which is the problem.
>
>Adding the extra term is presumably bringing the problem document into
>the MSet - without b0026247 it will be hit 11 or lower.
>
>Cheers,
>    Olly
>
>_______________________________________________
>Xapian-discuss mailing list
>Xapian-discuss at lists.xapian.org
>http://lists.xapian.org/mailman/listinfo/xapian-discuss
>  
>




More information about the Xapian-discuss mailing list