Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-25 Thread javaxmlsoapdev
uest("/update/extract"); >>>>>>> up.addFile(fileToIndex); >>>>>>> up.setParam("literal.key", "8978"); //key is the uniqueId >>>>>>> up.setParam("ext.literal.docName", "doc123.txt"

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-24 Thread Lance Norskog
>>> up.addFile(fileToIndex); >>>>>>> up.setParam("literal.key", "8978"); //key is the uniqueId >>>>>>> up.setParam("ext.literal.docName", "doc123.txt"); >>

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-24 Thread javaxmlsoapdev
case doesn't give me any error and "I think" its indexing the >>>>>> file? >>>>>> but >>>>>> when I search for a text (which was part of the .txt file) search >>>>>> doesn't >>>>>> return me anything. >>&

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-24 Thread javaxmlsoapdev
nt into "content" attribute. 702 text/plain doc123.txt 8978 Any idea? Thanks, -- View this message in context: http://old.nabble.com/ExternalRequestHandler-and-ContentStreamUpdateRequest-usage-tp26486817p26498946.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-24 Thread javaxmlsoapdev
t;>>> (assuming this is the only file you added)? >>>> >>>> Also, I don't think you need ext.literal anymore, just literal. >>>> >>>>> >>>>> Following is the config from solrconfig.xml where I have mapped >>>>> c

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-24 Thread javaxmlsoapdev
d ext.literal anymore, just literal. >>> >>>> >>>> Following is the config from solrconfig.xml where I have mapped content >>>> to >>>> "description" field(default search field) in the schema. >>>> >>>> >>&

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-23 Thread Grant Ingersoll
n.ExtractingRequestHandler"> >>> >>> description >>> description >>> >>> >>> >>> Clearly it seems I am missing something. Any idea? >> >> >> >> -- >>

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-23 Thread javaxmlsoapdev
where I have mapped content >>> to >>> "description" field(default search field) in the schema. >>> >>> >> class="org.apache.solr.handler.extraction.ExtractingRequestHandler"> >>> >>> description >>>

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-23 Thread javaxmlsoapdev
description >> description >> >> >> >> Clearly it seems I am missing something. Any idea? > > > > ------ > Grant Ingersoll > http://www.lucidimagination.com/ > > Search the Lucene ecosystem (Lucene/Solr/Nutch/Mahout/Tika/Droids) using > Solr/Lucene: > http://www.lucidimagination.com/search > > > -- View this message in context: http://old.nabble.com/ExternalRequestHandler-and-ContentStreamUpdateRequest-usage-tp26486817p26487320.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-23 Thread Grant Ingersoll
On Nov 23, 2009, at 5:04 PM, javaxmlsoapdev wrote: > > Following code is from my test case where it tries to index a file (of type > .txt) > ContentStreamUpdateRequest up = new > ContentStreamUpdateRequest("/update/extract"); > up.addFile(fileToIndex); > up.setParam("literal.key", "8978"); //key

ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-23 Thread javaxmlsoapdev
search doesn't return me anything. Following is the config from solrconfig.xml where I have mapped content to "description" field(default search field) in the schema. description description Clearly it seems I am missing something. Any idea? Thanks, --