I am using ultraspinx rails plugin in a project to handle the search module.
Sphinx uses more than one model for searching the content(for eg: Discussion and Comments). I need to sort the output by created at descending, which is available in both models. While searching in internet I found that we need to use the following options with...
I get always results if I search for a keyword (here I have large database) and the problem is, that the results are not always good and therefore I would like to increase hit rate to exlude bad results.
I need higher quality of results!
Thank you for your advice!
...
I'm trying to get Thinking Sphinx to work in test mode in Rails. Basically this:
ThinkingSphinx::Test.init
ThinkingSphinx::Test.start
freezes and never comes back.
My test and devel configuration is the same for test and devel:
dry_setting: &dry_setting
adapter: mysql
host: localhost
encoding: utf8
username: rails
password...
I've installed the sphinx binaries and libraries and am now trying to install the PECL sphinx module.
My system is running OS X 10.6 with MAMP 1.8.2 installed. I try to install sphinx using the following command:
sudo pecl install sphinx
The PECL command outputs the following:
running: phpize
Configuring for:
PHP Api Version: ...
Hi,
I've been documenting a software package using Sphinx and reStructuredText.
Within my documents, there are some long code snippets. I want to be able to have them hidden as default, with a little "Show\Hide" button that would expand them (Example).
Is there a standard way to do that? If not, I think I will suggest this feature to...
I'm trying to make this fragment work:
Version History
---------------
These are the versions over time::
.. include:: ../../CHANGES.txt
That is, use the include directive so that a file is included as a block quote. Once inside a block quote, the directive is quoted. I want the contents of the file in a block quote.
Any ide...
I hate RST but love sphinx. Is there a way that sphinx reads markdown instead of reStructuredText?
...
My doc strings have references to other python classes that I've defined. Every time Sphinx encounters one of these classes, I want it to insert a link to the documentation for that other class. Is this possible in Sphinx?
Specifically, I have a doc string like:
'''This class contains a bunch of Foo objects'''
I could write:
'''Th...
In some sphinx docs I am writing, I am including code samples from an ancillary file like so:
.. literalinclude:: mymodule.py
:pyobject: MyClass
:linenos:
This particular doc is a tutorial, where the classes are build up step by step. What I would like to do is include the entire class or a single method, and emphasize only the ...
I'm doing a Sphinx search but turning up some really weird results. Any help is appreciated.
So for example if I type "50", I get:
50 Cent
50 Lions
50 Foot Wave, etc.
This is great, but when I search "50 Ce", I get:
Ryczące Dwudziestki
Spisek
Bernhard Gal
Cowabunga Go-Go
And other crazy results. Also when I search for "50 Cent",...
How can I cross-reference an indexed item inside a reStructuredText document?
For example, how can I cross-reference SectionB:
.. index::
pair: SectionA; SectionB
SectionB
--------
SectionB description.
I tried using :ref:'SectionB' and :index:'SectionB' but they don't work.
Thanks.
...
I install a sphinx search engine a couple months ago, as time pass, I don't remember that sphinx version I installed.
how to check my system sphinx version?
...
I'm deciding how to split 3 large sphinx indexes between 3 servers. Each of the 3 indexes is searched separately.
What's more effective in terms of performance (speed of search):
to host each index on separate machine
Example
machine1 - index1
machine2 - index2
machine3 - index3
or to split each index into 3 parts and host each ...
I want to see how sphinx actually works,has anyone tried this?
...
According to the Thinking Sphinx docs...
Turning on delta indexing does not
remove the need for regularly running
a full re-index ...
So I set up this cron job...
50 10 * * * cd /var/www/my_app/current
&& /opt/ruby/bin/rake thinking_sphinx:index RAILS_ENV=production
>> /var/www/my_app/current/log/reindexing.log 2>&1
Is...
To name a few:
`__debugbreak' was not declared in this scope sphinx.cpp /sp/src line 146 C/C++ Problem
`__rdtsc' was not declared in this scope sphinx.cpp /sp/src line 452 C/C++ Problem
`__stat64' does not name a type sphinx.cpp /sp/src line 15963 C/C++ Problem
Are you familiar with the error info?Is there something I...
Hello:
I have a note table with columns:
title :string
content :text
rating :integer
and a thinking_sphinx configuration:
define_index do
indexes :title, :sortable => true
indexes :content
end
Then I can search the notes and assign weights to title and content to define the order or the result:
Note.search "abc", :match_mode...
I have a MySQL/Rails app that needs search. Here's some info about the data:
Users search within their own data only, so searches are narrowed down by user_id to begin with.
Each user will have up to about five thousand records (they accumulate over time).
I wrote out a typical user's records to a text file. The file size is 2.9 MB.
Se...
Following up on my last year's question on documentation, I now want to get started and try out Python-based Sphinx for putting together the developer documentation for a PHP CMS I've been working on.
Instead of setting up Python locally on my workstation, I would like to run it on a publicly accessible web server from the start. All th...
I am using -- http://sphinxsearch.com/ . Its working fine for me except one problem. I need to exclude some entries where a specific field doesn't contain a word.
Something that would look like this in mysql:
Select * from table where yescolumn = 'query' and othercolumn not like '%keyword%'
Please help. Thanks.
...