sphinx

Thinking Sphinx - Roats Index Every Time a Model is Updated or Created, How to Stop?

Every-time I create or update a model in my Rails app, the following output occurs from Sphinx: Sphinx 0.9.8.1-release (r1533) Copyright (c) 2001-2008, Andrew Aksyonoff using config file '/Users/jason/development/projects/active/project/config/development.sphinx.conf'... indexing index 'ad_delta'... collected 17 docs, ...

Documenting module/class/function bodies in python sphinx docs

Is there a way with Sphinx documentation to output a function or class body (the code itself) with the autodoc feature? I'm using autodoc to much success. In addition to the docstrings getting pulled in to the documentation I want like a link to click for each function where it will show you the source... is that possible? This is about...

has anyone run sphinx from ant?

I'm using sphinx for some software documentation because it seems to work really well... but my project is a java project and I would like to run sphinx from an ant script. Has anyone written a custom ant task to call sphinx? ...

Search filenames in MySQL database table restricted by filetype?

Hello I have a MySQL database that I replicate from another server. The database contains a table with this columns ID, FileName and FileSize In the table there are more than 4'000'000 records. I want to make fast a search in FileName (varchar) column I found that I can use for this Sphinx search engine. The problem is that I want to...

Cross Referencing Databases on Fuzzy Data

I am currently working on project where I have to match up a large quantity of user-generated names with a separate list of the same names in a canonical format. The problem is that the user-generated names contains numerous misspellings, abbreviations, as well as simply invalid data, making it hard to do a cross-reference with the canon...

How to get combine results of all models using sphinx search

Recently i have implemented django-sphinx search on my website. It is working fine of each separate model. But now my client requirement has changed. He wants to display result as "Title" first from matching query then description and soon. But i think sphinx give result specific to each model but not gives combine result of all models...

Does Sphinx (or other third party) search engine work in my case or should I create my own?

I am creating a search function of my classifieds on my website. Here is some of the criteria I need to meet: When searching for 'bmw 520' only matches where these two words come in exactly this order is returned. not matches for only 'bmw' or only '520'. When searching for 'bmw 330ci' results as the above will be returned, but, WITH A...

MVA attributes in Sphinx

Can anybody help me understand the expected format of data for creating MVA (multi-value) attributes in Sphinx? I have a MySQL function which returns a row of comma-separated integers, collated with GROUP_CONCAT, as a blob. I have two further MVA attributes which collate the results of a JOIN statement, with GROUP_CONCAT, as a blob (as ...

Sphinx deleted documents

Hi everybody. I have this problem for a long time, and can't find a solution. I guess this might be something everybodys faced using Sphinx, but I cnanot get any usefull information. I have one index, and a delta. I queried in a php module both indexes, and then show the results. For each ID in the result, I create an object for the mo...

Unique keys for Sphinx along three vectors instead of two

I'm trying to implement thinking-sphinx across multiple 'sites' hosted under a single rails application. I'm working with the developer of thinking-sphinx to sort through the finer details and am making good progress, but I need help with a maths problem: Usually the formula for making a unique ID in a thinking-sphinx search index is to...

how to generate sphinx speech phonems and map them to a word

Hi, I want to develop a speech recognition engine in java using sphinx.My language is not english.Using an english language model produces unexpected results.I wanted to know if its possible to generate a list of phonems for my own language and use it map words in a dictionary.I dont know where to begin with this.Do i have to record pron...

Prioritize fields which start with search term using Sphinx (Thinking Sphinx) - or another full-text search engine.

I'm using sphinx and thinking sphinx to search a customer database. The customer metadata (emails, tels etc) are spread across multiple tables and sphinx indexes all notes on customers etc etc. The problem I'm having is that I want text fields which START with the search term to be displayed first in searches. i.e. a search for "hods" sh...

Sphinx requirements, would it work on my Webhostings provider ?

I am still searching for a search engine to be used on my webhosting-providers server (one.com) and still haven't found any. I have heard great things about Sphinx, what are the requirements to run it? I have read the manual, doesn't say much, seems like it should work... Just want to ask some professionals first. I dont have access t...

Creating a search over a mySQL database

I am trying to create a search for my website over a mySQL database. I started down the line of using Sphinx but was hesitant when learning that the index doesn't update in real time. I did see they have an almost real time update but I am concerned this doesn't fit my system well because new content is added to the database on a minute ...

External documentation for PHP, no DocBook

I need a documentation system for a PHP project and I wanted it to be able to integrate external documentation (use cases, project scope etc.) with the documentation generated from code comments. It seems that phpDocumentor has exactly the right feature set, but external documentation must be written in DocBook which is too complex for o...

Sphinx 0.6.3: The languages module cannot be found.

I receive the following error message when I try to use the sphinx-quickstart generated make.bat command: make html Error: The languages module cannot be found. Did you install Sphinx and its dependencies correctly? I tried running the sphinx-build command and received the same error. I am using Python 2.6.4 on Windows Vista. I ...

Images in admonitions/warnings/notices

I currently use Sphinx to generate LaTeX output which is turned into a PDF for book-style output using pdftex. Currently, I have notices, warnings, and other "admonitions" showing up inside a bounded box, in a style that looks a little like this: ----------------------------------- | Warning: lorem ipsum foozle | | fuzzle fuzz buz...

How do I get Sphinx to test code embedded in documentation?

If this code is a blockquote in my documentation, what do I need to do to make Sphinx run it when the documentation is generated? I tried adding .. testcode:: import datetime def today(): return datetime.datetime.now().date() if True: today() to one of the .rst sources and the Sphinx doctest extension to c...

How do I use multiple sources in one index in Sphinx?

The Sphinx config file hints to it supporting multiple sources for one index, how do I actually specify it? Here's the snippet from the config file: # document source(s) to index # multi-value, mandatory # document IDs must be globally unique across all sources source = src1 I've tried setting it in the following for...

PHP unpack question

list(,$nfields) = unpack ( "N*", substr ( $response, $p, 4 ) ); $p += 4; The question is, why "N*" if substr should return 4 bytes, and they will be unpacked as N? And why double assignment? UPD: This code is part of Sphinx native PHP connector. After some code hacking it became clear that this code extracts 4-byte integer. But logic ...