Re: dismax debugging hyphens dashes

2010-08-13 Thread Chris Hostetter
: I have a solr instance with 1 document whose title is "ABC12-def". I : am using dismax. While "abc", "12", and "def" do match, "abc12" and : "def" do not. Here is a the parsedquery_toString, I'm having trouble : understanding it: : : +(id:abc12^3.0 | title:"(abc12 abc) 12"^1.5) (id:abc12^3.0 |

RE: dismax debugging hyphens dashes

2010-08-07 Thread Markus Jelsma
Well, that smells like a WordDelimiterFilterFactory [1]. It splits, as your debug output shows, value into three separate tokens. This means that (at least)  the strings 'abc', '12' and 'def' are in your index and can be found. The abc12 value is not present. If you want to query for substrings,

RE: dismax debugging hyphens dashes

2010-08-07 Thread Jonathan Rochkind
What analzyers are on your field? From: j [jta...@gmail.com] Sent: Saturday, August 07, 2010 1:17 PM To: solr-user@lucene.apache.org Subject: dismax debugging hyphens dashes How does one debug index vs. dismax query parser? I have a solr instance with 1 do