About Query...

2003-03-17 Thread Pierre Lacchini
Well guys, here's my (silly) question :

I got 2 Fields in my Index, for example Title and Author...

If i want to perform a complex query like : search "Williams" in fields
"Author" AND "Sword" in fields "Title" WITHOUT "House" in the fields
"Title"
I tried this synthax : "Author:Williams AND Title:Sword -House" But it
doesnt'seem to work...
Is it possible ? Or mb i'm wrong with the synthax ???

Thx for help ;)

Pierre Lacchini
Consultant développement

PeopleWare
12, rue du Cimetière
L-8413 Steinfort
Phone : + 352 399 968 35
http://www.peopleware.lu




AW: About Query...

2003-03-17 Thread Borkenhagen, Michael (ofd-ko zdfin)
Your Syntax seems to be wrong; try 
Author:Williams AND Title:Sword - Title:House
or
Author:Williams AND Title:Sword NOT Title:House

Michael

-Ursprüngliche Nachricht-
Von: Pierre Lacchini [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 17. März 2003 10:47
An: Lucene (E-mail)
Betreff: About Query...


Well guys, here's my (silly) question :

I got 2 Fields in my Index, for example Title and Author...

If i want to perform a complex query like : search "Williams" in fields
"Author" AND "Sword" in fields "Title" WITHOUT "House" in the fields
"Title"
I tried this synthax : "Author:Williams AND Title:Sword -House" But it
doesnt'seem to work...
Is it possible ? Or mb i'm wrong with the synthax ???

Thx for help ;)

Pierre Lacchini
Consultant développement

PeopleWare
12, rue du Cimetière
L-8413 Steinfort
Phone : + 352 399 968 35
http://www.peopleware.lu




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



RE: About Query...

2003-03-17 Thread Pierre Lacchini
Yeah thx Michael, now it works fine :)

But in this case, does the second argument of method parse(String query,
String field, Analyser analyser) of the QueryParser matter ?

-Original Message-
From: Borkenhagen, Michael (ofd-ko zdfin)
[mailto:[EMAIL PROTECTED]
Sent: lundi 17 mars 2003 12:01
To: 'Lucene Users List'
Subject: AW: About Query...


Your Syntax seems to be wrong; try
Author:Williams AND Title:Sword - Title:House
or
Author:Williams AND Title:Sword NOT Title:House

Michael

-Ursprüngliche Nachricht-
Von: Pierre Lacchini [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 17. März 2003 10:47
An: Lucene (E-mail)
Betreff: About Query...


Well guys, here's my (silly) question :

I got 2 Fields in my Index, for example Title and Author...

If i want to perform a complex query like : search "Williams" in fields
"Author" AND "Sword" in fields "Title" WITHOUT "House" in the fields
"Title"
I tried this synthax : "Author:Williams AND Title:Sword -House" But it
doesnt'seem to work...
Is it possible ? Or mb i'm wrong with the synthax ???

Thx for help ;)

Pierre Lacchini
Consultant développement

PeopleWare
12, rue du Cimetière
L-8413 Steinfort
Phone : + 352 399 968 35
http://www.peopleware.lu




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


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



AW: About Query...

2003-03-17 Thread Borkenhagen, Michael (ofd-ko zdfin)
Yes for sure,
Maybe I don´t understand your question ?

-Ursprüngliche Nachricht-
Von: Pierre Lacchini [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 17. März 2003 12:26
An: 'Lucene Users List'
Betreff: RE: About Query...


Yeah thx Michael, now it works fine :)

But in this case, does the second argument of method parse(String query,
String field, Analyser analyser) of the QueryParser matter ?

-Original Message-
From: Borkenhagen, Michael (ofd-ko zdfin)
[mailto:[EMAIL PROTECTED]
Sent: lundi 17 mars 2003 12:01
To: 'Lucene Users List'
Subject: AW: About Query...


Your Syntax seems to be wrong; try
Author:Williams AND Title:Sword - Title:House
or
Author:Williams AND Title:Sword NOT Title:House

Michael

-Ursprüngliche Nachricht-
Von: Pierre Lacchini [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 17. März 2003 10:47
An: Lucene (E-mail)
Betreff: About Query...


Well guys, here's my (silly) question :

I got 2 Fields in my Index, for example Title and Author...

If i want to perform a complex query like : search "Williams" in fields
"Author" AND "Sword" in fields "Title" WITHOUT "House" in the fields
"Title"
I tried this synthax : "Author:Williams AND Title:Sword -House" But it
doesnt'seem to work...
Is it possible ? Or mb i'm wrong with the synthax ???

Thx for help ;)

Pierre Lacchini
Consultant développement

PeopleWare
12, rue du Cimetière
L-8413 Steinfort
Phone : + 352 399 968 35
http://www.peopleware.lu




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


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


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



RE: About Query...

2003-03-17 Thread Pierre Lacchini
sorry for my poor english...

Well if i perform a Multiple Fields query... Why do I have to specify the
name of the field in the parse method ?
Because i'm using 2 field in the query...



-Original Message-
From: Borkenhagen, Michael (ofd-ko zdfin)
[mailto:[EMAIL PROTECTED]
Sent: lundi 17 mars 2003 12:07
To: 'Lucene Users List'
Subject: AW: About Query...


Yes for sure,
Maybe I don´t understand your question ?

-Ursprüngliche Nachricht-
Von: Pierre Lacchini [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 17. März 2003 12:26
An: 'Lucene Users List'
Betreff: RE: About Query...


Yeah thx Michael, now it works fine :)

But in this case, does the second argument of method parse(String query,
String field, Analyser analyser) of the QueryParser matter ?

-Original Message-
From: Borkenhagen, Michael (ofd-ko zdfin)
[mailto:[EMAIL PROTECTED]
Sent: lundi 17 mars 2003 12:01
To: 'Lucene Users List'
Subject: AW: About Query...


Your Syntax seems to be wrong; try
Author:Williams AND Title:Sword - Title:House
or
Author:Williams AND Title:Sword NOT Title:House

Michael

-Ursprüngliche Nachricht-
Von: Pierre Lacchini [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 17. März 2003 10:47
An: Lucene (E-mail)
Betreff: About Query...


Well guys, here's my (silly) question :

I got 2 Fields in my Index, for example Title and Author...

If i want to perform a complex query like : search "Williams" in fields
"Author" AND "Sword" in fields "Title" WITHOUT "House" in the fields
"Title"
I tried this synthax : "Author:Williams AND Title:Sword -House" But it
doesnt'seem to work...
Is it possible ? Or mb i'm wrong with the synthax ???

Thx for help ;)

Pierre Lacchini
Consultant développement

PeopleWare
12, rue du Cimetière
L-8413 Steinfort
Phone : + 352 399 968 35
http://www.peopleware.lu




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


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


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


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



AW: About Query...

2003-03-17 Thread Borkenhagen, Michael (ofd-ko zdfin)
mmmh ... good question - i really don´t know :(

-Ursprüngliche Nachricht-
Von: Pierre Lacchini [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 17. März 2003 12:32
An: 'Lucene Users List'
Betreff: RE: About Query...


sorry for my poor english...

Well if i perform a Multiple Fields query... Why do I have to specify the
name of the field in the parse method ?
Because i'm using 2 field in the query...



-Original Message-
From: Borkenhagen, Michael (ofd-ko zdfin)
[mailto:[EMAIL PROTECTED]
Sent: lundi 17 mars 2003 12:07
To: 'Lucene Users List'
Subject: AW: About Query...


Yes for sure,
Maybe I don´t understand your question ?

-Ursprüngliche Nachricht-
Von: Pierre Lacchini [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 17. März 2003 12:26
An: 'Lucene Users List'
Betreff: RE: About Query...


Yeah thx Michael, now it works fine :)

But in this case, does the second argument of method parse(String query,
String field, Analyser analyser) of the QueryParser matter ?

-Original Message-
From: Borkenhagen, Michael (ofd-ko zdfin)
[mailto:[EMAIL PROTECTED]
Sent: lundi 17 mars 2003 12:01
To: 'Lucene Users List'
Subject: AW: About Query...


Your Syntax seems to be wrong; try
Author:Williams AND Title:Sword - Title:House
or
Author:Williams AND Title:Sword NOT Title:House

Michael

-Ursprüngliche Nachricht-
Von: Pierre Lacchini [mailto:[EMAIL PROTECTED]
Gesendet: Montag, 17. März 2003 10:47
An: Lucene (E-mail)
Betreff: About Query...


Well guys, here's my (silly) question :

I got 2 Fields in my Index, for example Title and Author...

If i want to perform a complex query like : search "Williams" in fields
"Author" AND "Sword" in fields "Title" WITHOUT "House" in the fields
"Title"
I tried this synthax : "Author:Williams AND Title:Sword -House" But it
doesnt'seem to work...
Is it possible ? Or mb i'm wrong with the synthax ???

Thx for help ;)

Pierre Lacchini
Consultant développement

PeopleWare
12, rue du Cimetière
L-8413 Steinfort
Phone : + 352 399 968 35
http://www.peopleware.lu




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


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


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


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


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



Re: About Query...

2003-03-17 Thread Tatu Saloranta
On Monday 17 March 2003 04:32, Pierre Lacchini wrote:
> sorry for my poor english...
>
> Well if i perform a Multiple Fields query... Why do I have to specify the
> name of the field in the parse method ?
> Because i'm using 2 field in the query...

Query parser has to know which field term should be matched against by 
default, if user does not explicitly specify field, and that field is passed 
to query constructor. At this point actual query is not known; it's passed 
with parse methods, and parser can be used multiple times (although it's not 
re-entrant).

Method you are calling is a convenience method that just creates a new parser 
for this particular query, then calls non-static parse method.

I _think_ you can just pass null (or dummy field name) in your case if you are 
absolutely sure fields for all terms are defined in query.

-+ Tatu +-


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



Re: PLAN: WebLucene -- Lucene Web interface, use XML as a lightweight protocol.

2003-03-17 Thread 车 东
Hi Otis:
It was delay for some personal reasons. But from recently feed back, I can 
feel the HTTP/GET/XML based protocol is still a simple and lightweight 
solution for traditional db based applications' full text search 
accelerate. and I think a standard lucene indexing source and search result 
banding is needed in the furture.

I'll try to release a demo by the end of this month.(SAXIndexer + XML 
output)

Regards

Che, Dong


From: Otis Gospodnetic <[EMAIL PROTECTED]>
To: Che Dong <[EMAIL PROTECTED]>
Subject: Re: PLAN:  WebLucene -- Lucene Web interface, use XML as a 
lightweight protocol.
Date: Mon, 17 Mar 2003 21:45:44 -0800 (PST)

Hello Che,

Just curious - is this project really going to happen or have you given
up?
Thanks,
Otis
--- Che Dong <[EMAIL PROTECTED]> wrote:
> http://sourceforge.net/projects/weblucene/
>
> WebLucene: Lucene Web interface, use XML as a lightweight protocol.
>
> Developer convert data source (text, DB, MS Word, PDF... etc) into
> standard xml format indexing with lucene engine, and get full text
> search result via HTTP, with XML format output, user can easily
> intergrated with JSP ASP PHP front end or use XSLT at server side
> transform output.
>
> Developer can intergrate lucene full text search engine with old
> MSSQL + ASP MySQL + PHP Oracle + JSP based web applications.
>
> MySQL  \  / JSP
>
> Oracle - DB  -  ==>   XML ==> (Lucene Index) ==> XML  -  ASP
>
> MSSQL  /  -  PHP
>
>  MS Word /\
>   / XHTML
>  PDF /
> =XSLT=> -  text
>
>   \ XML
>
>  \_Web Lucene/
>
> i18n issue: for Java is Unicode based, user can indexing data
> source(XML) in different charset into one lucene index(in unicode)
> and output result according to client browser support languages.
>   GBK  \   / BIG5
>   BIG5  -  UNICODE>   Unicode -  GB2312
>   SJIS  -   (XML) (XML)   -  SJIS
>   ISO-8859-1   /   \
> ISO-8859-1
>
>
> Che, Dong
> http://www.chedong.com/tech/
>
>
>
__
Do you Yahoo!?
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
_
免费下载 MSN Explorer:   http://explorer.msn.com/lccn/  

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