check out the videos on this website TROO.TUBE don't be such a
sheep/zombie/loser/NPC. Much love!
https://troo.tube/videos/watch/aaa64864-52ee-4201-922f-41300032f219
On Tue, May 12, 2020 at 9:38 PM David Lukowski wrote:
>
> Thanks Srijan, 2 queries is exactly the route I started going today.
>
Thanks Srijan, 2 queries is exactly the route I started going today.
Query 1:
http://mysolr-node:8080/solr/M2_content/select
?q=({!terms f='permissionFilterId'}10,49 AND docBody:(lucky))
=0
=100
=channelId:(2 1 3 78 34 35 7 72)
=date:([* TO 2020-05-12T03:59:59.999Z])
=false
=id
=json
I see what you mean now. You could use two queries - first would return 100
randomly sorted docs (no faceting) and the second with fq that includes the
ids of the returned 100 docs + faceting.
On Tue, May 12, 2020 at 1:29 PM David Lukowski
wrote:
> Thanks for the offer of help, this doesn't
Thanks for the offer of help, this doesn't really seem like what I'm
looking for though, but I could be misunderstanding. I'll try to state it
more clearly and include the query.
-- This will give me back all the documents that have "lucky" in them in
RANDOM sorted order.
If you can tag your filter query, you can exclude it when faceting. Your
results will honor the filter query and you will get the N results back,
and since faceting will exclude the filter, it will still give you facet
count for the base query.
I'm looking for a way if possible to run a query with random results, where
I limit the number of results I want back, yet still have the facets
accurately reflect the results I'm searching.
When I run a search I use a filter query to randomize the results based on
a modulo of a random seed. This