sunspot-rails
Can't connect to Sunspot server in Ubuntu server
I followed the steps in https://github.com/outoftime/sunspot/wiki/Adding-Sunspot-search-to-Rails-in-5-minutes-or-less to install & set up Sunspot search in Rails in a Mac OS and it is ok.[详细]
2023-03-15 13:08 分类:问答Rails Sunspot - Is it possible to retrieve a facet row by the value?
If I have a query facet (and therefore know the row\'s value), is it possible to retrieve a specific row from the facet based on the known value?[详细]
2023-03-14 07:10 分类:问答Sunspot: force index of parent model when updating child model
I am using Sunspot to generate alot of my apps indexes and overviews. In this app i have 2 models which have a parent/child one-to-many relationship. With Sunspot I index the number of childs a paren[详细]
2023-03-14 03:24 分类:问答Sunspot Solr - working with facets
I have setup faceted search using Sunspot, SOLR. Like this: for row in @search.facet(:facet_id).rows link_to row.instance.name, :url_for(:search => params[:q], :facet_id => row.value)[详细]
2023-03-13 03:10 分类:问答Searching with Sunspot returns all results in db
Inside StreamPage i have defined this code for searching searchable do text :html, :stored => true, :boost => 2[详细]
2023-03-12 12:46 分类:问答Solr Sunspot non-indexed field
Solr (via Lucene) supports different ways to indicate the way a field is indexed in a document: indexed, tokenized, stored,...[详细]
2023-03-08 04:52 分类:问答Sunspot Index Only When Searchable Fields Change
We are using sunspot for search in our latest project. We also use devise and are开发者_如何学运维 indexing our user model as follows:[详细]
2023-03-07 02:51 分类:问答sunspot with jruby
Hi can sunspot be used with jruby, also here is my app details jruby-1.6.1 rails 3.0.7 when i install all the gems and run rake sunspot:solr:start it gives me the following error[详细]
2023-03-05 07:53 分类:问答Sunspot `LIKE` query
I\'m using sunspot. How can I run a LIKE query (LIKE %q%)? I would like to do something like this: @search = Sunspot.search(User) do |q|[详细]
2023-03-05 03:40 分类:问答Connecting a rails application with sunspot to a tomcat/solr server with authorization
Okay, so I have a separate server with solr and this connects perfectly fine with the app. Using the usual sunspot.yml we 开发者_运维技巧have something like:[详细]
2023-02-22 23:23 分类:问答