Re: DisMax, multi fields, and phrase fields

2010-07-01 Thread Jan Høydahl / Cominvent
Hi, Check out the new eDisMax handler (src) and the new pf2 parameter. Also available as path SOLR-1553. Another option to avoid match for doc2 is to add application specific logic in your frontend which detects car brands and years and rewrite the query into a phrase or a filter. -- Jan Høyda

DisMax, multi fields, and phrase fields

2010-07-01 Thread Nick Hall
In my application, I have documents like: DOCUMENT 1: part_num: ABC123 Spark Plug application: 2008 Toyota Corolla application: 2007 Honda Civic DOCUMENT 2: part_num: FGH234 Spark Plug application: 2007 Toyota Corolla application: 2008 Honda Civic The "application" field is set up to be a multi-