You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Anish <an...@techblue.co.uk> on 2009/10/14 15:18:59 UTC

Lucene Search - System Folders/ Custom Locations

Hi All

I want to use lucene search for my publication. I want to include some 
external system folder in the search i.e. in my custom search, I want 
some XMLs to be searched which are placed on the system but outside tomcat.

Please suggest

-- 
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk




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


Re: Lucene Search - System Folders/ Custom Locations

Posted by Anish <an...@techblue.co.uk>.
Sure Florent...  :-)

Florent André wrote:
> On Fri, 16 Oct 2009 14:26:36 +0530, Anish <an...@techblue.co.uk>
> wrote:
>   
>> Thanks Florent, got your point.... :-)
>>
>> So I need to write my own custom component which creates XML inside 
>> lenya CMS 
>>     
> heuu, this is doing by the lenyaDocTransformer... maybe we can work
> together on ? 
>
>   
>> and later on indexed by lenya's standard mechanism.
>>
>>
>>
>> Florent André wrote:
>>     
>>> Hi Anish,
>>>
>>> If you choose the solution of create your documents into a Lenya page,
>>> maybe you can try the LenyaDocWriting Transformer. It's based on the
>>> cocoon
>>> sourceWriting Transformer and allow you to create document into lenya
>>> with
>>> just a good xml syntax. 
>>>
>>> Code is not for now really clean, and some improvement have to be done,
>>> but
>>> I used it. Moreover if you try it, It will help - and push - me to
>>>       
> create
>   
>>> a
>>> more clean version... :) 
>>>
>>> You can find it here :
>>>
>>>       
> http://www.svn.4sengines.eu/modcontrib/lenyaDocWriting/trunk/lenyaDocWriting-0.1.0/
>   
>>> ++
>>>
>>> On Thu, 15 Oct 2009 14:25:29 +0200, Thorsten Scherler
>>> <th...@juntadeandalucia.es> wrote:
>>>   
>>>       
>>>> On Thu, 2009-10-15 at 17:38 +0530, Anish wrote:
>>>>     
>>>>         
> http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup
>   
>>>   
>>>       
>>>>>> There you can configure the location of the lucene index.
>>>>>>   
>>>>>>         
>>>>>>             
>>>>> Thanks Thorsten
>>>>>
>>>>> But I'm bit confused that how to configure this file as this contains
>>>>> the location of lucene indexes, but I wanted to configure actual
>>>>> physical locations on the server like if I want a to search into a new
>>>>> folder in which all XMLs uploaded by client reside, what path should I
>>>>> give?
>>>>>       
>>>>>           
>>>> So what you are planing to do is to INDEX a file system, correct? That
>>>> is not working out of the box. You need to write a custom component to
>>>> do this indexing part.
>>>>
>>>> There are some examples to connect to a SOLR server (which is based on
>>>> Lucene) with cocoon, but that is not exactly like you want it. Look
>>>>         
> into
>   
>>>> search2xhtml.xsl like sac pointed out. There you will see how to
>>>> "prepare" a document that you later on can send to lucene. However the
>>>> easiest way I reckon is to store the doc you want to index in Lenya and
>>>> let lenya do the indexing job for you.
>>>>
>>>> If you need a crawler to crawl the file system you may want to look
>>>>         
> into
>   
>>>> Apache Droids.
>>>>
>>>> salu2
>>>>
>>>>     
>>>>         
>>>>> Please suggest
>>>>>
>>>>>
>>>>> Thorsten Scherler wrote: 
>>>>>       
>>>>>           
>>>>>> On Thu, 2009-10-15 at 15:34 +0530, Anish wrote:
>>>>>>   
>>>>>>         
>>>>>>             
>>>>>>>> Please try to look into the default publication "search
>>>>>>>> functionality" in lenya to know how it works.
>>>>>>>>       
>>>>>>>>             
>>>>>>>>                 
>>>>>>> Hi Sac
>>>>>>>
>>>>>>> I have looked for it but by default it works with the standard
>>>>>>> locations of CMS, actually I wanted to use my custom locations. I'm
>>>>>>> unable to figure out that how to configure lucene search within the
>>>>>>> publication for accessing my custom locations.
>>>>>>>
>>>>>>>     
>>>>>>>           
>>>>>>>               
>>>>>> I am not 100% sure whether I understand you but have a look at
>>>>>>
>>>>>>         
>>>>>>             
> http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup
>   
>>>   
>>>       
>>>>>> There you can configure the location of the lucene index.
>>>>>>
>>>>>> HTH
>>>>>>
>>>>>> salu2
>>>>>>
>>>>>>   
>>>>>>         
>>>>>>             
>>>>>>> Please suggest.
>>>>>>> TIA
>>>>>>>
>>>>>>> sac sha wrote: 
>>>>>>>     
>>>>>>>           
>>>>>>>               
>>>>>>>> Hi Anish
>>>>>>>>
>>>>>>>> You are right. Lucene search is there in lenya..
>>>>>>>>
>>>>>>>> Please try to look into the default publication "search
>>>>>>>> functionality" in lenya to know how it works.
>>>>>>>>
>>>>>>>> Regards
>>>>>>>> Sac
>>>>>>>>
>>>>>>>> On Thu, Oct 15, 2009 at 9:46 AM, Anish <an...@techblue.co.uk>
>>>>>>>> wrote:
>>>>>>>>         > See the FAQ on indexing here:
>>>>>>>>         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>>>>>>>>         >   
>>>>>>>>         
>>>>>>>>         
>>>>>>>>         I've checked the documentation, it gives implementation of
>>>>>>>>         lucene search in java but I need to configure that in
>>>>>>>>             
>>>>>>>>                 
>>> lenya
>>>   
>>>       
>>>>>>>>         pub. I think it is already implemented in lenya, we just
>>>>>>>>         need to edit/append some configuration file .
>>>>>>>>         
>>>>>>>>         Correct me if I'm wrong and please suggest.
>>>>>>>>         
>>>>>>>>         Regards
>>>>>>>>         
>>>>>>>>         Anish 
>>>>>>>>         
>>>>>>>>         
>>>>>>>>         
>>>>>>>>         Vik Tara wrote: 
>>>>>>>>         > Anish,
>>>>>>>>         > 
>>>>>>>>         > Check the lucene project website and their
>>>>>>>>             
>>>>>>>>                 
>>> documentation.
>>>   
>>>       
>>>>>>>>         > 
>>>>>>>>         > See the FAQ on indexing here:
>>>>>>>>         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>>>>>>>>         > 
>>>>>>>>         > Regards
>>>>>>>>         > 
>>>>>>>>         > 
>>>>>>>>         > Vik
>>>>>>>>         > 
>>>>>>>>         > Anish wrote:
>>>>>>>>         >   
>>>>>>>>         > > Hi All
>>>>>>>>         > > 
>>>>>>>>         > > I want to use lucene search for my publication. I want
>>>>>>>>         > > to include some
>>>>>>>>         > > external system folder in the search i.e. in my custom
>>>>>>>>         > > search, I want
>>>>>>>>         > > some XMLs to be searched which are placed on the
>>>>>>>>             
>>>>>>>>                 
>>> system
>>>   
>>>       
>>>>>>>>         > > but outside tomcat.
>>>>>>>>         > > 
>>>>>>>>         > > Please suggest
>>>>>>>>         > > 
>>>>>>>>         > >     
>>>>>>>>         >
>>>>>>>>             
>>>>>>>>                 
>>> ---------------------------------------------------------------------
>>>   
>>>       
>>>>>>>>         > To unsubscribe, e-mail:
>>>>>>>>             
>>>>>>>>                 
>>> user-unsubscribe@lenya.apache.org
>>>   
>>>       
>>>>>>>>         > For additional commands, e-mail:
>>>>>>>>         > user-help@lenya.apache.org
>>>>>>>>         > 
>>>>>>>>         >   
>>>>>>>>         
>>>>>>>>         
>>>>>>>>         
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> -- 
>>>>>>>> Regards
>>>>>>>> Sachin Sharma
>>>>>>>>
>>>>>>>>       
>>>>>>>>             
>>>>>>>>                 
>>>>>>> -- 
>>>>>>> Anish Sneh
>>>>>>> Software Engineer
>>>>>>> Techblue Softwares Pvt. Ltd.
>>>>>>> www.technologyblueprint.co.uk
>>>>>>>
>>>>>>>
>>>>>>>     
>>>>>>>           
>>>>>>>               
>>>>> -- 
>>>>> Anish Sneh
>>>>> Software Engineer
>>>>> Techblue Softwares Pvt. Ltd.
>>>>> www.technologyblueprint.co.uk
>>>>>
>>>>>
>>>>>       
>>>>>           
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>> For additional commands, e-mail: user-help@lenya.apache.org
>>>
>>>
>>>       
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>   


-- 
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk




Re: Lucene Search - System Folders/ Custom Locations

Posted by Florent André <fl...@4sengines.com>.
On Fri, 16 Oct 2009 14:26:36 +0530, Anish <an...@techblue.co.uk>
wrote:
> Thanks Florent, got your point.... :-)
> 
> So I need to write my own custom component which creates XML inside 
> lenya CMS 
heuu, this is doing by the lenyaDocTransformer... maybe we can work
together on ? 

> and later on indexed by lenya's standard mechanism.
> 
> 
> 
> Florent André wrote:
>> Hi Anish,
>>
>> If you choose the solution of create your documents into a Lenya page,
>> maybe you can try the LenyaDocWriting Transformer. It's based on the
>> cocoon
>> sourceWriting Transformer and allow you to create document into lenya
>> with
>> just a good xml syntax. 
>>
>> Code is not for now really clean, and some improvement have to be done,
>> but
>> I used it. Moreover if you try it, It will help - and push - me to
create
>> a
>> more clean version... :) 
>>
>> You can find it here :
>>
http://www.svn.4sengines.eu/modcontrib/lenyaDocWriting/trunk/lenyaDocWriting-0.1.0/
>>
>> ++
>>
>> On Thu, 15 Oct 2009 14:25:29 +0200, Thorsten Scherler
>> <th...@juntadeandalucia.es> wrote:
>>   
>>> On Thu, 2009-10-15 at 17:38 +0530, Anish wrote:
>>>     
>>
http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup
>>   
>>>>> There you can configure the location of the lucene index.
>>>>>   
>>>>>         
>>>> Thanks Thorsten
>>>>
>>>> But I'm bit confused that how to configure this file as this contains
>>>> the location of lucene indexes, but I wanted to configure actual
>>>> physical locations on the server like if I want a to search into a new
>>>> folder in which all XMLs uploaded by client reside, what path should I
>>>> give?
>>>>       
>>> So what you are planing to do is to INDEX a file system, correct? That
>>> is not working out of the box. You need to write a custom component to
>>> do this indexing part.
>>>
>>> There are some examples to connect to a SOLR server (which is based on
>>> Lucene) with cocoon, but that is not exactly like you want it. Look
into
>>> search2xhtml.xsl like sac pointed out. There you will see how to
>>> "prepare" a document that you later on can send to lucene. However the
>>> easiest way I reckon is to store the doc you want to index in Lenya and
>>> let lenya do the indexing job for you.
>>>
>>> If you need a crawler to crawl the file system you may want to look
into
>>> Apache Droids.
>>>
>>> salu2
>>>
>>>     
>>>> Please suggest
>>>>
>>>>
>>>> Thorsten Scherler wrote: 
>>>>       
>>>>> On Thu, 2009-10-15 at 15:34 +0530, Anish wrote:
>>>>>   
>>>>>         
>>>>>>> Please try to look into the default publication "search
>>>>>>> functionality" in lenya to know how it works.
>>>>>>>       
>>>>>>>             
>>>>>> Hi Sac
>>>>>>
>>>>>> I have looked for it but by default it works with the standard
>>>>>> locations of CMS, actually I wanted to use my custom locations. I'm
>>>>>> unable to figure out that how to configure lucene search within the
>>>>>> publication for accessing my custom locations.
>>>>>>
>>>>>>     
>>>>>>           
>>>>> I am not 100% sure whether I understand you but have a look at
>>>>>
>>>>>         
>>
http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup
>>   
>>>>> There you can configure the location of the lucene index.
>>>>>
>>>>> HTH
>>>>>
>>>>> salu2
>>>>>
>>>>>   
>>>>>         
>>>>>> Please suggest.
>>>>>> TIA
>>>>>>
>>>>>> sac sha wrote: 
>>>>>>     
>>>>>>           
>>>>>>> Hi Anish
>>>>>>>
>>>>>>> You are right. Lucene search is there in lenya..
>>>>>>>
>>>>>>> Please try to look into the default publication "search
>>>>>>> functionality" in lenya to know how it works.
>>>>>>>
>>>>>>> Regards
>>>>>>> Sac
>>>>>>>
>>>>>>> On Thu, Oct 15, 2009 at 9:46 AM, Anish <an...@techblue.co.uk>
>>>>>>> wrote:
>>>>>>>         > See the FAQ on indexing here:
>>>>>>>         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>>>>>>>         >   
>>>>>>>         
>>>>>>>         
>>>>>>>         I've checked the documentation, it gives implementation of
>>>>>>>         lucene search in java but I need to configure that in
>>>>>>>             
>> lenya
>>   
>>>>>>>         pub. I think it is already implemented in lenya, we just
>>>>>>>         need to edit/append some configuration file .
>>>>>>>         
>>>>>>>         Correct me if I'm wrong and please suggest.
>>>>>>>         
>>>>>>>         Regards
>>>>>>>         
>>>>>>>         Anish 
>>>>>>>         
>>>>>>>         
>>>>>>>         
>>>>>>>         Vik Tara wrote: 
>>>>>>>         > Anish,
>>>>>>>         > 
>>>>>>>         > Check the lucene project website and their
>>>>>>>             
>> documentation.
>>   
>>>>>>>         > 
>>>>>>>         > See the FAQ on indexing here:
>>>>>>>         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>>>>>>>         > 
>>>>>>>         > Regards
>>>>>>>         > 
>>>>>>>         > 
>>>>>>>         > Vik
>>>>>>>         > 
>>>>>>>         > Anish wrote:
>>>>>>>         >   
>>>>>>>         > > Hi All
>>>>>>>         > > 
>>>>>>>         > > I want to use lucene search for my publication. I want
>>>>>>>         > > to include some
>>>>>>>         > > external system folder in the search i.e. in my custom
>>>>>>>         > > search, I want
>>>>>>>         > > some XMLs to be searched which are placed on the
>>>>>>>             
>> system
>>   
>>>>>>>         > > but outside tomcat.
>>>>>>>         > > 
>>>>>>>         > > Please suggest
>>>>>>>         > > 
>>>>>>>         > >     
>>>>>>>         >
>>>>>>>             
>> ---------------------------------------------------------------------
>>   
>>>>>>>         > To unsubscribe, e-mail:
>>>>>>>             
>> user-unsubscribe@lenya.apache.org
>>   
>>>>>>>         > For additional commands, e-mail:
>>>>>>>         > user-help@lenya.apache.org
>>>>>>>         > 
>>>>>>>         >   
>>>>>>>         
>>>>>>>         
>>>>>>>         
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> -- 
>>>>>>> Regards
>>>>>>> Sachin Sharma
>>>>>>>
>>>>>>>       
>>>>>>>             
>>>>>> -- 
>>>>>> Anish Sneh
>>>>>> Software Engineer
>>>>>> Techblue Softwares Pvt. Ltd.
>>>>>> www.technologyblueprint.co.uk
>>>>>>
>>>>>>
>>>>>>     
>>>>>>           
>>>> -- 
>>>> Anish Sneh
>>>> Software Engineer
>>>> Techblue Softwares Pvt. Ltd.
>>>> www.technologyblueprint.co.uk
>>>>
>>>>
>>>>       
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>> For additional commands, e-mail: user-help@lenya.apache.org
>>
>>

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


Re: Lucene Search - System Folders/ Custom Locations

Posted by Anish <an...@techblue.co.uk>.
Thanks Florent, got your point.... :-)

So I need to write my own custom component which creates XML inside 
lenya CMS and later on indexed by lenya's standard mechanism.



Florent André wrote:
> Hi Anish,
>
> If you choose the solution of create your documents into a Lenya page,
> maybe you can try the LenyaDocWriting Transformer. It's based on the cocoon
> sourceWriting Transformer and allow you to create document into lenya with
> just a good xml syntax. 
>
> Code is not for now really clean, and some improvement have to be done, but
> I used it. Moreover if you try it, It will help - and push - me to create a
> more clean version... :) 
>
> You can find it here :
> http://www.svn.4sengines.eu/modcontrib/lenyaDocWriting/trunk/lenyaDocWriting-0.1.0/
>
> ++
>
> On Thu, 15 Oct 2009 14:25:29 +0200, Thorsten Scherler
> <th...@juntadeandalucia.es> wrote:
>   
>> On Thu, 2009-10-15 at 17:38 +0530, Anish wrote:
>>     
> http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup
>   
>>>> There you can configure the location of the lucene index.
>>>>   
>>>>         
>>> Thanks Thorsten
>>>
>>> But I'm bit confused that how to configure this file as this contains
>>> the location of lucene indexes, but I wanted to configure actual
>>> physical locations on the server like if I want a to search into a new
>>> folder in which all XMLs uploaded by client reside, what path should I
>>> give?
>>>       
>> So what you are planing to do is to INDEX a file system, correct? That
>> is not working out of the box. You need to write a custom component to
>> do this indexing part.
>>
>> There are some examples to connect to a SOLR server (which is based on
>> Lucene) with cocoon, but that is not exactly like you want it. Look into
>> search2xhtml.xsl like sac pointed out. There you will see how to
>> "prepare" a document that you later on can send to lucene. However the
>> easiest way I reckon is to store the doc you want to index in Lenya and
>> let lenya do the indexing job for you.
>>
>> If you need a crawler to crawl the file system you may want to look into
>> Apache Droids.
>>
>> salu2
>>
>>     
>>> Please suggest
>>>
>>>
>>> Thorsten Scherler wrote: 
>>>       
>>>> On Thu, 2009-10-15 at 15:34 +0530, Anish wrote:
>>>>   
>>>>         
>>>>>> Please try to look into the default publication "search
>>>>>> functionality" in lenya to know how it works.
>>>>>>       
>>>>>>             
>>>>> Hi Sac
>>>>>
>>>>> I have looked for it but by default it works with the standard
>>>>> locations of CMS, actually I wanted to use my custom locations. I'm
>>>>> unable to figure out that how to configure lucene search within the
>>>>> publication for accessing my custom locations.
>>>>>
>>>>>     
>>>>>           
>>>> I am not 100% sure whether I understand you but have a look at
>>>>
>>>>         
> http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup
>   
>>>> There you can configure the location of the lucene index.
>>>>
>>>> HTH
>>>>
>>>> salu2
>>>>
>>>>   
>>>>         
>>>>> Please suggest.
>>>>> TIA
>>>>>
>>>>> sac sha wrote: 
>>>>>     
>>>>>           
>>>>>> Hi Anish
>>>>>>
>>>>>> You are right. Lucene search is there in lenya..
>>>>>>
>>>>>> Please try to look into the default publication "search
>>>>>> functionality" in lenya to know how it works.
>>>>>>
>>>>>> Regards
>>>>>> Sac
>>>>>>
>>>>>> On Thu, Oct 15, 2009 at 9:46 AM, Anish <an...@techblue.co.uk>
>>>>>> wrote:
>>>>>>         > See the FAQ on indexing here:
>>>>>>         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>>>>>>         >   
>>>>>>         
>>>>>>         
>>>>>>         I've checked the documentation, it gives implementation of
>>>>>>         lucene search in java but I need to configure that in
>>>>>>             
> lenya
>   
>>>>>>         pub. I think it is already implemented in lenya, we just
>>>>>>         need to edit/append some configuration file .
>>>>>>         
>>>>>>         Correct me if I'm wrong and please suggest.
>>>>>>         
>>>>>>         Regards
>>>>>>         
>>>>>>         Anish 
>>>>>>         
>>>>>>         
>>>>>>         
>>>>>>         Vik Tara wrote: 
>>>>>>         > Anish,
>>>>>>         > 
>>>>>>         > Check the lucene project website and their
>>>>>>             
> documentation.
>   
>>>>>>         > 
>>>>>>         > See the FAQ on indexing here:
>>>>>>         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>>>>>>         > 
>>>>>>         > Regards
>>>>>>         > 
>>>>>>         > 
>>>>>>         > Vik
>>>>>>         > 
>>>>>>         > Anish wrote:
>>>>>>         >   
>>>>>>         > > Hi All
>>>>>>         > > 
>>>>>>         > > I want to use lucene search for my publication. I want
>>>>>>         > > to include some
>>>>>>         > > external system folder in the search i.e. in my custom
>>>>>>         > > search, I want
>>>>>>         > > some XMLs to be searched which are placed on the
>>>>>>             
> system
>   
>>>>>>         > > but outside tomcat.
>>>>>>         > > 
>>>>>>         > > Please suggest
>>>>>>         > > 
>>>>>>         > >     
>>>>>>         >
>>>>>>             
> ---------------------------------------------------------------------
>   
>>>>>>         > To unsubscribe, e-mail:
>>>>>>             
> user-unsubscribe@lenya.apache.org
>   
>>>>>>         > For additional commands, e-mail:
>>>>>>         > user-help@lenya.apache.org
>>>>>>         > 
>>>>>>         >   
>>>>>>         
>>>>>>         
>>>>>>         
>>>>>>
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> Regards
>>>>>> Sachin Sharma
>>>>>>
>>>>>>       
>>>>>>             
>>>>> -- 
>>>>> Anish Sneh
>>>>> Software Engineer
>>>>> Techblue Softwares Pvt. Ltd.
>>>>> www.technologyblueprint.co.uk
>>>>>
>>>>>
>>>>>     
>>>>>           
>>> -- 
>>> Anish Sneh
>>> Software Engineer
>>> Techblue Softwares Pvt. Ltd.
>>> www.technologyblueprint.co.uk
>>>
>>>
>>>       
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>   


-- 
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk




Re: Lucene Search - System Folders/ Custom Locations

Posted by Florent André <fl...@4sengines.com>.
Hi Anish,

If you choose the solution of create your documents into a Lenya page,
maybe you can try the LenyaDocWriting Transformer. It's based on the cocoon
sourceWriting Transformer and allow you to create document into lenya with
just a good xml syntax. 

Code is not for now really clean, and some improvement have to be done, but
I used it. Moreover if you try it, It will help - and push - me to create a
more clean version... :) 

You can find it here :
http://www.svn.4sengines.eu/modcontrib/lenyaDocWriting/trunk/lenyaDocWriting-0.1.0/

++

On Thu, 15 Oct 2009 14:25:29 +0200, Thorsten Scherler
<th...@juntadeandalucia.es> wrote:
> On Thu, 2009-10-15 at 17:38 +0530, Anish wrote:
>> >
http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup
>> > 
>> > There you can configure the location of the lucene index.
>> >   
>> 
>> Thanks Thorsten
>> 
>> But I'm bit confused that how to configure this file as this contains
>> the location of lucene indexes, but I wanted to configure actual
>> physical locations on the server like if I want a to search into a new
>> folder in which all XMLs uploaded by client reside, what path should I
>> give?
> 
> So what you are planing to do is to INDEX a file system, correct? That
> is not working out of the box. You need to write a custom component to
> do this indexing part.
> 
> There are some examples to connect to a SOLR server (which is based on
> Lucene) with cocoon, but that is not exactly like you want it. Look into
> search2xhtml.xsl like sac pointed out. There you will see how to
> "prepare" a document that you later on can send to lucene. However the
> easiest way I reckon is to store the doc you want to index in Lenya and
> let lenya do the indexing job for you.
> 
> If you need a crawler to crawl the file system you may want to look into
> Apache Droids.
> 
> salu2
> 
>> 
>> 
>> Please suggest
>> 
>> 
>> Thorsten Scherler wrote: 
>> > On Thu, 2009-10-15 at 15:34 +0530, Anish wrote:
>> >   
>> > > > Please try to look into the default publication "search
>> > > > functionality" in lenya to know how it works.
>> > > >       
>> > > Hi Sac
>> > > 
>> > > I have looked for it but by default it works with the standard
>> > > locations of CMS, actually I wanted to use my custom locations. I'm
>> > > unable to figure out that how to configure lucene search within the
>> > > publication for accessing my custom locations.
>> > > 
>> > >     
>> > 
>> > I am not 100% sure whether I understand you but have a look at
>> >
http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup
>> > 
>> > There you can configure the location of the lucene index.
>> > 
>> > HTH
>> > 
>> > salu2
>> > 
>> >   
>> > > Please suggest.
>> > > TIA
>> > > 
>> > > sac sha wrote: 
>> > >     
>> > > > Hi Anish
>> > > > 
>> > > > You are right. Lucene search is there in lenya..
>> > > > 
>> > > > Please try to look into the default publication "search
>> > > > functionality" in lenya to know how it works.
>> > > > 
>> > > > Regards
>> > > > Sac
>> > > > 
>> > > > On Thu, Oct 15, 2009 at 9:46 AM, Anish <an...@techblue.co.uk>
>> > > > wrote:
>> > > >         > See the FAQ on indexing here:
>> > > >         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>> > > >         >   
>> > > >         
>> > > >         
>> > > >         I've checked the documentation, it gives implementation of
>> > > >         lucene search in java but I need to configure that in
lenya
>> > > >         pub. I think it is already implemented in lenya, we just
>> > > >         need to edit/append some configuration file .
>> > > >         
>> > > >         Correct me if I'm wrong and please suggest.
>> > > >         
>> > > >         Regards
>> > > >         
>> > > >         Anish 
>> > > >         
>> > > >         
>> > > >         
>> > > >         Vik Tara wrote: 
>> > > >         > Anish,
>> > > >         > 
>> > > >         > Check the lucene project website and their
documentation.
>> > > >         > 
>> > > >         > See the FAQ on indexing here:
>> > > >         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>> > > >         > 
>> > > >         > Regards
>> > > >         > 
>> > > >         > 
>> > > >         > Vik
>> > > >         > 
>> > > >         > Anish wrote:
>> > > >         >   
>> > > >         > > Hi All
>> > > >         > > 
>> > > >         > > I want to use lucene search for my publication. I want
>> > > >         > > to include some
>> > > >         > > external system folder in the search i.e. in my custom
>> > > >         > > search, I want
>> > > >         > > some XMLs to be searched which are placed on the
system
>> > > >         > > but outside tomcat.
>> > > >         > > 
>> > > >         > > Please suggest
>> > > >         > > 
>> > > >         > >     
>> > > >         >
---------------------------------------------------------------------
>> > > >         > To unsubscribe, e-mail:
user-unsubscribe@lenya.apache.org
>> > > >         > For additional commands, e-mail:
>> > > >         > user-help@lenya.apache.org
>> > > >         > 
>> > > >         >   
>> > > >         
>> > > >         
>> > > >         
>> > > > 
>> > > > 
>> > > > 
>> > > > -- 
>> > > > Regards
>> > > > Sachin Sharma
>> > > > 
>> > > >       
>> > > -- 
>> > > Anish Sneh
>> > > Software Engineer
>> > > Techblue Softwares Pvt. Ltd.
>> > > www.technologyblueprint.co.uk
>> > > 
>> > > 
>> > >     
>> 
>> 
>> -- 
>> Anish Sneh
>> Software Engineer
>> Techblue Softwares Pvt. Ltd.
>> www.technologyblueprint.co.uk
>> 
>>

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


Re: Lucene Search - System Folders/ Custom Locations

Posted by Vik Tara <vi...@propco.co.uk>.
Hi Anish,

If you are just wanting to index a few folders, then maybe you could
create documents using cocoon's directory generator and index it's output?

Regards


Vik

Thorsten Scherler wrote:
> On Thu, 2009-10-15 at 17:38 +0530, Anish wrote:
>>> http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup
>>>
>>> There you can configure the location of the lucene index.
>>>   
>> Thanks Thorsten
>>
>> But I'm bit confused that how to configure this file as this contains
>> the location of lucene indexes, but I wanted to configure actual
>> physical locations on the server like if I want a to search into a new
>> folder in which all XMLs uploaded by client reside, what path should I
>> give?
> 
> So what you are planing to do is to INDEX a file system, correct? That
> is not working out of the box. You need to write a custom component to
> do this indexing part.
> 
> There are some examples to connect to a SOLR server (which is based on
> Lucene) with cocoon, but that is not exactly like you want it. Look into
> search2xhtml.xsl like sac pointed out. There you will see how to
> "prepare" a document that you later on can send to lucene. However the
> easiest way I reckon is to store the doc you want to index in Lenya and
> let lenya do the indexing job for you.
> 
> If you need a crawler to crawl the file system you may want to look into
> Apache Droids.
> 
> salu2
> 
>>
>> Please suggest
>>
>>
>> Thorsten Scherler wrote: 
>>> On Thu, 2009-10-15 at 15:34 +0530, Anish wrote:
>>>   
>>>>> Please try to look into the default publication "search
>>>>> functionality" in lenya to know how it works.
>>>>>       
>>>> Hi Sac
>>>>
>>>> I have looked for it but by default it works with the standard
>>>> locations of CMS, actually I wanted to use my custom locations. I'm
>>>> unable to figure out that how to configure lucene search within the
>>>> publication for accessing my custom locations.
>>>>
>>>>     
>>> I am not 100% sure whether I understand you but have a look at
>>> http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup
>>>
>>> There you can configure the location of the lucene index.
>>>
>>> HTH
>>>
>>> salu2
>>>
>>>   
>>>> Please suggest.
>>>> TIA
>>>>
>>>> sac sha wrote: 
>>>>     
>>>>> Hi Anish
>>>>>
>>>>> You are right. Lucene search is there in lenya..
>>>>>
>>>>> Please try to look into the default publication "search
>>>>> functionality" in lenya to know how it works.
>>>>>
>>>>> Regards
>>>>> Sac
>>>>>
>>>>> On Thu, Oct 15, 2009 at 9:46 AM, Anish <an...@techblue.co.uk>
>>>>> wrote:
>>>>>         > See the FAQ on indexing here:
>>>>>         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>>>>>         >   
>>>>>         
>>>>>         
>>>>>         I've checked the documentation, it gives implementation of
>>>>>         lucene search in java but I need to configure that in lenya
>>>>>         pub. I think it is already implemented in lenya, we just
>>>>>         need to edit/append some configuration file .
>>>>>         
>>>>>         Correct me if I'm wrong and please suggest.
>>>>>         
>>>>>         Regards
>>>>>         
>>>>>         Anish 
>>>>>         
>>>>>         
>>>>>         
>>>>>         Vik Tara wrote: 
>>>>>         > Anish,
>>>>>         > 
>>>>>         > Check the lucene project website and their documentation.
>>>>>         > 
>>>>>         > See the FAQ on indexing here:
>>>>>         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>>>>>         > 
>>>>>         > Regards
>>>>>         > 
>>>>>         > 
>>>>>         > Vik
>>>>>         > 
>>>>>         > Anish wrote:
>>>>>         >   
>>>>>         > > Hi All
>>>>>         > > 
>>>>>         > > I want to use lucene search for my publication. I want to include some
>>>>>         > > external system folder in the search i.e. in my custom search, I want
>>>>>         > > some XMLs to be searched which are placed on the system but outside tomcat.
>>>>>         > > 
>>>>>         > > Please suggest
>>>>>         > > 
>>>>>         > >     
>>>>>         > ---------------------------------------------------------------------
>>>>>         > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>>>         > For additional commands, e-mail: user-help@lenya.apache.org
>>>>>         > 
>>>>>         >   
>>>>>         
>>>>>         
>>>>>         
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Regards
>>>>> Sachin Sharma
>>>>>
>>>>>       
>>>> -- 
>>>> Anish Sneh
>>>> Software Engineer
>>>> Techblue Softwares Pvt. Ltd.
>>>> www.technologyblueprint.co.uk
>>>>
>>>>
>>>>     
>>
>> -- 
>> Anish Sneh
>> Software Engineer
>> Techblue Softwares Pvt. Ltd.
>> www.technologyblueprint.co.uk
>>
>>


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


Re: Lucene Search - System Folders/ Custom Locations

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Thu, 2009-10-15 at 17:38 +0530, Anish wrote:
> > http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup
> > 
> > There you can configure the location of the lucene index.
> >   
> 
> Thanks Thorsten
> 
> But I'm bit confused that how to configure this file as this contains
> the location of lucene indexes, but I wanted to configure actual
> physical locations on the server like if I want a to search into a new
> folder in which all XMLs uploaded by client reside, what path should I
> give?

So what you are planing to do is to INDEX a file system, correct? That
is not working out of the box. You need to write a custom component to
do this indexing part.

There are some examples to connect to a SOLR server (which is based on
Lucene) with cocoon, but that is not exactly like you want it. Look into
search2xhtml.xsl like sac pointed out. There you will see how to
"prepare" a document that you later on can send to lucene. However the
easiest way I reckon is to store the doc you want to index in Lenya and
let lenya do the indexing job for you.

If you need a crawler to crawl the file system you may want to look into
Apache Droids.

salu2

> 
> 
> Please suggest
> 
> 
> Thorsten Scherler wrote: 
> > On Thu, 2009-10-15 at 15:34 +0530, Anish wrote:
> >   
> > > > Please try to look into the default publication "search
> > > > functionality" in lenya to know how it works.
> > > >       
> > > Hi Sac
> > > 
> > > I have looked for it but by default it works with the standard
> > > locations of CMS, actually I wanted to use my custom locations. I'm
> > > unable to figure out that how to configure lucene search within the
> > > publication for accessing my custom locations.
> > > 
> > >     
> > 
> > I am not 100% sure whether I understand you but have a look at
> > http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup
> > 
> > There you can configure the location of the lucene index.
> > 
> > HTH
> > 
> > salu2
> > 
> >   
> > > Please suggest.
> > > TIA
> > > 
> > > sac sha wrote: 
> > >     
> > > > Hi Anish
> > > > 
> > > > You are right. Lucene search is there in lenya..
> > > > 
> > > > Please try to look into the default publication "search
> > > > functionality" in lenya to know how it works.
> > > > 
> > > > Regards
> > > > Sac
> > > > 
> > > > On Thu, Oct 15, 2009 at 9:46 AM, Anish <an...@techblue.co.uk>
> > > > wrote:
> > > >         > See the FAQ on indexing here:
> > > >         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
> > > >         >   
> > > >         
> > > >         
> > > >         I've checked the documentation, it gives implementation of
> > > >         lucene search in java but I need to configure that in lenya
> > > >         pub. I think it is already implemented in lenya, we just
> > > >         need to edit/append some configuration file .
> > > >         
> > > >         Correct me if I'm wrong and please suggest.
> > > >         
> > > >         Regards
> > > >         
> > > >         Anish 
> > > >         
> > > >         
> > > >         
> > > >         Vik Tara wrote: 
> > > >         > Anish,
> > > >         > 
> > > >         > Check the lucene project website and their documentation.
> > > >         > 
> > > >         > See the FAQ on indexing here:
> > > >         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
> > > >         > 
> > > >         > Regards
> > > >         > 
> > > >         > 
> > > >         > Vik
> > > >         > 
> > > >         > Anish wrote:
> > > >         >   
> > > >         > > Hi All
> > > >         > > 
> > > >         > > I want to use lucene search for my publication. I want to include some
> > > >         > > external system folder in the search i.e. in my custom search, I want
> > > >         > > some XMLs to be searched which are placed on the system but outside tomcat.
> > > >         > > 
> > > >         > > Please suggest
> > > >         > > 
> > > >         > >     
> > > >         > ---------------------------------------------------------------------
> > > >         > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> > > >         > For additional commands, e-mail: user-help@lenya.apache.org
> > > >         > 
> > > >         >   
> > > >         
> > > >         
> > > >         
> > > > 
> > > > 
> > > > 
> > > > -- 
> > > > Regards
> > > > Sachin Sharma
> > > > 
> > > >       
> > > -- 
> > > Anish Sneh
> > > Software Engineer
> > > Techblue Softwares Pvt. Ltd.
> > > www.technologyblueprint.co.uk
> > > 
> > > 
> > >     
> 
> 
> -- 
> Anish Sneh
> Software Engineer
> Techblue Softwares Pvt. Ltd.
> www.technologyblueprint.co.uk
> 
> 
-- 
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la Información, S.A.U. (SADESI)





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


Re: Lucene Search - System Folders/ Custom Locations

Posted by Anish <an...@techblue.co.uk>.
>
> http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup
>
> There you can configure the location of the lucene index.
>   

Thanks Thorsten

But I'm bit confused that how to configure this file as this contains 
the location of lucene indexes, but I wanted to configure actual 
physical locations on the server like if I want a to search into a new 
folder in which all XMLs uploaded by client reside, what path should I give?


Please suggest


Thorsten Scherler wrote:
> On Thu, 2009-10-15 at 15:34 +0530, Anish wrote:
>   
>>> Please try to look into the default publication "search
>>> functionality" in lenya to know how it works.
>>>       
>> Hi Sac
>>
>> I have looked for it but by default it works with the standard
>> locations of CMS, actually I wanted to use my custom locations. I'm
>> unable to figure out that how to configure lucene search within the
>> publication for accessing my custom locations.
>>
>>     
>
> I am not 100% sure whether I understand you but have a look at
> http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup
>
> There you can configure the location of the lucene index.
>
> HTH
>
> salu2
>
>   
>> Please suggest.
>> TIA
>>
>> sac sha wrote: 
>>     
>>> Hi Anish
>>>
>>> You are right. Lucene search is there in lenya..
>>>
>>> Please try to look into the default publication "search
>>> functionality" in lenya to know how it works.
>>>
>>> Regards
>>> Sac
>>>
>>> On Thu, Oct 15, 2009 at 9:46 AM, Anish <an...@techblue.co.uk>
>>> wrote:
>>>         > See the FAQ on indexing here:
>>>         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>>>         >   
>>>         
>>>         
>>>         I've checked the documentation, it gives implementation of
>>>         lucene search in java but I need to configure that in lenya
>>>         pub. I think it is already implemented in lenya, we just
>>>         need to edit/append some configuration file .
>>>         
>>>         Correct me if I'm wrong and please suggest.
>>>         
>>>         Regards
>>>         
>>>         Anish 
>>>         
>>>         
>>>         
>>>         Vik Tara wrote: 
>>>         > Anish,
>>>         > 
>>>         > Check the lucene project website and their documentation.
>>>         > 
>>>         > See the FAQ on indexing here:
>>>         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>>>         > 
>>>         > Regards
>>>         > 
>>>         > 
>>>         > Vik
>>>         > 
>>>         > Anish wrote:
>>>         >   
>>>         > > Hi All
>>>         > > 
>>>         > > I want to use lucene search for my publication. I want to include some
>>>         > > external system folder in the search i.e. in my custom search, I want
>>>         > > some XMLs to be searched which are placed on the system but outside tomcat.
>>>         > > 
>>>         > > Please suggest
>>>         > > 
>>>         > >     
>>>         > ---------------------------------------------------------------------
>>>         > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
>>>         > For additional commands, e-mail: user-help@lenya.apache.org
>>>         > 
>>>         >   
>>>         
>>>         
>>>         
>>>
>>>
>>>
>>> -- 
>>> Regards
>>> Sachin Sharma
>>>
>>>       
>> -- 
>> Anish Sneh
>> Software Engineer
>> Techblue Softwares Pvt. Ltd.
>> www.technologyblueprint.co.uk
>>
>>
>>     


-- 
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk




Re: Lucene Search - System Folders/ Custom Locations

Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Thu, 2009-10-15 at 15:34 +0530, Anish wrote:
> > Please try to look into the default publication "search
> > functionality" in lenya to know how it works.
> 
> Hi Sac
> 
> I have looked for it but by default it works with the standard
> locations of CMS, actually I wanted to use my custom locations. I'm
> unable to figure out that how to configure lucene search within the
> publication for accessing my custom locations.
> 

I am not 100% sure whether I understand you but have a look at
http://svn.apache.org/viewvc/lenya/branches/BRANCH_2_0_X/src/pubs/default/config/search/lucene_index.xml?view=markup

There you can configure the location of the lucene index.

HTH

salu2

> 
> Please suggest.
> TIA
> 
> sac sha wrote: 
> > Hi Anish
> > 
> > You are right. Lucene search is there in lenya..
> > 
> > Please try to look into the default publication "search
> > functionality" in lenya to know how it works.
> > 
> > Regards
> > Sac
> > 
> > On Thu, Oct 15, 2009 at 9:46 AM, Anish <an...@techblue.co.uk>
> > wrote:
> >         > See the FAQ on indexing here:
> >         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
> >         >   
> >         
> >         
> >         I've checked the documentation, it gives implementation of
> >         lucene search in java but I need to configure that in lenya
> >         pub. I think it is already implemented in lenya, we just
> >         need to edit/append some configuration file .
> >         
> >         Correct me if I'm wrong and please suggest.
> >         
> >         Regards
> >         
> >         Anish 
> >         
> >         
> >         
> >         Vik Tara wrote: 
> >         > Anish,
> >         > 
> >         > Check the lucene project website and their documentation.
> >         > 
> >         > See the FAQ on indexing here:
> >         > http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
> >         > 
> >         > Regards
> >         > 
> >         > 
> >         > Vik
> >         > 
> >         > Anish wrote:
> >         >   
> >         > > Hi All
> >         > > 
> >         > > I want to use lucene search for my publication. I want to include some
> >         > > external system folder in the search i.e. in my custom search, I want
> >         > > some XMLs to be searched which are placed on the system but outside tomcat.
> >         > > 
> >         > > Please suggest
> >         > > 
> >         > >     
> >         > ---------------------------------------------------------------------
> >         > To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> >         > For additional commands, e-mail: user-help@lenya.apache.org
> >         > 
> >         >   
> >         
> >         
> >         
> > 
> > 
> > 
> > -- 
> > Regards
> > Sachin Sharma
> > 
> 
> 
> -- 
> Anish Sneh
> Software Engineer
> Techblue Softwares Pvt. Ltd.
> www.technologyblueprint.co.uk
> 
> 
-- 
Thorsten Scherler <thorsten.at.apache.org>
Open Source Java <consulting, training and solutions>

Sociedad Andaluza para el Desarrollo de la Sociedad 
de la Información, S.A.U. (SADESI)





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


Re: Lucene Search - System Folders/ Custom Locations

Posted by sac sha <sa...@gmail.com>.
Hi Anish

I think $LENYA_HOME/src/modules/lucene/xslt/search2xhtml.xsl in lucene
module is worth reading. Especially the search:hit template.

Not sure but I think you can do some customization over there to make it
working.

Regards
Sac

On Thu, Oct 15, 2009 at 11:04 AM, Anish <an...@techblue.co.uk> wrote:

>  Please try to look into the default publication "search functionality" in
> lenya to know how it works.
>
>
> Hi Sac
>
> I have looked for it but by default it works with the standard locations of
> CMS, actually I wanted to use my custom locations. I'm unable to figure out
> that how to configure lucene search within the publication for accessing my
> custom locations.
>
>
> Please suggest.
> TIA
>
>
> sac sha wrote:
>
> Hi Anish
>
> You are right. Lucene search is there in lenya..
>
> Please try to look into the default publication "search functionality" in
> lenya to know how it works.
>
> Regards
> Sac
>
> On Thu, Oct 15, 2009 at 9:46 AM, Anish <an...@techblue.co.uk> wrote:
>
>   See the FAQ on indexing here:http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>
>
>  I've checked the documentation, it gives implementation of lucene search
> in java but I need to configure that in lenya pub. I think it is already
> implemented in lenya, we just need to edit/append some configuration file .
>
> Correct me if I'm wrong and please suggest.
>
> Regards
>
> Anish
>
>
> Vik Tara wrote:
>
> Anish,
>
> Check the lucene project website and their documentation.
>
> See the FAQ on indexing here:http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>
> Regards
>
>
> Vik
>
> Anish wrote:
>
>
>  Hi All
>
> I want to use lucene search for my publication. I want to include some
> external system folder in the search i.e. in my custom search, I want
> some XMLs to be searched which are placed on the system but outside tomcat.
>
> Please suggest
>
>
>
>  ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
>
>
>
> --
> Regards
> Sachin Sharma
>
>
>
> --
> Anish Sneh
> Software Engineer
> Techblue Softwares Pvt. Ltd.www.technologyblueprint.co.uk
>
>


-- 
Regards
Sachin Sharma

Re: Lucene Search - System Folders/ Custom Locations

Posted by Anish <an...@techblue.co.uk>.
> Please try to look into the default publication "search functionality" 
> in lenya to know how it works.

Hi Sac

I have looked for it but by default it works with the standard locations 
of CMS, actually I wanted to use my custom locations. I'm unable to 
figure out that how to configure lucene search within the publication 
for accessing my custom locations.


Please suggest.
TIA

sac sha wrote:
> Hi Anish
>
> You are right. Lucene search is there in lenya..
>
> Please try to look into the default publication "search functionality" 
> in lenya to know how it works.
>
> Regards
> Sac
>
> On Thu, Oct 15, 2009 at 9:46 AM, Anish <anish.sneh@techblue.co.uk 
> <ma...@techblue.co.uk>> wrote:
>
>>     See the FAQ on indexing here:
>>     http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>>       
>
>     I've checked the documentation, it gives implementation of lucene
>     search in java but I need to configure that in lenya pub. I think
>     it is already implemented in lenya, we just need to edit/append
>     some configuration file .
>
>     Correct me if I'm wrong and please suggest.
>
>     Regards
>
>     Anish
>
>
>
>     Vik Tara wrote:
>>     Anish,
>>
>>     Check the lucene project website and their documentation.
>>
>>     See the FAQ on indexing here:
>>     http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>>
>>     Regards
>>
>>
>>     Vik
>>
>>     Anish wrote:
>>       
>>>     Hi All
>>>
>>>     I want to use lucene search for my publication. I want to include some
>>>     external system folder in the search i.e. in my custom search, I want
>>>     some XMLs to be searched which are placed on the system but outside tomcat.
>>>
>>>     Please suggest
>>>
>>>         
>>     ---------------------------------------------------------------------
>>     To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org <ma...@lenya.apache.org>
>>     For additional commands, e-mail: user-help@lenya.apache.org <ma...@lenya.apache.org>
>>
>>       
>
>
>
>
>
> -- 
> Regards
> Sachin Sharma
>


-- 
Anish Sneh
Software Engineer
Techblue Softwares Pvt. Ltd.
www.technologyblueprint.co.uk




Re: Lucene Search - System Folders/ Custom Locations

Posted by sac sha <sa...@gmail.com>.
Hi Anish

You are right. Lucene search is there in lenya..

Please try to look into the default publication "search functionality" in
lenya to know how it works.

Regards
Sac

On Thu, Oct 15, 2009 at 9:46 AM, Anish <an...@techblue.co.uk> wrote:

>  See the FAQ on indexing here:http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>
>
> I've checked the documentation, it gives implementation of lucene search in
> java but I need to configure that in lenya pub. I think it is already
> implemented in lenya, we just need to edit/append some configuration file .
>
> Correct me if I'm wrong and please suggest.
>
> Regards
>
> Anish
>
>
>
> Vik Tara wrote:
>
> Anish,
>
> Check the lucene project website and their documentation.
>
> See the FAQ on indexing here:http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>
> Regards
>
>
> Vik
>
> Anish wrote:
>
>
>  Hi All
>
> I want to use lucene search for my publication. I want to include some
> external system folder in the search i.e. in my custom search, I want
> some XMLs to be searched which are placed on the system but outside tomcat.
>
> Please suggest
>
>
>
>  ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>
>
>


-- 
Regards
Sachin Sharma

Re: Lucene Search - System Folders/ Custom Locations

Posted by Anish <an...@techblue.co.uk>.
>
> See the FAQ on indexing here:
> http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>   

I've checked the documentation, it gives implementation of lucene search 
in java but I need to configure that in lenya pub. I think it is already 
implemented in lenya, we just need to edit/append some configuration file .

Correct me if I'm wrong and please suggest.

Regards

Anish


Vik Tara wrote:
> Anish,
>
> Check the lucene project website and their documentation.
>
> See the FAQ on indexing here:
> http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing
>
> Regards
>
>
> Vik
>
> Anish wrote:
>   
>> Hi All
>>
>> I want to use lucene search for my publication. I want to include some
>> external system folder in the search i.e. in my custom search, I want
>> some XMLs to be searched which are placed on the system but outside tomcat.
>>
>> Please suggest
>>
>>     
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>
>   



Re: Lucene Search - System Folders/ Custom Locations

Posted by Vik Tara <vi...@propco.co.uk>.
Anish,

Check the lucene project website and their documentation.

See the FAQ on indexing here:
http://wiki.apache.org/lucene-java/LuceneFAQ#Indexing

Regards


Vik

Anish wrote:
> Hi All
> 
> I want to use lucene search for my publication. I want to include some
> external system folder in the search i.e. in my custom search, I want
> some XMLs to be searched which are placed on the system but outside tomcat.
> 
> Please suggest
> 


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