solrsan 0.5.4 → 0.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.md CHANGED
@@ -10,25 +10,12 @@ It'll be invaluable for knowing parameters and error messages.
10
10
  I made a few test cases for further examples at http://github.com/tc/solrsan/tree/master/test/unit
11
11
 
12
12
  ## HOWTO
13
- Install Jetty
13
+ Install Jetty/solr
14
14
 
15
15
  ```
16
- wget http://download.eclipse.org/jetty/7.5.4.v20111024/dist/jetty-distribution-7.5.4.v20111024.tar.gz"
17
- tar -zxvf jetty-distribution-*.tar.gz
18
- rm jetty-distribution-*.tar.gz
19
- sudo mv jetty-distribution-* /usr/local
20
- cd /usr/local
21
- sudo ln -s jetty-distribution-* jetty
22
- ```
23
-
24
- Install solr
25
-
26
- ```
27
- wget http://www.ecoficial.com/apachemirror/lucene/solr/3.4.0/apache-solr-3.5.0.tgz
28
- tar -zxvf apache-solr-*.tgz
29
- cd apache-solr-*
30
- sudo cp dist/apache-solr-*.war /usr/local/jetty/webapps/solr.war
16
+ rake solr:setup
31
17
  ```
18
+ See lib/tasks/solr.rake
32
19
 
33
20
  Add solrsan to your Ruby application's Gemfile:
34
21
 
@@ -123,6 +110,13 @@ A simple search query:
123
110
  More searching examples can be seen in test/unit/search_test.rb
124
111
 
125
112
  ## Changelog
113
+ 0.5.5
114
+ Fixed usage of commitWithin.
115
+
116
+ 0.5.4
117
+ Added a opts param with a default commitWithin of 10ms. Upgraded jetty
118
+ version.
119
+
126
120
  0.5.2
127
121
  Renamed index to solr_index to avoid naming conflict with mongoid.
128
122
 
@@ -53,9 +53,7 @@ module Solrsan
53
53
  raise "Indexed document must define a as_solr_document method."
54
54
  end
55
55
 
56
- self.perform_solr_command do |rsolr|
57
- rsolr.add(solr_docs, opts)
58
- end
56
+ rsolr.add(solr_docs, opts)
59
57
  end
60
58
 
61
59
  def index_all
@@ -1,3 +1,3 @@
1
1
  module Solrsan
2
- VERSION = "0.5.4"
2
+ VERSION = "0.5.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: solrsan
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.4
4
+ version: 0.5.5
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-21 00:00:00.000000000 Z
12
+ date: 2012-01-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rsolr
16
- requirement: &70167795674440 !ruby/object:Gem::Requirement
16
+ requirement: &70164952503540 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ~>
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.0.4
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70167795674440
24
+ version_requirements: *70164952503540
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: activemodel
27
- requirement: &70167795827680 !ruby/object:Gem::Requirement
27
+ requirement: &70164952502840 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 3.1.1
33
33
  type: :runtime
34
34
  prerelease: false
35
- version_requirements: *70167795827680
35
+ version_requirements: *70164952502840
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: activesupport
38
- requirement: &70167795825720 !ruby/object:Gem::Requirement
38
+ requirement: &70164952502260 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ~>
@@ -43,7 +43,7 @@ dependencies:
43
43
  version: 3.1.1
44
44
  type: :runtime
45
45
  prerelease: false
46
- version_requirements: *70167795825720
46
+ version_requirements: *70164952502260
47
47
  description: solrsan is a lightweight wrapper for using Apache Solr within a Ruby
48
48
  application including Rails and Sinatra.
49
49
  email: