sphinx

Why is my interface is not showing when i run the project?

i have configured the Sphinx and i have used Main thread to do the recognition part. so that i can avoid the buttons. so currently my design is when the application runs it will check any voice recognition and prompt in the labels. but when i run the project it dont display the interface of the application. only the frame shows. here i...

How does Python's website generate its online documentation?

Created using Sphinx 0.6.5. I know Python's documentation uses reStructuredText, but it has different sections like http://docs.python.org/whatsnew/2.6.html and http://docs.python.org/tutorial/index.html. How do you do this in reStructuredText? Do you run rst2html in a bunch of directories, keeping its structure? I know that it us...

Ultrasphinx and Rails: Completely wrong results - Why?

Hey, I'm using Ultrasphinx for searching on a Rails App. Everything seems to be working, the only thing is that the search results are not matching the search query in any way. I really don't understand this. I rebuilt my indexes and config files several times and nothing seems to work. When I perform a search for "test" I get results ...

Spelling correction in Sphinx?

Hello. I was about to integrate the Sphinx-based search into the website, but I've found that there's no built support for spelling correction. Folks on the web suggest using pspell or other third-party libraries to get things done, but the problem is the data I'm going to search in, contains mostly "technical" terms like brand names, t...

Is it possible to use Sphinx search with dynamic conditions?

In my web app I need to perform 3 types of searching on items table with the following conditions: items.is_public = 1 (use title field for indexing) - a lot of results can be retrieved(cardinality is much higher than in other cases) items.category_id = {X} (use title + private_notes fields for indexing) - usually less than 100 results...

Sphinx search: failed to unpack mysqlcompress column

I have compiled sphinx 0.9.9 for debian x64. When I try to index using unpack_mysqlcompress, I get this error: "WARNING: failed to unpack column 'page_text', error=-5" The 'page_text' field is around 5Kb, and unpack_mysqlcompress_maxsize is set to 64M, yet the zlib manual says error -5 indicates Z_BUF_ERROR. Also if mysql does the deco...

How would Sphinx Search index / handle JSON files?

I have a mysql database that stores mainly JSON objects. I am thinking of using Sphinx to search through it - but i was wondering how would i index and retrieve these json objects? ...

Suggest Sphinx index scheme

Hi. In a MySQL database I have documents of different type: some have text content, meta keys, descriptions, others have code, SKU number, size and brand name and so on. The problem is, I have to search something in all of these documents and then display a single page, where the results will be grouped by the document type, such as help...

MySQL Full-Text Search Across Multiple Tables - Quick/Long Solution?

Hello all, I have been doing a bit of research on full-text searches as we realized a series of LIKE statements are terrible. My first find was MySQL full-text searches. I tried to implement this and it worked on one table, failed when I was trying to join multiple tables, and so I consulted stackoverflow's articles (look at the end for...

Python doctests / sphinx : style guide, how to use those and have a readable code ?

Hi ! I love doctests, it is the only testing framwork I use, because it is so quick to write, and because used with sphinx it makes such great documentations with almost no effort... However, very often, I end-up doing things like this : """ Descriptions ============= bla bla bla ... >>> test 1 bla bla bla + tests tests test...

Pocket Sphinx on Android

What are the steps required to use PocketSphinx on Android? I have found various hints around the web that it is possible, but not real answers and hence I ask my question here. ...

Include a text file *as is* in (Python) Sphinx Docs

(using Python-Sphinx Documentation tool) I have a .txt log file I'd like to build into _build/html unaltered. What do I need to alter in conf.py, index.rst, etc. Here is the layout: src/ index.rst some_doc.rst somefile.txt How do I get somefile.txt into the html build? I tried adding a line like this to index.rst: Con...

how to setup the sphinx4 with notepad

Hi there, can any one please help me how to setup sphinx4 with notepad. It's being few days now that I m trying to run the HelloWorld example and it doesn't work. I have set all the libs in ../jre/lib/ext folder but I still get the following error. *Exception in thread "main" java.lang.NoClassDefFoundError: edu/cmu/sphinx/util/p rops/C...

Sphinx non-fulltext, integer only search

Hello guys, I've got a few tables that literally only hold integers, no "words" and for some reason Sphinx is unable to hold this data in it's library. Just returns "0 bytes" errors for these indexes. Is it possible to do this? If so, how? Below is an example from my Sphinx.conf for one that fails. source track { type = mysql s...

How to restrict text search to a certain subset of the database ?

I have a large central database of around 1 million heavy records. In my app, for every user I would have a subset of rows from central table, which would be very small (probably 100 records each).When a particular user has logged in , I would want to search on this data set only. Example: Say I have a central database of all cars in t...

Thinking sphinx not rendering results in order of 'relevance'

Thinking sphinx documentation says that it automatically sorts the results based on relevance. What is its relevance metric ? How can we define our own relevance metric for the system ? Example : I have a db in which one entry is Windows XP & it contains a reference to Microsoft. I also have an entry for Microsoft itself. So when I quer...

Sphinx - Python modules, classes and functions Documentation

Hi everyone, I am trying to document my small project through sphinx which im recently trying to get familiar with. I read some tutorials and sphinx documentation but couldn't make it. Setup and configurations are ok! just have problems in using sphinx in a technical way. My table of content should look like this --- Overview ......

Does Sphinx handle content in asian languages well?

I'm thinking about using Sphinx as a search engine for my site. But since I have a lot of Korean content, and other languages like Chinese and Thai may follow, I wonder how well Sphinx can handle this type of content. ...

Unable to find sphinx.yml file

I am running rails 2.2.3 with mysql as database scheme & thinking sphinx installed as plugin. I am having two problems : 1) I am unable to find file confing/sphinx.yml. I just have a config/development.sphinx.conf 2) I have specified min_infix_len & enable_start property from define_index method of model. I also have checked developmen...

Thinking Sphinx - shows false positives even though delta indexing is used

This may have to do with Sphinx rather than Thinking Sphinx. I am using delta indexes. Lets say a record has text field contains word 'foo' Full indexing is done word 'foo' is removed from the record delta indexing is done Search for 'foo' The above record is returned even though it doesn't contain word 'foo' Expected Result: Above r...