Page 1 of 1

Sphinx Results

Posted: 29 Oct 2015, 13:48
by bogomil
Hey Everybody,

so I managed to install the latest sphinx version and it seems that everything is running fine.

The Problem I have is that sphinx always returns all the data.
So I have for example 10.000 CVs and search them for keywords.
It will always return 10.000 matches.

Now I really dont know where to look for the problem.

Has anyone an idea ?

Re: Sphinx Results

Posted: 29 Oct 2015, 18:39
by RussH
Hi,

firstly wanted to check you're using the 'new' sphinx. https://github.com/opencats/OpenCATS/wi ... inx-search

secondly, drop to a command line and query sphinx from a command line. It'll be something straightforward.

thirdly, check that you have your delta cron job setup for incremental results.

Finally - post back with anything further!

Re: Sphinx Results

Posted: 30 Oct 2015, 07:30
by bogomil
Thank you for the quick reply.

Yes I followed the instructions you mentioned, kind of.

I installed installed sphinx like this: https://www.digitalocean.com/community/ ... untu-14-04

Then I configured the environment settings for Sphinx and saved the sphinx.conf.
I ran the indexer and set the cronjob.
A search via the Terminal
search –index catsindex "java"
resulted in;
search error: .
-bash:syntax error near unexpected token `c' ..

I am not sure what this means.

Thank you in advance

Re: Sphinx Results

Posted: 30 Oct 2015, 13:12
by bogomil
OK I managed to solve this Error message.
I needed to download bib in order to compile sphinx right.

But now I get the following Error when I search through the Terminal:
"search error: query too complex, not enough stack (thread_stack=-4000247K or higher required)"

I already changed the thread_stack to 20M but it keeps on asking for more.
Also now I always get 1000 results, no matter what I search.
And not all results are right...

Thanks in advance

Re: Sphinx Results

Posted: 30 Oct 2015, 14:47
by RussH
if that error is asking for 4000247Kb, then that's half a Gig! Surely can;t be right. I suspect something's gone wrong someplace. Can you start from scratch using the instructions for this project rather than digitalocean? I did follow them all when I posted them, so it's been all tested by me at least.

Re: Sphinx Results

Posted: 02 Nov 2015, 16:03
by bogomil
Ok, now everything is working fine!!
Thank you