Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #76  
Old 06 Oct 2006, 18:36
ubuntu-geek ubuntu-geek is offline
 
Join Date: Oct 2004
Ok going to try this out now..

Ok that seemed to clean up the assertion issue. Last issue it seems is..

Query failed: searchd error: invalid group5 count 272485 (should be in 0..4096 range).

Hmm ok this seems to be related to how the groupid is counted in the searchd.cpp hrm..

Last edited by ubuntu-geek; 06 Oct 2006 at 19:16.
Reply With Quote
  #77  
Old 06 Oct 2006, 19:30
mute mute is offline
 
Join Date: Dec 2002
Originally Posted by ubuntu-geek
Hmm got an interesting issue going on. When doing a search from forumdisplay i get this..

Warning: assert(): Assertion failed in /includes/sphinxapi.php on line 249
Query failed: searchd error: invalid or truncated request.
I'm getting this too. My searches don't appear to be hitting searchd, I'm trying to debug it now as well.

Do only searches that HIT searchd get logged in query.log? My searches from the command line are working fine, but I can't seem to get them to hit searchd anymore via my test site.

Ok, i added that last bit of code but it doesn't seem to be fixed for me. Here's the output of a search targeted to a specific forum:

SphinxClient Object ( [_host] => db2 [_port] => 3312 [_offset] => 0 [_limit] => 250 [_mode] => 0 [_weights] => Array ( [0] => 100 [1] => 1 ) [_groups] => Array ( [0] => 394 ) [_groups2] => Array ( ) [_groups3] => Array ( ) [_groups4] => Array ( ) [_groups5] => Array ( ) [_sort] => 1 [_min_id] => 0 [_max_id] => 4294967295 [_min_ts] => 0 [_max_ts] => 4294967295 [_min_gid] => 0 [_max_gid] => 4294967295 [_error] => searchd error: invalid or truncated request [_warning] => ) Query failed: searchd error: invalid or truncated request.

Last edited by mute; 06 Oct 2006 at 19:34. Reason: Automerged Doublepost
Reply With Quote
  #78  
Old 06 Oct 2006, 19:41
ubuntu-geek ubuntu-geek is offline
 
Join Date: Oct 2004
Originally Posted by mute
I'm getting this too. My searches don't appear to be hitting searchd, I'm trying to debug it now as well.

Do only searches that HIT searchd get logged in query.log? My searches from the command line are working fine, but I can't seem to get them to hit searchd anymore via my test site.

Ok, i added that last bit of code but it doesn't seem to be fixed for me. Here's the output of a search targeted to a specific forum:

SphinxClient Object ( [_host] => db2 [_port] => 3312 [_offset] => 0 [_limit] => 250 [_mode] => 0 [_weights] => Array ( [0] => 100 [1] => 1 ) [_groups] => Array ( [0] => 394 ) [_groups2] => Array ( ) [_groups3] => Array ( ) [_groups4] => Array ( ) [_groups5] => Array ( ) [_sort] => 1 [_min_id] => 0 [_max_id] => 4294967295 [_min_ts] => 0 [_max_ts] => 4294967295 [_min_gid] => 0 [_max_gid] => 4294967295 [_error] => searchd error: invalid or truncated request [_warning] => ) Query failed: searchd error: invalid or truncated request.
Same issue here..
Reply With Quote
  #79  
Old 06 Oct 2006, 19:42
mute mute is offline
 
Join Date: Dec 2002
Ok here's what is and isn't working for me:

1) Searching all open forums for keywords - Works
2) Searching in a specific forum by keyword - Does not work
3) Searching all open forums by username - Works
4) Searching in a specific forum by username - Works

Last edited by mute; 06 Oct 2006 at 19:51.
Reply With Quote
  #80  
Old 06 Oct 2006, 19:46
ubuntu-geek ubuntu-geek is offline
 
Join Date: Oct 2004
Originally Posted by mute
Ok here's what is and isn't working for me:

1) Searching all open forums for keywords - Works
2) Searching in a specific forum by username - Works
3) Searching all open forums by username - Works
4) Searching in a specific forum by keyword - Does not work
Exactly my issue.. what version of php do you run?
Reply With Quote
  #81  
Old 06 Oct 2006, 19:57
mute mute is offline
 
Join Date: Dec 2002
I'm using 5.1.5 at the moment. If I printout $forumchoice in sphinx.php, it is getting set, as well as making its way into the Sphinx request array.. I'm a bit puzzled.
Reply With Quote
  #82  
Old 06 Oct 2006, 20:32
ubuntu-geek ubuntu-geek is offline
 
Join Date: Oct 2004
Hmm nothing yet from me.. You making any progress?
Reply With Quote
  #83  
Old 06 Oct 2006, 20:41
mute mute is offline
 
Join Date: Dec 2002
nada
Reply With Quote
  #84  
Old 07 Oct 2006, 00:09
ubuntu-geek ubuntu-geek is offline
 
Join Date: Oct 2004
The one that puzzles me is..

Query failed: searchd error: invalid group5 count 271308 (should be in 0..4096 range).
Reply With Quote
  #85  
Old 07 Oct 2006, 00:29
ubuntu-geek ubuntu-geek is offline
 
Join Date: Oct 2004
No errors on the command line..
Reply With Quote
  #86  
Old 07 Oct 2006, 00:31
orban orban is offline
 
Join Date: Jan 2005
Try to use the sphinxapi.php from my tar.gz.....?

Download it again

I think I found the error...I fixed something in my sphinxapi.php and didn't copy it back to /api/

I'm so sorry

Last edited by orban; 07 Oct 2006 at 00:35.
Reply With Quote
  #87  
Old 07 Oct 2006, 00:36
ubuntu-geek ubuntu-geek is offline
 
Join Date: Oct 2004
sphinxapi from the gz worked perfect... Orban you rock! Can i send you a donation for this effort?
Reply With Quote
  #88  
Old 07 Oct 2006, 00:38
ubuntu-geek ubuntu-geek is offline
 
Join Date: Oct 2004
<- has had a few beers already.. Yeah i'll send them a donation for sure! Will you be updating this when 0.9.7 is released?
Reply With Quote
  #89  
Old 07 Oct 2006, 00:40
orban orban is offline
 
Join Date: Jan 2005
Sure thing.

I'll also try to to make "show as posts" "show as threads" happen, but just right now I don't see how it's possible. But you never know what I come up with
Reply With Quote
  #90  
Old 07 Oct 2006, 00:51
ubuntu-geek ubuntu-geek is offline
 
Join Date: Oct 2004
Right on..
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 12:19.

Layout Options | Width: Wide Color: