Carrot2 is a great tool and very easy to implement. This is the only tool I
know using text mining in such easy way.
When I use Clustering Workbench with this index with the same filed
settings, I get the same result as with webapp. No content field.
I am using the same lucene.attributes.xml with these attributes:
<attribute
key="org.carrot2.source.lucene.SimpleFieldMapper.contentField">
<value type="java.lang.String" value="content" />
</attribute>
<attribute
key="org.carrot2.source.lucene.SimpleFieldMapper.titleField">
<value type="java.lang.String" value="title" />
</attribute>
<attribute key="org.carrot2.source.lucene.SimpleFieldMapper.urlField">
<value type="java.lang.String" value="url" />
</attribute>
I want to tell you currently I am using Nutch lucene index. and everything
is working fine except display of content field in results.
Later I want to use carrot2 with DSpace and for that I may ask help. I think
yet nobody has implemented carrot2 with Dspace which is a very powerful
software.
regards,
On Tue, Jan 20, 2009 at 1:43 AM, Stanislaw Osinski
<stanislaw@...:
> Thanks to all developers of carrot2.
>
>
> You're welcome :-) I'm glad Carrot2 works for you so far.
>
>
>> Now my search with carrot2 webapp in lucene index is working perfect but
>> couldn't display content field in the returned results, only url and title
>> are being displayed. Do I need to change in some classes?
>
>
> That's interesting... When you use Document Clustering Workbench with this
> index and the same field settings -- do you see the content field then?
>
> One cause that springs to my mind is that you may have misspelt the
> "Document content field" attribute key
> (org.carrot2.source.lucene.SimpleFieldMapper.contentField) or value (Lucene
> field name in your index) in the configuration file.
>
> Cheers,
>
> S.
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Carrot2-developers mailing list
> Carrot2-developers@...
> https://lists.sourceforge.net/lists/listinfo/carrot2-developers
>
>
--
regards,
*****************************************************
Arun Maurya,
DESIDOC (DRDO),
Metcalfe House,
Delhi - 110054
अरुण मौर्य ,
डेसीडोक, डी आर डी ओ
******************************************************
|