Hi Kumar,
Wow, a brave soul trying out Solr Cell (aka the
ExtractingRequestHandler) already! Cool!
To add in external metadata, you can pass in literal parameters, as in:
In your example, you could do something like:
&ext.literal.Category=Alphabets&ext.literal.Catalog_ID=1213123
This will literally add the value "Alphabets" to the Category field,
and likewise 1213123 to the Catalog_ID field.
See
http://wiki.apache.org/solr/ExtractingRequestHandler#head-88b9f55989c9878638e88be5d335b5126550f87c
On Dec 6, 2008, at 4:05 AM, Jana, Kumar Raja wrote:
Hi,
I need to add some external metadata along with the documents I send
to
ExtractingRequestHandler. Can someone please tell me how do i achieve
this?
E.g. Say I need to index the file abc.pdf. I want to add some more
additional information to the metadata such as Category = Alphabets,
Catalog_ID = 1213123, Owner = Mr. X, Date_of_Purchase = someday, etc.
Thanks,
Kumar
--------------------------
Grant Ingersoll
Lucene Helpful Hints:
http://wiki.apache.org/lucene-java/BasicsOfPerformance
http://wiki.apache.org/lucene-java/LuceneFAQ