Re: Rephrase My Question - How To Search Database With More Than One Pair of Property/Value as Parameters Using Lucene?

2003-11-07 Thread Erik Hatcher
On Friday, November 7, 2003, at 03:56 AM, Victor Hadianto wrote: Nonetheless, both "creator" and the name of the creator are variables. We depend on the user to give Of course, but you don't have unlimited fields right? So you know that "creator" field is the creator of a book. You can provide th

Re: Rephrase My Question - How To Search Database With More Than One Pair of Property/Value as Parameters Using Lucene?

2003-11-07 Thread Victor Hadianto
> Nonetheless, both "creator" and the name of the > creator are variables. We depend on the user to give Of course, but you don't have unlimited fields right? So you know that "creator" field is the creator of a book. You can provide the user with complicated UI but internally you can build your

Re: Rephrase My Question - How To Search Database With More Than One Pair of Property/Value as Parameters Using Lucene?

2003-11-06 Thread Erik Hatcher
On Thursday, November 6, 2003, at 07:53 PM, Caroline Jen wrote: Hi, let me see if I have got the idea. For example, if I want to search the database for articles written by Elizabeth Castro, we do what is shown below in Lucene: It sounds like you're asking a lot of hypothetical questions without

Re: Rephrase My Question - How To Search Database With More Than One Pair of Property/Value as Parameters Using Lucene?

2003-11-06 Thread Caroline Jen
Hi, let me see if I have got the idea. For example, if I want to search the database for articles written by Elizabeth Castro, we do what is shown below in Lucene: Query query = QueryParser.parse("creator:\"Elizabeth Castro\"", "creator", new StandardAnalyzer()); indexSearcher.search(query); N

Re: Rephrase My Question - How To Search Database With More Than One Pair of Property/Value as Parameters Using Lucene?

2003-11-06 Thread Morus Walter
Caroline Jen writes: > I have a sample program that takes care of the search > based on "one single pair of property and value" in > the database. For example, visitors of the web site > can retrieve all articles written by Elizabeth Castro. > "creator" is the property and "Elizabeth Castro" is

Re: Rephrase My Question - How To Search Database With More Than One Pair of Property/Value as Parameters Using Lucene?

2003-11-06 Thread Victor Hadianto
sage - From: "Caroline Jen" <[EMAIL PROTECTED]> To: "Lucene Users List" <[EMAIL PROTECTED]> Sent: Thursday, November 06, 2003 4:52 PM Subject: Re: Rephrase My Question - How To Search Database With More Than One Pair of Property/Value as Parameters Using Lucene? &

Re: Rephrase My Question - How To Search Database With More Than One Pair of Property/Value as Parameters Using Lucene?

2003-11-05 Thread Caroline Jen
() in > > Lucene in this kind of situation? It is really > the > > first time I use Lucene. > > > > Thanks a lot in advance. > > > > -Caroline > > --- Victor Hadianto <[EMAIL PROTECTED]> wrote: > > > Something like this? > > > >

Re: Rephrase My Question - How To Search Database With More Than One Pair of Property/Value as Parameters Using Lucene?

2003-11-04 Thread Victor Hadianto
(); > > > > or > > > > Query query = QueryParser.parse("\"Victor Hugo\" > > title:Miserables > > category:history", "author", new StandardAnalyser(); > > > > /victor > > > > - Original Message -

Re: Rephrase My Question - How To Search Database With More Than One Pair of Property/Value as Parameters Using Lucene?

2003-11-03 Thread Caroline Jen
eryParser.parse("\"Victor Hugo\" > title:Miserables > category:history", "author", new StandardAnalyser(); > > /victor > > ----- Original Message ----- > From: "Caroline Jen" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > S

Re: Rephrase My Question - How To Search Database With More Than One Pair of Property/Value as Parameters Using Lucene?

2003-11-03 Thread Victor Hadianto
dardAnalyser(); /victor - Original Message - From: "Caroline Jen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 04, 2003 1:52 PM Subject: Rephrase My Question - How To Search Database With More Than One Pair of Property/Value as Parameters Using Luce

Rephrase My Question - How To Search Database With More Than One Pair of Property/Value as Parameters Using Lucene?

2003-11-03 Thread Caroline Jen
I raised the question two days ago. My question was too specific to the application that I have been working on. I have decided to re-phrase my question. People say that Lucene is very flexible. I wonder if there is a method signature that would be suitable to my needs. Or there are way