Re: It seems a issue of deal with chinese synonym for solr

2013-04-06 Thread 李威
Hi Kuro Kurosaka, Thanks for your attention. It must Chinese query can reproduce this problem. because English word is seperate by space. If I search 北京市 动物园, I inserted a space in the query. The query would be parsed to +(北京市 北京) +动物园, which is expected. So the Chinese query can aslo

Re: It seems a issue of deal with chinese synonym for solr

2013-04-03 Thread Kuro Kurosaka
On 3/11/13 6:15 PM, 李威 wrote: in org.apache.solr.parser.SolrQueryParserBase, there is a function: protected Query newFieldQuery(Analyzer analyzer, String field, String queryText, boolean quoted) throws SyntaxError The below code can't process chinese rightly. BooleanClause.Occur

Re: It seems a issue of deal with chinese synonym for solr

2013-03-12 Thread Robert Muir
I agree. Actually that top-level logic is fine. its the loop that follows thats wrong: it needs to look at position increment and do the right thing. Want to open a JIRA issue? On Mon, Mar 11, 2013 at 9:15 PM, 李威 li...@antvision.cn wrote: in org.apache.solr.parser.SolrQueryParserBase, there is