Re: Can't get phrase field boosting to work using edismax

2016-04-06 Thread Jack Krupansky
' (without > any surrounding phrase-characters), will edismax not boost this document? > > /Jimi > > -Original Message- > From: Jan Høydahl [mailto:jan....@cominvent.com] > Sent: Wednesday, April 6, 2016 10:43 AM > To: solr-user@lucene.apache.org > Subject: R

Re: Can't get phrase field boosting to work using edismax

2016-04-06 Thread Shawn Heisey
On 4/6/2016 7:13 AM, jimi.hulleg...@svensktnaringsliv.se wrote: > Ah, thanks. It never occurred to me that clicking on the text "Create" would > give me a different result compared to clicking on the arrow. In my mind, > "Create" was simply the label, and the arrow indicating a dropdown option fo

RE: Can't get phrase field boosting to work using edismax

2016-04-06 Thread jimi.hullegard
On Wednesday, April 6, 2016 2:50 PM, apa...@elyograg.org wrote: > > If you can only create a service desk request, then you might be clicking the > "Service Desk" menu item, > or maybe you're clicking the little down arrow on the right side of the big > red "Create" button. > Try clicking the

Re: Can't get phrase field boosting to work using edismax

2016-04-06 Thread Shawn Heisey
On 4/6/2016 2:35 AM, jimi.hulleg...@svensktnaringsliv.se wrote: > I guess I can conclude that this is a bug. But I wasn't able to report it in > Jira. I just got to some servicedesk form > (https://issues.apache.org/jira/servicedesk/customer/portal/5/create/27) that > didn't seem related to solr

Re: Can't get phrase field boosting to work using edismax

2016-04-06 Thread Jan Høydahl
> > /Jimi > > -Original Message- > From: Jan Høydahl [mailto:jan....@cominvent.com] > Sent: Wednesday, April 6, 2016 10:43 AM > To: solr-user@lucene.apache.org > Subject: Re: Can't get phrase field boosting to work using edismax > > Hi, > > P

RE: Can't get phrase field boosting to work using edismax

2016-04-06 Thread jimi.hullegard
'John' (without any surrounding phrase-characters), will edismax not boost this document? /Jimi -Original Message- From: Jan Høydahl [mailto:jan@cominvent.com] Sent: Wednesday, April 6, 2016 10:43 AM To: solr-user@lucene.apache.org Subject: Re: Can't get phras

Re: Can't get phrase field boosting to work using edismax

2016-04-06 Thread Jan Høydahl
houldn't be a boost", but no > explaination *why* at least two is needed. > > Regards > /Jimi > > -Original Message- > From: jimi.hulleg...@svensktnaringsliv.se > [mailto:jimi.hulleg...@svensktnaringsliv.se] > Sent: Tuesday, April 5, 2016 6:51 PM > T

RE: Can't get phrase field boosting to work using edismax

2016-04-06 Thread jimi.hullegard
:11 PM To: solr-user@lucene.apache.org Subject: RE: Can't get phrase field boosting to work using edismax Some more input, before I call it a day. Just for the heck of it, I tried changing minClauseSize to 0 using the Eclipse debugger, so that it didn't return null at line 1203, but ins

RE: Can't get phrase field boosting to work using edismax

2016-04-05 Thread jimi.hullegard
ge- From: jimi.hulleg...@svensktnaringsliv.se [mailto:jimi.hulleg...@svensktnaringsliv.se] Sent: Tuesday, April 5, 2016 6:51 PM To: solr-user@lucene.apache.org Subject: RE: Can't get phrase field boosting to work using edismax I now used the Eclipse debugger, to try and see if I can understand what is

RE: Can't get phrase field boosting to work using edismax

2016-04-05 Thread jimi.hullegard
mailto:jimi.hulleg...@svensktnaringsliv.se] Sent: Tuesday, April 5, 2016 5:36 PM To: solr-user@lucene.apache.org Subject: RE: Can't get phrase field boosting to work using edismax OK. Interesting. But... I added a solr.TrimFilterFactory at the end of my analyzer definition. Shouldn't that take care o

RE: Can't get phrase field boosting to work using edismax

2016-04-05 Thread jimi.hullegard
From: Jack Krupansky [mailto:jack.krupan...@gmail.com] Sent: Tuesday, April 5, 2016 4:42 PM To: solr-user@lucene.apache.org Subject: Re: Can't get phrase field boosting to work using edismax It looks like the code constructing the boost phrase for pf will always add a trailing blank, which is

Re: Can't get phrase field boosting to work using edismax

2016-04-05 Thread Jack Krupansky
It looks like the code constructing the boost phrase for pf will always add a trailing blank, which is never a problem when a normal tokenizer is used that removes white space, but the keyword tokenizer will preserve that extra space, which prevents an exact match. See line 531: https://github.com

Can't get phrase field boosting to work using edismax

2016-04-05 Thread jimi.hullegard
Hi, I'm trying to boost documents using a phrase field boosting (ie the pf parameter for edismax), but I can't get it to work (ie boosting documents where the pf field match the query as a phrase). As far as I can tell, solr, or more specifically the edismax handler, does *something* when I ad