Re: query on part number not matching

2009-04-21 Thread Kevin Osborn
Or in this case, I was using DisMax. My ps was 5, but I didn't have a qs field. Setting qs to a small value did the trick. From: Yonik Seeley To: solr-user@lucene.apache.org Sent: Monday, April 20, 2009 6:09:51 PM Subject: Re: query on part numbe

Re: query on part number not matching

2009-04-20 Thread Yonik Seeley
On Mon, Apr 20, 2009 at 8:50 PM, Kevin Osborn wrote: > Looks like the format didn't come through in the email. ch, vxrch, and > cisco7204xvrch are all in position 4. Ah... the traditional way to "handle" that case is to use a little slop with the phrase query. -Yonik

Re: query on part number not matching

2009-04-20 Thread Kevin Osborn
worried about a case like "XYZ123-3" and the customer searching on "XYZ1233". Ideally, that would produce a match. From: Yonik Seeley To: solr-user@lucene.apache.org Sent: Monday, April 20, 2009 5:14:32 PM Subject: Re: query on part number

Re: query on part number not matching

2009-04-20 Thread Yonik Seeley
On Mon, Apr 20, 2009 at 6:59 PM, Kevin Osborn wrote: > > I have a manufacturer part number: CISCO7204VXR-CH. The indexer produces: > > 1        2       3      4 > cisco    7204    vxr    ch >                        vxrch >                        cisco7204vxrch It looks like you're using catenateA

query on part number not matching

2009-04-20 Thread Kevin Osborn
I have a manufacturer part number: CISCO7204VXR-CH. The indexer produces: 12 3 4 cisco7204vxrch vxrch cisco7204vxrch If I query on CISCO7204VXR-CH, I get: 12 3 4 cisco7204vxrch Everyt