lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cheng <zhoucheng2...@gmail.com>
Subject Why does QueryBuilder.createBooleanQuery create something different from input?
Date Sat, 10 May 2014 02:16:18 GMT
Hi,

I build a query using
QueryBuilder.createBooleanQuery("title","【微信活动】6500盒“健康瘦身减肥”梅免费送").

When I check the query, the toString() of this query looks like:

Query: title:而 title:不用 title:下载 title:2. title:目前 title:来说 title:已经
title:完美越狱 title:的人 title:没有 title:任何 title:必要 title:再用 title:红
title:雪
title:3. title:有人 title:问 title:红 title:雪 title:和 title:黑雨 title:比 title:到底
title:哪个 title:好 title:我 title:觉得 title:各有所长 title:各有 title:互补
title:至少
title:红 title:雪 title:可以 title:当 title:一个 title:开机 title:logo title:替换
title:工具 title:4.iphone title:2g title:和 title:3g title:可以 title:通过 title:红
title:雪 title:0.9.3

This is totally different from the input "【微信活动】6500盒“健康瘦身减肥”梅免费送".

Can someone tell me why?

Thanks
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message