Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-25 Thread javaxmlsoapdev
Grant, can you assist. I am going clueless as to why its not indexing content of the file. I have provided schema, code info below/previous threads. do I need to explicitly add param("content", "') into ContentStreamUpdateRequest? which I don't think is the right thing to do. Please advie. let me

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-24 Thread Lance Norskog
If you are using multicore, you have to run Luke on a particular core: http://machine:port/solr/core/admin/luke And, admin itself: http://machine:port/solr/core/admin On Tue, Nov 24, 2009 at 10:18 AM, javaxmlsoapdev wrote: > > Following is luke response. is empty. can someone > assist to find

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-24 Thread javaxmlsoapdev
Following is luke response. is empty. can someone assist to find out why file content isn't being index? 0 0 0 0 0 1259085661332 false true false org.apache.lucene.store.NIOFSDirectory:org.apache.lucene.store.NIOFSDirectory@/home/tomcat-solr/bin/docs/dat

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-24 Thread javaxmlsoapdev
I was able to configure /docs index separately from my db data index. still I am seeing same behavior where it only puts .docName & its size in the "content" field (I have renamed field to "content" in this new schema) below are the only two fields I have in schema.xml Following is updat

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-24 Thread javaxmlsoapdev
I was able to configure /docs index separately from my db data index. still I am seeing same behavior where it only puts .docName & its size in the "content" field (I have renamed field to "content" in this new schema) below are the only two fields I have in schema.xml Following is upda

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-24 Thread javaxmlsoapdev
http://machinename:port/solr/admin/luke gives me 404 error so seems like its not able to find luke. I am reusing schema, which is used for indexing other entity from database, which has no relevance to documents. that was my next question that what do I put in, in a schema if my documents don't n

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-23 Thread Grant Ingersoll
On Nov 23, 2009, at 5:33 PM, javaxmlsoapdev wrote: > > *:* returns me 1 count but when I search for specific word (which was part of > .txt file I indexed before) it doesn't return me anything. I don't have luke > setup on my end. http://localhost:8983/solr/admin/luke should give yo some info.

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-23 Thread javaxmlsoapdev
FYI: weirdly its returning me following when I run rsp.getResults().get(0).getFieldValue("description") [702, text/plain, doc123.txt, ] so it seems like its storing up.setParam("ext.literal.docName", "doc123.txt"); into description versus file content in "description" attribute. Any i

Re: ExternalRequestHandler and ContentStreamUpdateRequest usage

2009-11-23 Thread javaxmlsoapdev
*:* returns me 1 count but when I search for specific word (which was part of .txt file I indexed before) it doesn't return me anything. I don't have luke setup on my end. let me see if I can set that up quickly but otherwise do you see anything I am missing in solrconfig mapping or something? whi

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