lucene-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Lea <ian....@gmail.com>
Subject Re: # search in Query
Date Mon, 23 May 2011 14:00:49 GMT
Are you sure that it isn't working?  If you use the same analyzer at
both indexing and query time you should end up with consistent
results.

Read up on exactly what your analyzer is doing by looking at the javadocs.

Google will find you lots of info on analysis, or get hold of a copy
of Lucene In Action 2nd edition to learn all about lucene.  And use
Luke to see what is being indexed.


--
Ian.


On Mon, May 23, 2011 at 12:44 PM, Yogesh Dabhi <ydabhi@asite.com> wrote:
>
>
> I have some bellow value in lucene index field
>
>
>
> 1#abcd
>
> 2#test wer
>
> 3# testing rty
>
>
>
> I wright the query like bellow
>
>
>
> +fieldname:1#
>
>
>
> After  query parser I see query string become
>
> +fieldname:1
>
>
>
> is there a way to search given string
>
>
>
>
> Thanks & Regards
>
> Yogesh
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-user-help@lucene.apache.org


Mime
View raw message