: I've created a custom ValueSourceParser and ValueSource that retrieve the
: availability information from a MySQL database. An example query is as
: follows.
:
:
http://localhost:8983/solr/collection1/select?q=restaurant_id:*&fl=*,available:availability(2013-05-23,
: 2, 1700, 2359)
:
: This r
m happening all
> at once. Lately, it doesn't seem to be working. (Anonymous - via GTD
> book)
-
Author: http://www.packtpub.com/apache-solr-3-enterprise-search-server/book
--
View this message in context:
http://lucene.472066.n3.nabble.com/Restaurant-availability-from-database-tp4065609p4065939.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Thu, May 23, 2013 at 6:47 PM, Amit Nithian wrote:
> Hossman did a presentation on something similar to this using spatial data
> at a Solr meetup some months ago.
>
> http://people.apache.org/~hossman/spatial-for-non-spatial-meetup-20130117/
This presentation rocks (I like examples too). I wou
ot;,
> "available": false
> }
> ],
> "resultCount": 12156,
> "resultCountAvailable": 55,
> }
>
> I'm currently hacking around the problem by executing the search again with
>
],
"resultCount": 12156,
"resultCountAvailable": 55,
}
I'm currently hacking around the problem by executing the search again with
a very high value for the rows parameter and counting the number of
available restaurants on the backend, but this causes a b
in advance,
>
> Ronald
>
>
>
>
>
> --
> View this message in context:
> http://lucene.472066.n3.nabble.com/Restaurant-availability-from-database-tp4065609.html
> Sent from the Solr - User mailing list archive at Nabble.com.
Is there a way to count the number of available restaurants over the whole
result set? I tried the stats component, but it doesn't seem to work with
pseudo fields.
Thanks in advance,
Ronald
--
View this message in context:
http://lucene.472066.n3.nabble.com/Restaurant-availability-from