bug in SolrInputDocument.toString()?

2019-06-25 Thread Mark Sholund
Hello, First time poster here so sorry for any formatting problems.  I am sorry if this has been asked before but I've tried several version of SolrJ (6.5.1-8.1.1) with the same result. I am runing the following example code and am seeing odd output. String id = "foo123"; int popularity=1; Solr

Re: SolrInputDocument setField method

2019-06-26 Thread Mark Sholund
I noticed this yesterday as well. The toString() and jsonStr() (in later versions) of SolrJ both include things like toString(): {id=id=[foo123](https://www.nga.mil/careers/studentopp/Pages/default.aspx), ...} or jsonStr(): {"id":"id=[foo123](https://www.nga.mil/careers/studentopp/Pages/default

qf in conjunction with boost

2019-06-27 Thread Mark Sholund
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 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 th

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 additiona

Re: qf in conjunction with boost

2019-06-29 Thread Mark Sholund
a map function would get me around that and it seemed to until I noticed that the qf parameter was being ignored. Maybe I can use bf instead. Sent from ProtonMail Mobile 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 de

Re: qf in conjunction with boost

2019-06-29 Thread Mark Sholund
On further reading it seems that maybe &boost=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 boost

Re: Sort on PointFieldType

2019-07-03 Thread Mark Sholund
My thought is that “greater than” and “less than” are generally undefined for n-dimensional points where n>1. Is (45,45) > (-45,-45)? If you’re talking about distance from (0,0) they’re “equal”. If you’re talking about distance from some arbitrary point then they are not necessarily “equal”; wh