Duplicate Id

2005-01-07 Thread mahaveer jain
Hi,
 
I have a application where I know I will have duplicate ID's. When I search 
these duplicate ID's will it search content in both the files ?
 
For Example :
 
Id = Mahaveer, Content = Jain India
Id = Mahaveer, Content = Lucene Test
 
Now when I search for India Test will it return both the columns ? Also can I 
display unique results ?
 
Mahaveer
 
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Re: Duplicate Id

2005-01-07 Thread Otis Gospodnetic
Hello,

If you search for India OR Test, you will find both, if you use AND,
you will find none.  Lucene can search any text, not just files.  It
sounds like you are using Lucene's demo as a real application (not a
good practise).  I suggest you take a look at the Resources page on the
Lucene Wiki to get a better idea about what Lucene is and how it can be
used.

Otis


--- mahaveer jain [EMAIL PROTECTED] wrote:

 Hi,
  
 I have a application where I know I will have duplicate ID's. When I
 search these duplicate ID's will it search content in both the files
 ?
  
 For Example :
  
 Id = Mahaveer, Content = Jain India
 Id = Mahaveer, Content = Lucene Test
  
 Now when I search for India Test will it return both the columns ?
 Also can I display unique results ?
  
 Mahaveer
  
  
 
 __
 Do You Yahoo!?
 Tired of spam?  Yahoo! Mail has the best spam protection around 
 http://mail.yahoo.com 


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]