Hello,
I wonder if this could be done with thinking sphinx :-)
I have few questions :D I hope someone would like to use 5 min of
their time :D
1.
Can I merge to search together and continue to filter stuff out and in
them?
@one = Page.search('hawaii')
@two = Page.search('dubai')
@one.merge!(@two)
@third = @one.search(:with => {:total_visit => 2..4})
If no :-)
That's why I need it.
I have this table:
create_table :pages do |t|
t.datetime :created_at
t.string :cookie, :title
t.text :url
t.integer :total_visits
end
I want to say.
(
1- Get me all urls that match "http://domain.com/iaojs/ioajsd.html"
and have at least 2..5 visits.
OR
2- Give me all titles that have any "hawaii dubai" created since two
weeks ago
)
AND
(
3- the url continue this domain
)
Is this something we can do with sphinx :D
Thanks for any answer or solution or maybe just "this cannot be
done :D"
--
You received this message because you are subscribed to the Google Groups
"Thinking Sphinx" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/thinking-sphinx?hl=en.