You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by kiran kumar meduri <ki...@sbcglobal.net> on 2004/02/06 18:51:51 UTC

AND operator

I am new to lucene and am using it to search a DB
(oracle). I have a problem regarding AND operator in
the query. I have a document as below and when I am
querying it with the string "+1000 +medium" the no. of
hits are 0. 
 
Document<Text<CREATION_DATE:2003-11-13 22:23:16.0>
Text<CREATED_BY:1000>Text<LAST_UPDATED_BY:1000>
Text<LAST_UPDATE_DATE:2003-11-13 22:23:16.0>
Text<ORGANIZATION_ID:1000> Text<ENABLED_FLAG:y>
Text<MEANING:ticket from intrusion detection system>
Text<LOOKUP_CODE:ids>
Text<LOOKUP_TYPE:source_type_code>
Text<APPLICATION_ID:1000>
Text<TABLE_NAME:vnt_lookup_values:18>>

Thanks in advance
mkk

=====


=====
 
 

 

 



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


Re: AND operator

Posted by Otis Gospodnetic <ot...@yahoo.com>.
I don't see the term 'medium' in your document.
You are also using a number (1000) - make sure your Analyzer is not
throwing those away (FAQ?).

Otis

--- kiran kumar meduri <ki...@sbcglobal.net> wrote:
> I am new to lucene and am using it to search a DB
> (oracle). I have a problem regarding AND operator in
> the query. I have a document as below and when I am
> querying it with the string "+1000 +medium" the no. of
> hits are 0. 
>  
> Document<Text<CREATION_DATE:2003-11-13 22:23:16.0>
> Text<CREATED_BY:1000>Text<LAST_UPDATED_BY:1000>
> Text<LAST_UPDATE_DATE:2003-11-13 22:23:16.0>
> Text<ORGANIZATION_ID:1000> Text<ENABLED_FLAG:y>
> Text<MEANING:ticket from intrusion detection system>
> Text<LOOKUP_CODE:ids>
> Text<LOOKUP_TYPE:source_type_code>
> Text<APPLICATION_ID:1000>
> Text<TABLE_NAME:vnt_lookup_values:18>>
> 
> Thanks in advance
> mkk
> 
> =====
> 
> 
> =====
>  
>  
> 
>  
> 
>  
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
> 


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