You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lenya.apache.org by Andreas Hartmann <an...@apache.org> on 2006/01/25 15:04:50 UTC

Questions about Lucene

Hi Lenya devs,

I have some questions about he Lucene integration:

- Why do we have a search module and a lucene module?

- Why are there so many references to lucene in the core?

   - global-sitemap.xmap
   - lucene.xmap
   - resources/misc/lucene


I'll try to make myself familiar with the search code, and I
hope we can unify this.

-- Andreas


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


Re: Questions about Lucene

Posted by so...@apache.org.
On 1/25/06, Andreas Hartmann <an...@apache.org> wrote:
> - Why do we have a search module and a lucene module?

(Without any knowledge of the implementation) I hope the search module
is a redirect to the lucene module. That allows other search software
to be added as modules without changing the search API for
publications.  A publication could override the search module to
redirect to a different global search module without adding the new
search module to the publication.

solprovider

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


Re: Questions about Lucene

Posted by Andreas Hartmann <an...@apache.org>.
Doug Chestnut wrote:

[...]

> We should also move the searchbox generation from the sitetree module to 
> the lucene module (or to a search module that uses the lucene module).

+1

> I believe that the search module can be removed. I removed it locally 
> and the search/indexing is still worked, I had to move 
> s\j\o\a\l\search\Grep.java to the core.

OK, does anyone object to remove the search module?


>> - Why are there so many references to lucene in the core?
>>
>>   - global-sitemap.xmap
>>   - lucene.xmap
>>   - resources/misc/lucene
> As far as I can tell, these can be removed. (I removed them locally and 
> the search/indexing is still worked)
> 
> as can:
> s\j\o\a\l\cms\task\LuceneTask.java
> s\j\o\a\l\cms\search

+1 to remove these files

Thanks for your investigations and clarification!

-- Andreas


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


Re: Questions about Lucene

Posted by Doug Chestnut <dh...@virginia.edu>.
Andreas Hartmann wrote:
> Hi Lenya devs,
> 
> I have some questions about he Lucene integration:
> 
> - Why do we have a search module and a lucene module?
The lucene module is the soc work that Robert did for us.  The search 
module was there before Roberts work was committed, and was not removed 
(don't think it was working).

We should also move the searchbox generation from the sitetree module to 
the lucene module (or to a search module that uses the lucene module).

I believe that the search module can be removed. I removed it locally 
and the search/indexing is still worked, I had to move 
s\j\o\a\l\search\Grep.java to the core.

> 
> - Why are there so many references to lucene in the core?
> 
>   - global-sitemap.xmap
>   - lucene.xmap
>   - resources/misc/lucene
As far as I can tell, these can be removed. (I removed them locally and 
the search/indexing is still worked)

as can:
s\j\o\a\l\cms\task\LuceneTask.java
s\j\o\a\l\cms\search

--Doug
> 
> 
> I'll try to make myself familiar with the search code, and I
> hope we can unify this.
> 
> -- Andreas
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@lenya.apache.org
> For additional commands, e-mail: dev-help@lenya.apache.org
> 

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