sphinx

Sphinx failed to read searchd response

I have strange behavior of Sphinx searchd. I used it with Python standard client on ubuntu 9.10 For same query it's can give normal response or can give broken package like this: failed to read searchd response (status=0,ver=1,len=278,read=72) this problem appears with 50% probability. I have test index with only 5 documents and defa...

Thinking Sphinx - sorting by a string attribute gets out of sync when changes are made

I have a "restaurants" table with a "name" column. I've defined the following index: indexes "REPLACE(UPPER(restaurants.name), 'THE ', '')", :as => :restaurant_name, :sortable => true ... because I want to sort the restaurant names without respect to the prefix "The ". My problem is that whenever one of these records is updated (in ...

Sphinx autodoc is not automatic enough

I'm trying to use Sphinx to document a 5,000+ line project in Python. It has about 7 base modules. As far as I know, In order to use autodoc I need to write code like this for each file in my project: .. automodule:: mods.set.tests :members: :show-inheritance: This is way too tedious because I have many files. It would be much...

Problem running Thinking Sphinx with Rails 2.3.5

Hi, I just installed Sphinx (distro: archlinux) downloading the source. Then I installed "Thinking Sphinx" plugin for Rails. I followed the official page setup and this Screencast from Ryan Bates, but when I try to index the models it gives me this error: $ rake thinking_sphinx:index (in /home/benoror/Dropbox/Proyectos/cotizahoy) Sph...

solr or sphinx? which is better?

I will use it to do full text search in my ruby on rails app. which is the best choice. solr use java to do this job. or sphix in ruby? ...

Sphinx in C++(Linux)

Hello Everyone, This time i want to implement Sphinx in C++ application in Linux. Please give me the API required to do the same or the concerned link will also do. Although i found many for PHP, however none for C++. I have also used GTKmm in my application. Thanks in advance. ...

Problem with Sphinx resultset larger than 16 MB in MySQL

Hello All, I am accessing a large indexed text dataset using sphinxse via MySQL. The size of resultset is on the order of gigabytes. However, I have noticed that MySQL stops the query with following error whenever the dataset is larger than 16MB: 1430 (HY000): There was a problem processing the query on the foreign data source. Data so...

how 2 use logmath twice in same form(sphinx4)

i have configured sphinx with netbeans and its wroking fine. but im using a button to do the process. but after it recognisers. i want to do the process again. but then it gives a error saying the "logmath instance is already present" and saying cannot open the microphone. can someone give me a solution. what i want to do is use speech ...

Thinking sphinx, has_one association

Hi, anybody, please, help me with Thinking_sphinx configuration. I have table profile1, which has_one profile2 and profile3. So i just need to index them both, but i can't. I tried indexes name indexes profile2(:name), :as => :profile2_name indexes profile3(:name), :as => :profile3_name has id What i m doing wrong? Thanks. ...

Fulltext search for django : Mysql not so bad ? (vs sphinx, xapian)

I am studying fulltext search engines for django. It must be simple to install, fast indexing, fast index update, not blocking while indexing, fast search. After reading many web pages, I put in short list : Mysql MYISAM fulltext, djapian/python-xapian, and django-sphinx I did not choose lucene because it seems complex, nor haystack as ...

Thinking Sphinx, complex sorting - how can I combine extended sort with expr sort?

I want to sort by expression, then by some attribute ascending, then by another attribute ascending. Something like this: :order => "(a < some constant) desc, b asc, c asc". How to get it? Extended sorting refuses to work because of <. Expr fails because of commas. I have managed to produce sorting equivalent to :order => "(a < some co...

Scalable Full Text Search With Per User Result Ordering

What options exist for creating a scalable, full text search with results that need to be sorted on a per user basis? This is for PHP/MySQL (Symfony/Doctrine as well, if relevant). In our case, we have a database of workouts that have been performed by users. The workouts that the user has done before should appear at the top of the res...

Issue with sql_range_step in shinx.conf with Sphinx

Hi, I have a pb with my declaration of sql_attr_multi in my Sphinx conf. I set : sql_attr_multi = uint surface_bien from ranged-query; \ SELECT annonce_id AS id, surface_bien FROM ann_info \ WHERE surface_bien BETWEEN $start AND $end; \ SELECT MIN(id),MAX(id) FROM ann_info When I update my indexes...

what is the best and easiest api for audio noise reduction

my application is voice recognition. and im using Sphinx and configured it with my application and working fine. i do need to find a proper API for noise reduction so that i can avoid distrotion in the wav file. my application is implemented using by java. can someone suggest me some good api's that i can use for my application ...

how to configure wienerfiltering in sphinx4

hi, i want to put noise filtering which is already in the sphinx4 to my application. is there any previous examples available. how to do it and all. what are the libraries and all. ...

Django sphinx works only after app restart.

Hi, I've set up django-sphinx in my project, which works perfectly only for some time. Later it always returns empty result set. Surprisingly restarting django app fixes it. And search works again but again only for short time (or very limiter number of queries). Heres my sphinx.conf: source src_questions { # data source type ...

Is there an intelligent editor for ReST files?

I'm just learning Sphinx, and I need to edit ReST files. Is there an intelligent editor for it? Like, an editor that gives me code coloration, easy indentation, code completion (hopefully), etc. ...

Solr vs. Sphinx for spatial search

I'm tasked with choosing the fulltext search engine we're going to be using on an upcoming projects. Based on what I've read, I'm leaning toward Solr, but I'm a little concerned about spatial search. In addition to some other parameters (keywords, category, etc.) we want to be able to specify a location and a maximum distance (e.g., with...

Sphinx automodule not willing to import Translation

I have a sneaking suspicion that Sphinx doesn't like my class Translation. When I try to do an automethod: .. automethod:: translations.models.Translation.new I get this warning: /Users/dash/Projects/zamboni/zamboni/docs/topics/translations.rst:39: (WARNING/2) autodoc can't import/find method 'translations.models.Translation.new',...

Sphinx: change column set for searching in runtime

I use Ultrasphinx gem plugin as a wrapper for accessing Sphinx search daemon. My model declaration: class Foo < ActiveRecord::Base is_indexed :fields => ['content', 'private_notes', 'user_id'] Client code: filters = {} if type == "private" # search only in `content` column filters['user_id'] = current_user.id else # se...