You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by Lukas Zapletal <za...@inf.upol.cz> on 2003/08/15 20:58:14 UTC

URLDirectory

Can anyone commit this implementation? Thanks. See javadoc for info.

Lukas

-- 
http://www.tanecni-olomouc.cz/lzap       icq: 17569735
mail: lzap_at_root.cz    jabber: lzap_at_njs.netlab.cz
pgp: 715B 5502 4FB3 65E7 266B 927E CE9F 1D04 0EE2 4DB7

Re: URLDirectory

Posted by Lukas Zapletal <za...@inf.upol.cz>.
Ok, I will send you most recent version, I fixed some small bugs and 
finished documentation. Thnx.

On Tue, 19 Aug 2003 09:02:40 +0200, Lukas Zapletal <za...@inf.upol.cz> 
wrote:

> Okey, I will make the tests later. Thanks for help. Laters!
>
> On Mon, 18 Aug 2003 09:00:26 -0400, Erik Hatcher 
> <li...@ehatchersolutions.com> wrote:
>
>> On Monday, August 18, 2003, at 02:51  AM, Lukas Zapletal wrote:
<snip>
>>
>> As long as the JAR's are not sealed, you can have the same packages in 
>> multiple JAR's.  So that is a non-issue, I believe.
>>
>> Sure, it can help a lot if you need that feature, but most people do 
>> not.
>>
<snip>
>>
>> And this is the most important reason why it should not be in the core.
>>
<snip>
>>
>> Won't your implementation work with a file:// URL?  We could put a .zip 
>> index in the test code and construct the file:// URL to it from a test 
>> case.  No??
>>
<snip>
>>
>> Have a build file that runs tests and can build a JAR.  That is all I 
>> meant.
>>
>> 	Erik
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>>
>>
>
>
>



-- 
Lukas Zapletal

http://www.tanecni-olomouc.cz/lzap       icq: 17569735
mail: lzap_at_root.cz    jabber: lzap_at_njs.netlab.cz
pgp: 715B 5502 4FB3 65E7 266B 927E CE9F 1D04 0EE2 4DB7

Re: URLDirectory

Posted by Lukas Zapletal <za...@inf.upol.cz>.
Okey, I will make the tests later. Thanks for help. Laters!

On Mon, 18 Aug 2003 09:00:26 -0400, Erik Hatcher 
<li...@ehatchersolutions.com> wrote:

> On Monday, August 18, 2003, at 02:51  AM, Lukas Zapletal wrote:
>> IMHO this should be part of core Lucene because it doesn`t fit to any 
>> sandbox projects. It`s small and it can help a lot! It is just a new 
>> implementation and it uses protected classes from the package so it 
>> cannot be moved!
>
> As long as the JAR's are not sealed, you can have the same packages in 
> multiple JAR's.  So that is a non-issue, I believe.
>
> Sure, it can help a lot if you need that feature, but most people do not.
>
>> The problem is that this class uses Java 1.2 objects and Lucene will not 
>> compile on Java 1.1...
>
> And this is the most important reason why it should not be in the core.
>
>> I think the test case will be a bit difficult, it`s over HTTP! How can I 
>> do this!
>
> Won't your implementation work with a file:// URL?  We could put a .zip 
> index in the test code and construct the file:// URL to it from a test 
> case.  No??
>
>> And what do you mean with file that packages this as a JAR file so folks 
>> can pull your code?
>
> Have a build file that runs tests and can build a JAR.  That is all I 
> meant.
>
> 	Erik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>
>



-- 
Lukas Zapletal

http://www.tanecni-olomouc.cz/lzap       icq: 17569735
mail: lzap_at_root.cz    jabber: lzap_at_njs.netlab.cz
pgp: 715B 5502 4FB3 65E7 266B 927E CE9F 1D04 0EE2 4DB7

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Re: URLDirectory

Posted by Lukas Zapletal <za...@inf.upol.cz>.
Okey, I will make the tests later. Thanks for help. Laters!

On Mon, 18 Aug 2003 09:00:26 -0400, Erik Hatcher 
<li...@ehatchersolutions.com> wrote:

> On Monday, August 18, 2003, at 02:51  AM, Lukas Zapletal wrote:
>> IMHO this should be part of core Lucene because it doesn`t fit to any 
>> sandbox projects. It`s small and it can help a lot! It is just a new 
>> implementation and it uses protected classes from the package so it 
>> cannot be moved!
>
> As long as the JAR's are not sealed, you can have the same packages in 
> multiple JAR's.  So that is a non-issue, I believe.
>
> Sure, it can help a lot if you need that feature, but most people do not.
>
>> The problem is that this class uses Java 1.2 objects and Lucene will not 
>> compile on Java 1.1...
>
> And this is the most important reason why it should not be in the core.
>
>> I think the test case will be a bit difficult, it`s over HTTP! How can I 
>> do this!
>
> Won't your implementation work with a file:// URL?  We could put a .zip 
> index in the test code and construct the file:// URL to it from a test 
> case.  No??
>
>> And what do you mean with file that packages this as a JAR file so folks 
>> can pull your code?
>
> Have a build file that runs tests and can build a JAR.  That is all I 
> meant.
>
> 	Erik
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>
>



-- 
Lukas Zapletal

http://www.tanecni-olomouc.cz/lzap       icq: 17569735
mail: lzap_at_root.cz    jabber: lzap_at_njs.netlab.cz
pgp: 715B 5502 4FB3 65E7 266B 927E CE9F 1D04 0EE2 4DB7

Re: URLDirectory

Posted by Erik Hatcher <li...@ehatchersolutions.com>.
On Monday, August 18, 2003, at 02:51  AM, Lukas Zapletal wrote:
> IMHO this should be part of core Lucene because it doesn`t fit to any 
> sandbox projects. It`s small and it can help a lot! It is just a new 
> implementation and it uses protected classes from the package so it 
> cannot be moved!

As long as the JAR's are not sealed, you can have the same packages in 
multiple JAR's.  So that is a non-issue, I believe.

Sure, it can help a lot if you need that feature, but most people do 
not.

> The problem is that this class uses Java 1.2 objects and Lucene will 
> not compile on Java 1.1...

And this is the most important reason why it should not be in the core.

> I think the test case will be a bit difficult, it`s over HTTP! How can 
> I do this!

Won't your implementation work with a file:// URL?  We could put a .zip 
index in the test code and construct the file:// URL to it from a test 
case.  No??

> And what do you mean with file that packages this as a JAR file so 
> folks can pull your code?

Have a build file that runs tests and can build a JAR.  That is all I 
meant.

	Erik


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Re: URLDirectory

Posted by Erik Hatcher <li...@ehatchersolutions.com>.
On Monday, August 18, 2003, at 02:51  AM, Lukas Zapletal wrote:
> IMHO this should be part of core Lucene because it doesn`t fit to any 
> sandbox projects. It`s small and it can help a lot! It is just a new 
> implementation and it uses protected classes from the package so it 
> cannot be moved!

As long as the JAR's are not sealed, you can have the same packages in 
multiple JAR's.  So that is a non-issue, I believe.

Sure, it can help a lot if you need that feature, but most people do 
not.

> The problem is that this class uses Java 1.2 objects and Lucene will 
> not compile on Java 1.1...

And this is the most important reason why it should not be in the core.

> I think the test case will be a bit difficult, it`s over HTTP! How can 
> I do this!

Won't your implementation work with a file:// URL?  We could put a .zip 
index in the test code and construct the file:// URL to it from a test 
case.  No??

> And what do you mean with file that packages this as a JAR file so 
> folks can pull your code?

Have a build file that runs tests and can build a JAR.  That is all I 
meant.

	Erik


Re: URLDirectory

Posted by Lukas Zapletal <za...@inf.upol.cz>.
Hello,

IMHO this should be part of core Lucene because it doesn`t fit to any 
sandbox projects. It`s small and it can help a lot! It is just a new 
implementation and it uses protected classes from the package so it cannot 
be moved!

The problem is that this class uses Java 1.2 objects and Lucene will not 
compile on Java 1.1...

I think the test case will be a bit difficult, it`s over HTTP! How can I do 
this! And what do you mean with file that packages this as a JAR file so 
folks can pull your code?

ps - does Lucene compiles with GCJ? anyone tried this?

Best regards

Lukas

On Mon, 18 Aug 2003 02:39:31 -0400, Erik Hatcher 
<li...@ehatchersolutions.com> wrote:

> I'd be happy to add this to the Lucene sandbox area.
>
> Given that its just a thin layer on top of (essentially) the  
> RAMDirectory, I'm not sure its appropriate for the core of Lucene  
> though.
>
> How about a test case for this new class?  (using a filesystem URL,  
> along with a file to test against)  Also, how about a build file that  
> packages this as a JAR file so folks can easily pull your code from the  
> sandbox, run its tests, and package it for reuse?
>
> Thanks,
> 	Erik
>
>
>
> On Friday, August 15, 2003, at 02:58  PM, Lukas Zapletal wrote:
>> Can anyone commit this implementation? Thanks. See javadoc for info.
>>
>> Lukas
>>
>> --  http://www.tanecni-olomouc.cz/lzap       icq: 17569735
>> mail: lzap_at_root.cz    jabber: lzap_at_njs.netlab.cz
>> pgp: 715B 5502 4FB3 65E7 266B 927E CE9F 1D04 0EE2 4DB7
>> <org.zip>-------------------------------------------------------------- - 
>>
>>
>> ------
>> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>
>



-- 
Lukas Zapletal

http://www.tanecni-olomouc.cz/lzap       icq: 17569735
mail: lzap_at_root.cz    jabber: lzap_at_njs.netlab.cz
pgp: 715B 5502 4FB3 65E7 266B 927E CE9F 1D04 0EE2 4DB7

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Re: URLDirectory

Posted by Lukas Zapletal <za...@inf.upol.cz>.
Hello,

IMHO this should be part of core Lucene because it doesn`t fit to any 
sandbox projects. It`s small and it can help a lot! It is just a new 
implementation and it uses protected classes from the package so it cannot 
be moved!

The problem is that this class uses Java 1.2 objects and Lucene will not 
compile on Java 1.1...

I think the test case will be a bit difficult, it`s over HTTP! How can I do 
this! And what do you mean with file that packages this as a JAR file so 
folks can pull your code?

ps - does Lucene compiles with GCJ? anyone tried this?

Best regards

Lukas

On Mon, 18 Aug 2003 02:39:31 -0400, Erik Hatcher 
<li...@ehatchersolutions.com> wrote:

> I'd be happy to add this to the Lucene sandbox area.
>
> Given that its just a thin layer on top of (essentially) the  
> RAMDirectory, I'm not sure its appropriate for the core of Lucene  
> though.
>
> How about a test case for this new class?  (using a filesystem URL,  
> along with a file to test against)  Also, how about a build file that  
> packages this as a JAR file so folks can easily pull your code from the  
> sandbox, run its tests, and package it for reuse?
>
> Thanks,
> 	Erik
>
>
>
> On Friday, August 15, 2003, at 02:58  PM, Lukas Zapletal wrote:
>> Can anyone commit this implementation? Thanks. See javadoc for info.
>>
>> Lukas
>>
>> --  http://www.tanecni-olomouc.cz/lzap       icq: 17569735
>> mail: lzap_at_root.cz    jabber: lzap_at_njs.netlab.cz
>> pgp: 715B 5502 4FB3 65E7 266B 927E CE9F 1D04 0EE2 4DB7
>> <org.zip>-------------------------------------------------------------- - 
>>
>>
>> ------
>> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
>> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org
>
>



-- 
Lukas Zapletal

http://www.tanecni-olomouc.cz/lzap       icq: 17569735
mail: lzap_at_root.cz    jabber: lzap_at_njs.netlab.cz
pgp: 715B 5502 4FB3 65E7 266B 927E CE9F 1D04 0EE2 4DB7

Re: URLDirectory

Posted by Erik Hatcher <li...@ehatchersolutions.com>.
I'd be happy to add this to the Lucene sandbox area.

Given that its just a thin layer on top of (essentially) the  
RAMDirectory, I'm not sure its appropriate for the core of Lucene  
though.

How about a test case for this new class?  (using a filesystem URL,  
along with a file to test against)  Also, how about a build file that  
packages this as a JAR file so folks can easily pull your code from the  
sandbox, run its tests, and package it for reuse?

Thanks,
	Erik



On Friday, August 15, 2003, at 02:58  PM, Lukas Zapletal wrote:
> Can anyone commit this implementation? Thanks. See javadoc for info.
>
> Lukas
>
> --  
> http://www.tanecni-olomouc.cz/lzap       icq: 17569735
> mail: lzap_at_root.cz    jabber: lzap_at_njs.netlab.cz
> pgp: 715B 5502 4FB3 65E7 266B 927E CE9F 1D04 0EE2 4DB7
> <org.zip>-------------------------------------------------------------- 
> -------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Re: URLDirectory

Posted by Otis Gospodnetic <ot...@yahoo.com>.
Thanks, I added this to out 'patch queue':
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23771

Otis


--- Lukas Zapletal <za...@inf.upol.cz> wrote:
> Can anyone commit this implementation? Thanks. See javadoc for info.
> 
> Lukas
> 
> -- 
> http://www.tanecni-olomouc.cz/lzap       icq: 17569735
> mail: lzap_at_root.cz    jabber: lzap_at_njs.netlab.cz
> pgp: 715B 5502 4FB3 65E7 266B 927E CE9F 1D04 0EE2 4DB7
> 

> ATTACHMENT part 2 application/x-zip-compressed name=org.zip
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: lucene-dev-help@jakarta.apache.org


Re: URLDirectory

Posted by Erik Hatcher <li...@ehatchersolutions.com>.
I'd be happy to add this to the Lucene sandbox area.

Given that its just a thin layer on top of (essentially) the  
RAMDirectory, I'm not sure its appropriate for the core of Lucene  
though.

How about a test case for this new class?  (using a filesystem URL,  
along with a file to test against)  Also, how about a build file that  
packages this as a JAR file so folks can easily pull your code from the  
sandbox, run its tests, and package it for reuse?

Thanks,
	Erik



On Friday, August 15, 2003, at 02:58  PM, Lukas Zapletal wrote:
> Can anyone commit this implementation? Thanks. See javadoc for info.
>
> Lukas
>
> --  
> http://www.tanecni-olomouc.cz/lzap       icq: 17569735
> mail: lzap_at_root.cz    jabber: lzap_at_njs.netlab.cz
> pgp: 715B 5502 4FB3 65E7 266B 927E CE9F 1D04 0EE2 4DB7
> <org.zip>-------------------------------------------------------------- 
> -------
> To unsubscribe, e-mail: lucene-dev-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: lucene-dev-help@jakarta.apache.org