Re: qf in conjunction with boost

2019-06-29 Thread Mark Sholund
On further reading it seems that maybe =map(popularity_d,0,0,1) might work On Sat, Jun 29, 2019 at 8:56 PM, Shawn Heisey wrote: > On 6/27/2019 8:54 PM, Mark Sholund wrote: >> qf=title^5 description^5 _text_ >> >> And now I want to include additional boosting based on a popularity >> score

Re: qf in conjunction with boost

2019-06-29 Thread Mark Sholund
Thanks for you reply. The problem I ran into with using the boost parameter was that not all of my documents have the boosting field and those were coming back with a score of zero. I tried setting a default for that field but it didn’t help. I found somewhere that using the boost parser with

Re: qf in conjunction with boost

2019-06-29 Thread Shawn Heisey
On 6/27/2019 8:54 PM, Mark Sholund wrote: qf=title^5 description^5 _text_ And now I want to include additional boosting based on a popularity score include with some documents. I’ve done this as follows q={!boost b=map(popularity_d,0,0,1)} However now it seems that the score is the same

Re: qf in conjunction with boost

2019-06-29 Thread Mark Sholund
No responses yet, is my question unclear or is this not possible? On Thu, Jun 27, 2019 at 10:54 PM, Mark Sholund wrote: > Hello, > > I have been using the following to boost based on field content. > > qf=title^5 description^5 _text_ > > And now I want to include additional boosting based on a

Re: highlighting not working as expected

2019-06-29 Thread Zheng Lin Edwin Yeo
Hi, If you are using the type "string", it will require exact match, including space and upper/lower case. You can use the type "text" for a start, but further down the road it will be good to have your own custom fieldType with your own tokenizer and filter. Regards, Edwin On Tue, 25 Jun 2019

Re: Discuss: virtual nodes in Solr

2019-06-29 Thread Erick Erickson
Offhand I suspect this would be an enormous effort, not worth the work. I agree that double-or-nothing is not terribly convenient, but that said since multiple replicas can be hosted on the same node and moved to other hardware as needed (oversharding, even for existing collections) there are

Re: Configuration recommendation for SolrCloud

2019-06-29 Thread Toke Eskildsen
Rahul Goswami wrote: > We are running Solr 7.2.1 and planning for a deployment which will grow to > 4 billion documents over time. We have 16 nodes at disposal.I am thinking > between 3 configurations: > > 1 cluster - 16 nodes > vs > 2 clusters - 8 nodes each > vs > 4 clusters -4 nodes each You

Re: Different number of replicas for different shards

2019-06-29 Thread Shawn Heisey
On 6/29/2019 12:23 AM, Nawab Zada Asad Iqbal wrote: is it possible to specify different number of replicas for different shards? i.e if I expect some shard to get more queries , i can add more replicas to that shard alone, instead of adding replicas for all the shards. On initial collection

Different number of replicas for different shards

2019-06-29 Thread Nawab Zada Asad Iqbal
Hi, is it possible to specify different number of replicas for different shards? i.e if I expect some shard to get more queries , i can add more replicas to that shard alone, instead of adding replicas for all the shards. Thanks Nawab