function intvalArray(&$item, $key)
{
$item = intval($item);
}
array_walk($array, "intvalArray");
untested, but that's the idea.
I will have a play - thanks.
Quote:
Originally Posted by orban
Glad to hear it works for you!
Seems to Of the various hacks and atempts to solve the text search issue this one seems to have delivered on its goals. There are still a few things I don't understand and which would probably improve performance but overall it works well.
What do morphology and stopwords do / offer and how to best use them.
and
mem_limit = 256M
}
mem_limit for creating the index anyone have any views as to sensible optimum answer for this we are running this on a machine with 8Gb of RAM and as it started as 32M I didn't want to make it too big but it still complains it could be better
==============
Looking in the original configuration file I think I have a handle on the morphology, word_len and char set.
Would I be right in saying that the stopwords file is a list of words NOT to index?
If so does anyone have a good list of 2 and 3 letter words that can happily be removed from an index
==============
Looking on the sphinxsearch forums there is discussion on creating stop words and the indexer can produce list of most used words for you to work with ie
I assume it doesn't matter that sometimes the array will be one element long.
=====================================
Quote:
Originally Posted by orban
Quote:
Originally Posted by alanjay
Originally Posted by ALanJay One final question. Everything runs very quickly and smoothly except one search "Find Threads Started by User" which is extremly slow. Do you have the same problem with 3.6?
With or without key words?
If it's without it's using the default search and I can't really help with that.
Quote:
Originally Posted by Swamper Why not have that specific search just redirect to the standard vB search.php? It's fast.
Searches without keywords already are redirected to the default search.
Just curious "orban" having done some more checks when doing just a user "Find Threads Started by user" it is over a minute with the size of files we have - and from what you are saying this is the standard vB result. While once you add an addional key - search string it all works much faster as it is using Sphinx (is that right?).
Is there a reason you didn't code that using Sphinx?