You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucenenet.apache.org by "Shen Koffer (JIRA)" <ji...@apache.org> on 2007/06/19 15:20:26 UTC

[jira] Closed: (LUCENENET-41) querystring is case-sensitive?

     [ https://issues.apache.org/jira/browse/LUCENENET-41?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Shen Koffer closed LUCENENET-41.
--------------------------------

    Resolution: Invalid

It is not a defect, but I am not familar with the usage of Lucene.
Thanks Digy <di...@gmail.com> 

Koffer

> querystring is case-sensitive?
> ------------------------------
>
>                 Key: LUCENENET-41
>                 URL: https://issues.apache.org/jira/browse/LUCENENET-41
>             Project: Lucene.Net
>          Issue Type: Bug
>         Environment: OS: windows XP SP2; .Net 2005; Lucene.net 2.0; IBM laptop T42
>            Reporter: Shen Koffer
>            Priority: Minor
>
> I have one text file: one.txt. In this file, I put only one line of data: Mobile.
> The indexing process completes without any error.
> In the search code, I created a new query like this,
>  Query query = new TermQuery(new Term("Content", queryString));
> The queryString passed in is "Mobile". 
> With this, I can NOT search out any result.
> But if I change the queryString to "mobile" ( Notice: all in lower case).
> I can get the expected result.
> The defect is when the user try to search some word, he should input the word in lower case, rather than as-is.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.