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
> 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
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
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
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
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?
&
() 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?
> > >
>
();
> >
> > or
> >
> > Query query = QueryParser.parse("\"Victor Hugo\"
> > title:Miserables
> > category:history", "author", new StandardAnalyser();
> >
> > /victor
> >
> > - Original Message -
eryParser.parse("\"Victor Hugo\"
> title:Miserables
> category:history", "author", new StandardAnalyser();
>
> /victor
>
> ----- Original Message -----
> From: "Caroline Jen" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> S
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
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
11 matches
Mail list logo