Re: ComplexPhraseQueryParser and wildcards

2011-04-01 Thread Erick Erickson
Here's the Solr JIRA: You need to create a login here: https://issues.apache.org/jira/secure/Dashboard.jspa https://issues.apache.org/jira/browse/SOLR From there it should be pretty straight-forward. And here are some pointers for using the JIRA... ht

Re: ComplexPhraseQueryParser and wildcards

2011-04-01 Thread jmr
Erick Erickson wrote: > > Ohhh, my. Well, in that case I'm afraid I'm out of ideas. Can you > raise a JIRA on the crash? Please include the field definition > and an example of the query you're sending. This should > be fixed... > How can I do this ? Sorry I'm just starting in using Solr and re

Re: ComplexPhraseQueryParser and wildcards

2011-03-31 Thread Erick Erickson
Ohhh, my. Well, in that case I'm afraid I'm out of ideas. Can you raise a JIRA on the crash? Please include the field definition and an example of the query you're sending. This should be fixed... Best Erick On Thu, Mar 31, 2011 at 11:28 AM, jmr wrote: > > Erick Erickson wrote: >> >> No, WDF onl

Re: ComplexPhraseQueryParser and wildcards

2011-03-31 Thread jmr
Erick Erickson wrote: > > No, WDF only works on tokens from the tokenizer. It would > not concatenate two separate tokens together, just tokens generated > because of, say, case changes, punctuation, etc in the single token > that made it through, say, WhitespaceTokenizerFactory. > > The analysi

Re: ComplexPhraseQueryParser and wildcards

2011-03-31 Thread Erick Erickson
> I'm afraid this could have some side effects. > I suppose that thematic* would then return: > thematically > but also "the matico" No, WDF only works on tokens from the tokenizer. It would not concatenate two separate tokens together, just tokens generated because of, say, case changes, punctuat

Re: ComplexPhraseQueryParser and wildcards

2011-03-31 Thread jmr
Erick Erickson wrote: > > If you change your WordDelimiterFilterFactory (WDF) setting > in the section of your field definition and set > catenatewords="1", do you get the specific behavior you're > asking for when you search for "crosslin* compiler"~50? And > is this acceptable? > I'm afraid

Re: ComplexPhraseQueryParser and wildcards

2011-03-31 Thread Erick Erickson
If you change your WordDelimiterFilterFactory (WDF) setting in the section of your field definition and set catenatewords="1", do you get the specific behavior you're asking for when you search for "crosslin* compiler"~50? And is this acceptable? However, WDF settings take some time to really und

Re: ComplexPhraseQueryParser and wildcards

2011-03-30 Thread jmr
iorixxx wrote: > > Hi Jean, > Since you use WDF, your best bet can be to modify your query : > > "cross link* compiler"~50 > > "crosslink* compiler"~50 > Thanks but "crosslink* compiler"~50 returns nothing (seems correct to me however) "cross link* compiler"~50 does not return exactly what

Re: ComplexPhraseQueryParser and wildcards

2011-03-30 Thread Ahmet Arslan
Hi Jean, Since you use WDF, your best bet can be to modify your query : "cross link* compiler"~50 "crosslink* compiler"~50 > -- > View this message in context: > http://lucene.472066.n3.nabble.com/ComplexPhraseQueryParser-and-wildcards-tp2742244p2754034.html > Sent from the Solr - User mailin

Re: ComplexPhraseQueryParser and wildcards

2011-03-30 Thread jmr
iorixxx wrote: > > Can you paste your field type definition? > Here it is: - - - - - - - - - Jean-Michel -- View this message in context: http://lucene.472066.n3.nabble.com/ComplexPhraseQueryParser-and-wildcards-tp2742244p2754034.html

Re: ComplexPhraseQueryParser and wildcards

2011-03-30 Thread Ahmet Arslan
> I'm using ComplexPhraseQueryParser and I'm quite happy with > it. > However, there are some queries using wildcards nor > working. > > Exemple: I want to do a proximity search between the word > compiler and the > expression 'cross linker' or 'cross linking' or 'cross > linked' ... > > ("cross-

Re: ComplexPhraseQueryParser and wildcards

2011-03-28 Thread jmr
Chandan Tamrakar-2 wrote: > > did you get any exceptions ? > usually wild card term you mentioned would be expanded before being > actually > searched . > No exception. Just no results returned. JMR -- View this message in context: http://lucene.472066.n3.nabble.com/ComplexPhraseQueryParser

Re: ComplexPhraseQueryParser and wildcards

2011-03-28 Thread Chandan Tamrakar
did you get any exceptions ? usually wild card term you mentioned would be expanded before being actually searched . thanks. On Mon, Mar 28, 2011 at 1:24 PM, jmr wrote: > Hi, > > I'm using ComplexPhraseQueryParser and I'm quite happy with it. > However, there are some queries using wildcards no