Re: DateFilter on UnStored field

2005-02-13 Thread PA
On Feb 13, 2005, at 13:09, Sanyi wrote:
Does DateFilter work on fields indexed as UnStored?
Hmmm... never used DateFilter per se... but it should just work, like 
everything else :)

Can I filter an UnStored field with values like 2004-11-05 ?
Sure.
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: User Rights Management in Lucene

2005-02-01 Thread PA
On Feb 01, 2005, at 16:01, Verma Atul (extern) wrote:
I'm new to Lucene and want to know, whether Lucene has the capability 
of
displaying the search results based the Users Rights.
Not by itself. But you can make it so.
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: User Rights Management in Lucene

2005-02-01 Thread PA
On Feb 01, 2005, at 16:07, Verma Atul (extern) wrote:
Thanks for the help. This means that the User management has to be done
over Lucene.
Your choice. But in a nutshell, yes.
Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: lucene query (sql kind)

2005-01-28 Thread PA
On Jan 28, 2005, at 12:40, sunil goyal wrote:
I want to run dynamic queries against the lucene index. Is there any
native syntax available for Lucene so that I can query, by first
generating the query in say an XML or SQL like format (cache this
query) and then  use this query over lucene index.
Talking of which, did anyone contemplated the possibility of a 
gaspJDBC/gasp adaptor of sort for Lucene?

Cheers
--
PA, Onnay Equitursay
http://alt.textdrive.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Duplicate hits using ParallelMultiSearcher

2005-01-24 Thread PA
On Jan 24, 2005, at 09:14, Jason Polites wrote:
I am aware of the Filter object however the unique identifier of my 
document is a field within the lucene document itself (messageid); and 
I am reluctant to access this field using the public API for every Hit 
as I fear it will have drastic performance implications.
Well... I don't see any way around that as you basically want to 
uniquely identify your messages based on their Message-ID.

That said, you don't need to do it during the search itself. You could 
simply perform your search as you do now and then create a set of 
unique messages while preserving Lucene Hits sort ordering for 
relevance purpose.

HTH.
Cheers
--
PA
http://alt.textdrive.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: Search Chinese in Unicode !!!

2005-01-21 Thread PA
On Jan 21, 2005, at 11:42, Eric Chow wrote:
Search not really correct with UTF-8 !!!
Lucene works just fine with any flavor of Unicode as long as _your_ 
application knows how to consistently deal with Unicode as well. 
Remember: the world is not just one Big5 pile.

As far as Analyzer goes, you may or may not be better off using 
something more tailored to your linguistic needs. That said, even the 
default Analyzer does a fairly decent job at handling non-roman 
languages. YMMV.

Cheers
--
PA
http://alt.textdrive.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: 'db' sandbox contribution update

2005-01-18 Thread PA
On Jan 18, 2005, at 22:26, Andi Vajda wrote:
With the release of Berkeley DB 4.3.x, Sleepycat radically changed the 
Java API to C Berkeley DB.
Hmmm... out of curiosity... any reason not to use the Berkeley DB Java 
Edition instead of the Java API to C Berkeley DB?

http://www.sleepycat.com/products/je.shtml
Cheers
--
PA
http://alt.textdrive.com/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: 'db' sandbox contribution update

2005-01-18 Thread PA
On Jan 19, 2005, at 00:02, Andi Vajda wrote:
Well, normally, if you're in a 100% Java situation, you could use the 
Berkeley
DB Java edition instead.
Alternatively, did anyone played with JDBM [1] to achieve the same 
result?

I'm not. I'm using the same code with Chandler, a
python program, and PyLucene (http://pylucene.osafoundation.org).
Chandler and PyLucene share the same database environment and this can 
only be
done if the C edition of Berkeley DB is the underlying db 
implementation.
I see.
By the way, is Chandler ever going to be released in our lifetime? :o)
While waiting for Godot, there is always Haystack [2].
Cheers
--
PA
http://alt.textdrive.com/
[1] http://jdbm.sourceforge.net/
[2] http://haystack.lcs.mit.edu/
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: how to create a long lasting unique key?

2005-01-04 Thread PA
On Jan 04, 2005, at 20:43, Peter Veentjer - Anchor Men wrote:
What is the best way to create a key for a document?
UUID?
http://java.sun.com/j2se/1.5.0/docs/api/java/util/UUID.html
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]