[prev in list] [next in list] [prev in thread] [next in thread] 

List:       lucene-user
Subject:    Re: AW: Retriving Results - getting blank entries?
From:       "Rishabh Bajpai" <r_bajpai () lycos ! com>
Date:       2003-06-16 8:11:45
[Download RAW message or body]


i have tried that also (trimming the spaces) with no success..:-(


--------- Original Message ---------

DATE: Mon, 16 Jun 2003 09:40:25
From: "Borkenhagen, Michael (ofd-ko zdfin)"<Michael.Borkenhagen@ofd-ko.fin-rlp.de>
To: "'Lucene Users List'" <lucene-user@jakarta.apache.org>
Cc: 

>Maybe you get something like " ". Try to trim() the Strings. 
>
>-----Ursprüngliche Nachricht-----
>Von: Rishabh Bajpai [mailto:r_bajpai@lycos.com]
>Gesendet: Montag, 16. Juni 2003 08:25
>An: Lucene Users List
>Betreff: Retriving Results - getting blank entries?
>
>
>
>Hi All,
>
>I am retrieving results in the normal manner..
>
>construct a query, get the hits object and iterate through it...
>doc = hits.doc(i);
>
>if at all any of the field name or value is null or blank, then dont display
>that result...
>if ( 
>     field.name()==null) || 
>     (field.stringValue()==null) ||
>     (field.name().equals("")) || 
>     (field.stringValue().equals("")) 
>    )
>{
>      addtoResultSet = false;	
>}
>
>But in some rare cases, I am still getting blank records displayed?
>Is it some problem that happend while indexing, or a bug in Lucene, or just
>that I am totally missing out on something?
>Please help...
>-Rishabh
>
>
>
>
>
>
>____________________________________________________________
>Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
>http://login.mail.lycos.com/r/referral?aid=27005
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: lucene-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: lucene-user-help@jakarta.apache.org
>
>



____________________________________________________________
Get advanced SPAM filtering on Webmail or POP Mail ... Get Lycos Mail!
http://login.mail.lycos.com/r/referral?aid=27005

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic