I need to get all the fields of a remote solr istance. I try to parse the
xmlstream returned by "admin/get-file.jsp?file=schema.xml&core=core1".Is
there any other way?
BTW: The xmlstream contain 3 space lines in head and 2 in tail, which
cause some trouble to parse.
Every reply appreciated.
ey <[EMAIL PROTECTED]> wrote:
>
> Check the LukeRequestHandler:
> http://wiki.apache.org/solr/LukeRequestHandler
>
>
> Edward Zhang wrote:
> > I need to get all the fields of a remote solr istance. I try to parse
> the
> > xmlstream returned by "admin/get
Wow, thanks for Yonik 's quick reply! :)
That is what I want!
I just tried numTerms=500 then I ignored the useness of numTerms.
On 12/21/07, Yonik Seeley <[EMAIL PROTECTED]> wrote:
>
> On Dec 20, 2007 8:47 PM, Edward Zhang <[EMAIL PROTECTED]> wrote:
> > I
Also, it may need a handler responses how many cores there are and what they
are.
On 12/22/07, Ryan McKinley <[EMAIL PROTECTED]> wrote:
>
> For folks using the new MultiCore stuff in 1.3-dev...
>
> The interface just changed so that all requests require a core name and
> the '@' is no longer suppo
I am sorry, I get the entry. In order to get all cores,try
*admin/multicore?action=STATUS*
On 12/24/07, Edward Zhang <[EMAIL PROTECTED]> wrote:
>
> Also, it may need a handler responses how many cores there are and what
> they are.
>
> On 12/22/07, Ryan McKinley <
http://svn.apache.org/repos/asf/lucene/solr/trunk
or
http://lucene.apache.org/solr/version_control.html
On 1/21/08, anuvenk <[EMAIL PROTECTED]> wrote:
>
>
> Could you please let me know the location from where i can get it.
>
> climbingrose wrote:
> >
> > I'm using code pulled directly from Subve
I want to programmatically retrieve the schema and the config from the
ShowFileRequestHandler. I encounter some trouble. There are CJK characters
in the xml files as follows:
>
> 记录号
>
But I get a confusing response from solr using "/admin/file/?file=schema.xml".
IE and firefox both report p
else {
> getBaseWriter( request ).write( writer, request, response );
> }
> }
>
On 3/6/08, Edward Zhang <[EMAIL PROTECTED]> wrote:
>
> I want to programmatically retrieve the schema and the config from the
> ShowFileRequestHandler. I encounter some troub
ResponseWriter to use the Reader rather then
> the Stream -- this way, you should not have to specify the contentType
> to make it match the FileReader.
>
> Does this fix your issues?
>
> thanks
> ryan
>
>
> Edward Zhang wrote:
> &g
Oh,I am sorry, Ryan, I am afriad I made a mistake.
It doesn't work yet.When I deploy the new war, it looks like before.
I rewrite to "IOUtils.copy( content.getStream(), writer, "utf-8" )" and it
works fine again!
10 matches
Mail list logo