Im using this method now because the index updated isn't using the indexing system that is inside slide. I have looked at the lucene indexer in slide and its using another document->field strategy than the one i'm using for my client. Since i can't change the document-field strategy now because the client is already using the old scheme to get element and attribute search and i'm adding to that external index and not the one inside slide.

If i had more time to understand/test the indexing in slide ill probably go for a slide implementation/extension but since the search isn't going to be done inside slide anyway i just found this way to be pretty straight forward.

The index i'm indexing into is an external xml indexer/searcher i have implemented for the customer a long time ago and that i don't want to change now.

Mvh Karl �ie

On 4. jan. 2005, at 19.43, Eirikur Hrafnsson wrote:

So when would you use this method you are describing?


On 4.1.2005, at 15:19, Karl �ie wrote:

Create a class that implements a Indexer or extends LoggableIndexer, then configure IndexTrigger in domain.xml to send events to your indexer as well as slides own indexer, that uses lucene too. The uri parameter tells what location the index should be triggered for.

<listener classname="org.apache.slide.search.IndexTrigger">
<configuration>
<indexer classname="YourIndexer" synchronous="false" uri="/files/your/path"/>
</configuration>
</listener>


Im actually working on doing this right now for my customer so it would be nice to discuss this with some one else :-)

Mvh Karl �ie

On 4. jan. 2005, at 15.47, Eirikur Hrafnsson wrote:

1. What version of Slide and Lucene do I need to add Lucene indexing to my Slide store? There seems be some Lucene stuff in Slide 2.1...

2. How do I activate the indexing?

3. Can I have seperate indexes for different URI's?
E.g. I would like to have one index for my articles (xml based docs) under '/files/cms/articles/....' and possibly a custom indexer (search document)
And another index for all other documents (Word,excel,pdf etc.) under '/files/cms/documents/...'
My goal is to have a web based search with "Spotlight" like search results categorizing.


4. How do I do a search in code if I have the query string?

Best Regards

Eirikur S. Hrafnsson, [EMAIL PROTECTED]
Chief Software Engineer
Idega Software
http://www.idega.com


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


- I want to file a bug report to your parents.


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



Best Regards

Eirikur S. Hrafnsson, [EMAIL PROTECTED]
Chief Software Engineer
Idega Software
http://www.idega.com


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


- eh, she's cute and has a rack you could mount a server in


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



Reply via email to