free open-source SQL full-text search engine

Need a hand?
+1-888-333-1345


Sphinx

Community

Services

Misc

 Subscribe in a reader

Tracked by ClickAider

Forums :: Register :: Login :: Forgot your password? :: Search

anonymous user


Random erratic behavior BuildExcerpts in 1.10-beta

Common forum | 1 | 2 | 3 | 4 | 5 | ... | 273 | 274 | 275 | 276 | next »» | Create new thread

Jon78

Name: Jon
Posts: 7

2010-07-29 15:00:16 | reply!


Hi,

Ever since upgrading to 1.10-beta the BuildExcerpts function shows weird behavior. Most
of the time it will correctly highlight keywords, but for short periods of time (minutes
on end) it forgets how to highlight. It doesn't forget completely; certain keywords will
work while other keywords only highlight in certain docs (for example in 'title'-docs and
not in 'content'-docs). Restarting searchd and/or Apache has no effect.

As said we run the beta searchd, the API (most recent) runs on a machine with Apache
2.2.3, PHP 5.2.0 and Xcache 1.3.0.

Thanks

shodan

Name: Andrew Aksyonoff
Posts: 4275

to: Jon78, 2010-08-05 13:21:52 | reply!


> Most of the time it will correctly highlight keywords, but for short periods of time
> (minutes on end) it forgets how to highlight.

How do we reproduce this?

Jon78

Name: Jon
Posts: 7

to: shodan, 2010-08-05 15:46:16 | reply!


> > Most of the time it will correctly highlight keywords, but for short periods of time
> (minutes on end) it forgets how to highlight.
>
> How do we reproduce this?

What would you need?

In my case 'reproducing' was hitting refresh until it stopped working. Nothing was out of
the ordinary when it happened. The server had plenty of memory, load wasn't spiking,
nothing was in the logs, etc.

We run quite a busy server (200K queries a day on multiple indices) so we had to
downgrade to 0.9.9.

girts_u

Name: Girts
Posts: 5

to: Jon78, 2010-08-27 11:50:09 | reply!


I also noticed wierd behaviour of BuildExcerpts. in 1.10 beta

When using SphinxQL CALL SNIPPETS method, server sometimes returns string without
highlights (it seems really random behaviour - I am refreshing page and sometimes the
string is highlighted, sometimes not). It seems (but I am not sure) that for longer texts
the probability of failing is higher.


I decided to switch to PHP API BuidExcerpts method, but I noticed that it doesn't work at
all - when I tried to call method, server was not responding (script kept waiting for
response until timed out), and for few minutes I was not able to make new connections to
searchd (after few minutes it resumed working normally).

It seems that this behaviour occurs when Sphinx is compiled with 64 bit document id mode
- I recompiled it without id64 and BuildExcerpts work perfectly. However CALL SNIPPETS
still behaves randomly.

Common forum | 1 | 2 | 3 | 4 | 5 | ... | 273 | 274 | 275 | 276 | next »» | Create new thread


Copyright © Sphinx Technologies Inc, 2009