sphinx

Lucene search results sort by custom order list (unique to each user)

I have authenticated users in my application who have access to a shared database of up to 500,000 items. Each of the users has their own public facing web site and needs the ability to prioritize the items on display (think upvote) on their own site. out of the 500,000 items they may only have up to 200 prioritized items, the order of ...

Other language support in Sphinx speech recognizer

I am analyzing Sphinx speech recognizer for one of our project. Requirement is to covert speech to text with support for 6 languages including English (US). Does someone have any idea whether this is possible in Sphinx or not? The reason we have chosen Sphinx is that we want the application compatible with Windows, Mac and Linux platfor...

show *only* docstring in Sphinx documentation

Sphinx has a feature called automethod that extracts the documentation from a method's docstring and embeds that into the documentation. But it not only embeds the docstring, but also the method signature (name + arguments). How do I embed only the docstring (excluding the method signature)? ref: http://sphinx.pocoo.org/ext/autodoc.html...

Sphinx II Recognition Read and Recognize

Hi, I'm trying to implement a speech recognizer client using Sphinx II, my goal is to have the someone reading a written sentence in a text and have a confidence score for each word. So for that I'm using Finite State Grammars and limited dictionary. I got something working, but the confidence score are very low (< 0.30). I'm using t...

Sphinx .net implementation

Is it possible to implementation Sphinx (full-text search) in .net - MSSQL Application. if so , any help how to implement the same, a small description will help a lot. ...

Getting excerpts from sphinx with the php api

I'm trying to get sphinx search to return excerpts of matched documents. I'm using http://code.google.com/p/sphinxsearch/source/browse/trunk/api/sphinxapi.php to speak with the sphinx daemon. At the moment I'm only getting back the following: [matches] => Array ( [28] => Array ( [weight] => 2 ...

Sphinx search engine, a couple of quick questions.

So, I'm just starting to read up on this, I've never implemented a search in PHP before. I have a couple of questions that I was wondering: By the sounds of things, Sphinx needs a 'daemon', a program running in the background, to operate? Say I built an index of a mySQL table, then a user uploads another record. For the searc...

Setting up Sphinx

Hehe, don't laugh at me, just trying to set up Sphinx on my local WAMP, I haven't done this before so I'm probably doing something silly. This is my sphinx.conf file: source code { type = mysql sql_host = localhost sql_user = root sql_pass = sql_db = **** sql_port = 3306 sql_query = SELECT id, language_id, c...

Primer on writing documentation with Sphinx?

I followed a tutorial that showed only how to build it, I have it up and running on my web host but I'm a bit confused on how I should be creating and writing documentation. So far I've made a small little edit to the index.rst file and made a new reference to a page, then it obviously complains that it's an "undefined label: foobarz "....

Performance comparison of sphinx:search fulltext vs. attribute

1.How much more efficient is sphinx doing in searching fulltext than by attribute? If attribute search is much slower,for better performance,I'm gonna prefix the attribute and append to fulltext search. But when it requires range search,only attribute search can apply. 2.How to conduct attribute range search by sphinxapi in PHP? ...

Sorting on full text columns in sphinx

Hi, I know you can sort by integer values in sphinx but is there a way I can get sphinx to sort by a text field alphabetically? I want to search on first name and instead of sorting on relevance, I'd like to sort by the first name alphabetically. I know I can do this in mysql but in mysql I don't have features like stemming (as far as...

how to remove html tags and php serialization info from mysql result without php?

I'm storing a PHP array where key=>value pairs are information used to build jQuery UI tabs on a website. The string stored in the MySQL database looks like: a:2:{i:0;a:2:{i:1;s:9:"Info";i:2;s:643:"<h2><strong>This section is about foo</strong></h2><p><strong>Lorem ipsum ...";}i:1;a:2:{i:1;s:14:"More Info";i:2;s:465:"<p>Lorem ipsum ......

categories dropdown for product search

I am having many products with many categories which are associated with has_many using memberships. I am trying to create a search box where any one can search products while also filter their search with a category dropdown (so only products with relevant categories can be retrieved). The thinking_sphinx index is in Product model I d...

Sphinx + tokyo Tyrant + mysql

I'm looking at creating a full text search engine for one of my projects. We have a Mysql, Tokyo Tyrant and file documents that need to be indexed. I'm looking at Sphinx right now but I can't figured out if I can use it to index every document. I know it's possible to let Sphinx to use Mysql but I'm looking at a way to let Sphinx inde...

Why should (or shouldn't) a Search Query return back only document IDs?

So for a new project, I'm building a system for an ecommerce site. The idea is to import products from suppliers and instead of inserting them directly into our catalog, we would store all the information in a staging area. Each supplier has their own stage (i.e. table in the database), and then I will flatten the multiple staging areas ...

How to use Sphinx auto-documentation when Python file won't compile

This question is even harder today because I haven't had any luck using the search function on the Sphinx homepage today. I have a group of modules that I want to be documented from the docstrings. However, these are not pure Python scripts. They won't compile as is, because they are run from a C# application that creates a new variable...

Getting WAV file transcription to work with Sphinx4

Hi, I've got Sphinx-4 installed on my windows XP system and JSAPI set up. I'd like to transcribe an English spoken WAV (or MP3) file to text. When I run the "WavFile" demo - it runs successfully. java -jar WavFile.jar But, when I pass my own wav file like this: java -jar WavFile.jar c:\test.wav I get: Loading Recognizer...

How to upload html documentation generated from sphinx to github?

I just documented loads of my code and learnt how to use sphinx to generate the documentation. I want to include that into my github project page but I do not know how to. Does anyone know existing tutorial or simple step to do so? Thanks. ...

find nearest cities that have listings (businesses)

I have two data sources already in Sphinx: source cities { ... sql_query = SELECT id, city_name, state_name, state_abbr, latitude, longitude, population FROM cities; sql_attr_uint = population sql_attr_float = latitude sql_attr_float = longitude ... } source listings { ... sql_query = SE...

Using Sphinx to write personal websites and blogs

Sphinx is a Python library to generate nice documentation from a set of ReST formatted text files. I wonder if any one has written Sphinx plugins to make it generate personal websites and blogs. Especially for blogs, there needs to be a way to automatically list posts chronologically and generate a RSS feed. One needs to write a Sphinx...