solr,颜色字段搜索,搜 "红" 要能搜出"红色","褐红色,"艳红" 的商品
solr,字段颜色搜索,搜 "**红**" 要能搜出" **红** 色","褐 **红** 色,"艳 **红** " 的商品 


		SolrQuery query = new SolrQuery();
		query.setQuery("*:*");
		query.addFilterQuery("color:*红*");


可是却出现了异常,哪儿需要配置吗?


    Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse 'color:*红*': '*' or '?' not allowed as first character in WildcardQuery
    	at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:211)
    	at org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:80)
    	at org.apache.solr.search.QParser.getQuery(QParser.java:142)
    	at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:114)
    	... 17 more
    Caused by: org.apache.lucene.queryParser.ParseException: '*' or '?' not allowed as first character in WildcardQuery

solr,颜色字段搜索,搜 "红" 要能搜出"红色","褐红色,"艳红" 的商品
===

solr,字段颜色搜索,搜 "**红**" 要能搜出" **红** 色","褐 **红** 色,"艳 **红** " 的商品 


		SolrQuery query = new SolrQuery();
		query.setQuery("*:*");
		query.addFilterQuery("color:*红*");


可是却出现了异常,哪儿需要配置吗?


    Caused by: org.apache.lucene.queryParser.ParseException: Cannot parse 'color:*红*': '*' or '?' not allowed as first character in WildcardQuery
    	at org.apache.lucene.queryParser.QueryParser.parse(QueryParser.java:211)
    	at org.apache.solr.search.LuceneQParser.parse(LuceneQParserPlugin.java:80)
    	at org.apache.solr.search.QParser.getQuery(QParser.java:142)
    	at org.apache.solr.handler.component.QueryComponent.prepare(QueryComponent.java:114)
    	... 17 more
    Caused by: org.apache.lucene.queryParser.ParseException: '*' or '?' not allowed as first character in WildcardQuery
