regarding Query parser for relational operators

2003-02-03 Thread Nellai
Hi,

Is there any way to filter the search based on the modified date. For example, i need 
to fetch only those documents whose modified date > or < or between. Can any one help 
me to solve this.

Thanks a ton
Nellai...




AW: Search Capabiliies

2003-02-03 Thread Materna, Wolf-Dietrich (empolis B)
Hello,
[Brian Deffenbaugh wrote:]
> Am I able to use Lucene to search Lotus Notes databases?  How 
> about Verity Indexes?
AFAIK, nobody tried this yet. If you are familar with Lotus Notes
it should be esay to create your own indexer for Lucene and export
all required data from Lotus. Check out the sample code and documentation
how to write an indexer.
Using Verity Indexes causes to much work. I think it makes no sense, because
the index formats are different. So you have to write some kind of
converter.
It is much easier to create a new Lucene index using the original documents.
Regards,
Wolf-Dietrich Materna
-- 
Wolf-Dietrich Materna
Development
 
empolis GmbH -  arvato knowledge management 
Kekuléstr. 7 
12489 Berlin, Germany
 
phone :  +49-30-6780-6510
fax :+49-30-6780-6549
 
<> <>

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




Re: '-' character not interpreted correctly in field names

2003-02-03 Thread Terry Steichen
I believe that the tokenizer treats a dash as a token separator.  Hence, the
only way, as I recall, to eliminate this behavior is to modify
QueryParser.jj so it doesn't do this.  However, doing this can cause some
other problems, like hyphenated words at a line break and the like.

(Of course, if you do make such a change, you'll have to go back and reindex
after such a change.)

I've run into this problem myself and I've 'punted' -  on certain fields,
when I index, I replace the dash with an underscore.  This isn't a real good
solution, and it does require me to keep remembering in which fields I have
to do this substitution in the search.  But, for the moment it works.  I'll
probably go back and make some kind of change later, when I have more time.

HTH,

Terry

- Original Message -
From: "hermit" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 2:39 AM
Subject: '-' character not interpreted correctly in field names


> Hello!
>
> I have a problem, a big one. I have successfully indexed 600 MB of XML
> data, but the search can't give any results if the field contains any
> '-' characters .
> For example: compound@cgx-code:[2 - 5] must match at least two results
> based on my XML data but it gives nothing.
>
> Can you advice me a simple solution? Or is it a bug?
>
> The Hermit
>
>
> -
> 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: regarding Query parser for relational operators

2003-02-03 Thread Terry Steichen
Nellai,

Sounds like you want to use a range query.

Regards,

Terry

- Original Message -
From: "Nellai" <[EMAIL PROTECTED]>
To: "Lucene Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 5:10 AM
Subject: regarding Query parser for relational operators


Hi,

Is there any way to filter the search based on the modified date. For
example, i need to fetch only those documents whose modified date > or < or
between. Can any one help me to solve this.

Thanks a ton
Nellai...




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




Re: regarding Query parser for relational operators

2003-02-03 Thread Nellai
Hi Terry,
Yup! you r right.
I need the results between 2 range of dates only. is there any way to
implement it.

Thanks in advance
Nellai...
- Original Message -
From: "Terry Steichen" <[EMAIL PROTECTED]>
To: "Lucene Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 7:50 PM
Subject: Re: regarding Query parser for relational operators


> Nellai,
>
> Sounds like you want to use a range query.
>
> Regards,
>
> Terry
>
> - Original Message -
> From: "Nellai" <[EMAIL PROTECTED]>
> To: "Lucene Users List" <[EMAIL PROTECTED]>
> Sent: Monday, February 03, 2003 5:10 AM
> Subject: regarding Query parser for relational operators
>
>
> Hi,
>
> Is there any way to filter the search based on the modified date. For
> example, i need to fetch only those documents whose modified date > or <
or
> between. Can any one help me to solve this.
>
> Thanks a ton
> Nellai...
>
>
>
>
> -
> 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: regarding Query parser for relational operators

2003-02-03 Thread Terry Steichen
Nellai,

That depends on how you've represented your date fields.  Please check
through the archives, 'cause there was quite a bit of discussion on this not
too long ago.

Regards,

Terry

- Original Message -
From: "Nellai" <[EMAIL PROTECTED]>
To: "Lucene Users List" <[EMAIL PROTECTED]>
Sent: Monday, February 03, 2003 9:38 AM
Subject: Re: regarding Query parser for relational operators


> Hi Terry,
> Yup! you r right.
> I need the results between 2 range of dates only. is there any way to
> implement it.
>
> Thanks in advance
> Nellai...
> - Original Message -
> From: "Terry Steichen" <[EMAIL PROTECTED]>
> To: "Lucene Users List" <[EMAIL PROTECTED]>
> Sent: Monday, February 03, 2003 7:50 PM
> Subject: Re: regarding Query parser for relational operators
>
>
> > Nellai,
> >
> > Sounds like you want to use a range query.
> >
> > Regards,
> >
> > Terry
> >
> > - Original Message -
> > From: "Nellai" <[EMAIL PROTECTED]>
> > To: "Lucene Users List" <[EMAIL PROTECTED]>
> > Sent: Monday, February 03, 2003 5:10 AM
> > Subject: regarding Query parser for relational operators
> >
> >
> > Hi,
> >
> > Is there any way to filter the search based on the modified date. For
> > example, i need to fetch only those documents whose modified date > or <
> or
> > between. Can any one help me to solve this.
> >
> > Thanks a ton
> > Nellai...
> >
> >
> >
> >
> > -
> > 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: '-' character not interpreted correctly in field names

2003-02-03 Thread Tatu Saloranta
On Monday 03 February 2003 07:19, Terry Steichen wrote:
> I believe that the tokenizer treats a dash as a token separator.  Hence,
> the only way, as I recall, to eliminate this behavior is to modify
> QueryParser.jj so it doesn't do this.  However, doing this can cause some
> other problems, like hyphenated words at a line break and the like.

It might be enough to just replace analyzer passed in to QueryParser
to do this? This is the case if QueryParser only handles modifiers outside
terms, and terms are passed to analyzer.
I think this is the case (QueryParser does  call the analyzer in couple of 
places, and one word may actually expand to a phrase or vice versa)?

Still, it seems like using a hyphen as separator shouldn't necessarily cause 
big problems when indexer does the same; queries against "2 - 5" would be 
phrase queries for "2 5", which is still reasonably specific (and should 
match the content).

On the other hand, simple analyzer and standard analyzer have pretty different 
tokenization rules, so it's important to make sure same analyzer is used for 
both indexing and searching (that mismatch can prevent matches easily).

-+ Tatu +-



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




Score-Limited Hits?

2003-02-03 Thread Terry Steichen
Is there an existing API that allows you to conduct a search such that only hits with 
a score greater than X are returned?

Regards,

Terry




Re: Score-Limited Hits?

2003-02-03 Thread Ype Kingma
On Monday 03 February 2003 22:35, you wrote:
> Is there an existing API that allows you to conduct a search such that only
> hits with a score greater than X are returned?

Not directly, but it's straightforward to compose from
Searcher.search(query, hitcollector)
and a hitcollector that implements
collect(docNr, score)
by comparing with your minimal score.

Have fun,
Ype

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




Is Java 1.4.1_01 supported?

2003-02-03 Thread Justin Greene
We are currently running lucene 1.2 on Sun Java 1.3.06_01.  We have moved a
number of our applications to 1.4.1_01.  Will lucene 1.2 work under 1.4.1_01
by just recompiling?

Thanks,
Justin

--
Justin Greene
ClicVU, Inc. - Makers of the Spamex Disposable Email Address Service
P: 212-242-0258 x 101
http://www.spamex.com

Sign up for your Spamex account now
Protect your real email address forever!



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




Re: Is Java 1.4.1_01 supported?

2003-02-03 Thread Amit Bakore
Yes. We are using the sameand it's going great

-Amit.


- Original Message -
From: "Justin Greene" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, February 04, 2003 10:55 AM
Subject: Is Java 1.4.1_01 supported?


> We are currently running lucene 1.2 on Sun Java 1.3.06_01.  We have moved
a
> number of our applications to 1.4.1_01.  Will lucene 1.2 work under
1.4.1_01
> by just recompiling?
>
> Thanks,
> Justin
>
> --
> Justin Greene
> ClicVU, Inc. - Makers of the Spamex Disposable Email Address Service
> P: 212-242-0258 x 101
> http://www.spamex.com
>
> Sign up for your Spamex account now
> Protect your real email address forever!
>
>
>
> -
> 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]