Questions tagged [thinking-sphinx]

Thinking Sphinx is a Ruby library that connects ActiveRecord models to the Sphinx search service.

Thinking Sphinx is a Ruby library that connects ActiveRecord models to the Sphinx search service.

Sphinx is a very fast search engine that indexes data and provides flexible ways of searching it. Thinking Sphinx allows you to link up your models into Sphinx simply and painlessly, and provides an interpretation of search results into ActiveRecord model instances.

875 questions
0
votes
1 answer

Thinking Sphinx Search Box

I'm trying to get Thinking Sphinx running on my site but I'm not sure how to set up the search box and button for the index page. I have in my model: define_index do indexes :name indexes description where "approved = 'true'" end In my…
Mike
  • 1,190
  • 5
  • 13
  • 26
0
votes
1 answer

thinking_sphinx ERROR: index column number 1 has no name

I have followed RailsCast #120 to setup Sphinx and thinking_sphinx for a Rails 3 app. I am however using Windows. The index definition in my model looks like this: define_index do indexes miniresume, :as => :miniresume indexes…
0
votes
0 answers

Thinking Sphinx getting facet names of a model

I have a Rails app, and I need the facet names of a certain model. Is there a method to get all the facet names defined? Also it would be helpful to know the index names.
joeloui
  • 192
  • 1
  • 10
0
votes
1 answer

Sphinx Daemon returned error: query error: no field

If Set up Thinking Sphinx on my application now Everything was working fine Until I decide to do a conditions query with Thinking Sphinx PartPriceRecord.search "50002" ,:conditions => { :supplier_id => "supp50002" },:star => true and it reported me…
Viren
  • 5,812
  • 6
  • 45
  • 98
0
votes
1 answer

how to make the closer word have higher weight in sphinx

all I have a question, I'm using sphinx as search engine. for example, I have these data: aaa bbb ddd cdd aaa ddd bbb cdd aaa ddd and now, I'm searching aaa ddd I want the ese ones are all matched, and shows like that order: aaa ddd …
dexterdeng
  • 249
  • 3
  • 13
0
votes
3 answers

When to use sphinx search, when to use normal query?

I am using thinking_sphinx in Rails. As far as I know, Sphinx is used for full text search. Let's say I have these queries: keyword country sort order I use Sphinx for all the search above. However, when I am querying without keyword, but just…
Victor
  • 13,010
  • 18
  • 83
  • 146
0
votes
1 answer

Thinking_Sphinx Error in 'Report_Core'

I have a thinking-sphinx app and oddly enough the files in /db/sphinx/development/ have not been initialized. I have a separate app where they HAVE been, but I am not sure why. I don't recall doing anything different. Does anyone know how to…
Vasseurth
  • 6,354
  • 12
  • 53
  • 81
0
votes
2 answers

Thinking_Sphinx Partial Work Matches

I have a rails app with thinking_sphinx successfully working for indexing/searching. I was, however, wondering if there was a way to get partial work matches to search. Meaning if I have a report with title "Best Report" and I searched "Best" it…
Vasseurth
  • 6,354
  • 12
  • 53
  • 81
0
votes
0 answers

what is sql_field_str2wordcount?

What is sql_field_str2wordcount? I know it counts the number of words in a document in sphinx search. Im running a ruby on rails app with thinking sphinx to connect to a sphinx search enables mysql database. In which file I should set this…
beck03076
  • 3,268
  • 2
  • 27
  • 37
0
votes
2 answers

Thinking-Sphinx get value of joined field in search results

With this model: class Product < ActiveRecord::Base belongs_to :category define_index do join category indexes sku indexes category.name, :as => :category_name, :facet => true end end When I do: products =…
Sebtm
  • 7,002
  • 8
  • 29
  • 32
0
votes
1 answer

thinking sphinx issue on ec2 production server

I am using sphinx to search on models I am using delta indexing. Things work fine on my local development machine(Ubuntu). However on ec2 production env, when I create new records, I need to build the index again in order to make the newly created…
Sunny
  • 468
  • 6
  • 22
0
votes
2 answers

How do I get the search to use the attr_accessor?

Ok so i have a date field that i need to search on, but i need to search on it by day like in a mysql query search_conditions << ["DAY(open_date) != ?", event.thursday.day] if options[:thur].blank? and i need to do this condition with Thinking…
Matt Elhotiby
  • 43,028
  • 85
  • 218
  • 321
-1
votes
1 answer

Adding Search feature in Rails 3 application

I have developed a database backed application in Rails 3 www.pajamadeals.in . Now, I intend to include search feature in it. Where people can search books, instruments, etc. How do I implement search feature. Any gem or plugin recommendation?…
-1
votes
1 answer

Could not find rake-13.0.6 in any of the sources (Bundler::GemNotFound)

I've done a bit of gem updating on a project I'm working on due to git security complaints, and now I'm running into an issue: the web project page doesn't work with an error "Web application could not be started" and complaining that "Could not…
user3735111
  • 155
  • 2
  • 10
-1
votes
1 answer

Thinking Sphinx Rebuild, then whenever saving any page it does save, but return error

I did a rake thinking_sphinx:rebuild, then when I try to update any page/entry, it does save but it returns error. New data is saved, but the page returns error. What have I done wrong? Before I did the above command, things were working fine. I had…
Victor
  • 13,010
  • 18
  • 83
  • 146
1 2 3
58
59