The admin/analysis page is your friend here, it'll show you
exactly what happens to your terms as they go through various
stages of your analysis chain. And Ahmet's comment is also
spot on, wildcards are tricky....

On Wed, Jan 27, 2016 at 2:25 AM, Ahmet Arslan <iori...@yahoo.com.invalid> wrote:
> Hi Diyun,
>
> Willard queries are not analysed. Probably your index time analyzer is 
> stripping # character.
> Please see : https://wiki.apache.org/solr/MultitermQueryAnalysis
>
> Ahmet
>
>
>
> On Wednesday, January 27, 2016 12:02 PM, diyun2008 <diyun2...@gmail.com> 
> wrote:
> Hi guys
>     I have a document index with title:#7654321.
>     Then when I query it with q=title:#7654321, it works
>     When I query it with q=title:#7654321*, it cannot work,it cannot hit any
> result.
>     Then I remove # and query it with q=title:7654321*, it works again.
>
>      I tried q=title:76543*, it works!
>
>      So I suspect there's a bug in lucene when using query with symbol # and
> *.
>
>      Who had ever met this ?or does anyone can help try it.
>
> Thank you for your help.
>
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Solr-cannot-return-result-when-query-with-like-title-7654321-tp4253541.html
> Sent from the Solr - User mailing list archive at Nabble.com.

Reply via email to