anonymous user

Forums   Register   Login   Forgot your login/password?   Search

Very ugly error when indexing.

Common forum | 1 | 2 | 3 | 4 | 5 | ... | 449 | 450 | 451 | 452 | next »» | Create new thread

emilio

Name: Emilio
Posts: 29

2006-10-15 07:57:18 | reply!


I created an index with 2 sources -perhaps thats the reason?-.

In the index def. I included

.....
source = source1
source = source2
....

Havent found any info on how to list more than 1 source but after fiddeling this didnt
make the indexer complain.

But after fetching a few thousand documents it came up with:

using config file 'sphinx.conf'...
indexing index 'txt'...
collected 87882 docs, 187.6 MB
indexer: sphinx.cpp:2432: void CSphIndex_VLN::cidxHit(CSphFatHit*): Assertion `
hit->m_iWordPos > m_tLastHit.m_iWordPos' failed.
Aborted

... which looks ugly.

Any idea why this error is coming up.

josejot

Name: Jose
Posts: 30

to: emilio, 2006-10-17 04:15:10 | reply!


> I created an index with 2 sources -perhaps thats the reason?-.
>
> In the index def. I included
>
> .....
> source = source1
> source = source2
> ....
>
> Havent found any info on how to list more than 1 source but after fiddeling this didnt
> make the indexer complain.
>
> But after fetching a few thousand documents it came up with:
>
> using config file 'sphinx.conf'...
> indexing index 'txt'...
> collected 87882 docs, 187.6 MB
> indexer: sphinx.cpp:2432: void CSphIndex_VLN::cidxHit(CSphFatHit*): Assertion `
> hit->m_iWordPos > m_tLastHit.m_iWordPos' failed.
> Aborted
>
> ... which looks ugly.
>
> Any idea why this error is coming up.
>
>

Are you using 0.9.6 or a cvs snapshot of 0.9.7?

I am not sure but i think that the multisource indexes is planed for 0.9.7 version.

Regards, Jose

shodan

Name: Andrew Aksyonoff
Posts: 4348

to: emilio, 2006-10-17 19:36:37 | reply!


> source = source1
> source = source2

This is ok.

> indexer: sphinx.cpp:2432: void CSphIndex_VLN::cidxHit(CSphFatHit*):
> Assertion `hit->m_iWordPos > m_tLastHit.m_iWordPos' failed.

This should be due to overlapping IDs in these two sources. The ID must be globally
unique over entire document collection - even if it's fetched from multiple sources.

Common forum | 1 | 2 | 3 | 4 | 5 | ... | 449 | 450 | 451 | 452 | next »» | Create new thread