Re: Quick question about indexing with SolrJ.

2013-05-14 Thread William Bell
Try https://issues.apache.org/jira/browse/SOLR-4685 It allows you to return put JSON from a string field. Also to convert a XML field to JSON you can use a plugin for DIH https://issues.apache.org/jira/browse/SOLR-4692 On Monday, May 13, 2013, Chris Hostetter wrote: > > : I don't want to use P

Re: Quick question about indexing with SolrJ.

2013-05-13 Thread Chris Hostetter
: I don't want to use POJOs, that's the main problem. I know that you can : send AJAX POST HTTP Requests with JSON data to index new documents and I : would like to do that with SolrJ, that's all, but I don't find the way to : do that, :-/ . What I would like to do is simple retrieve an String wit

Re: Quick question about indexing with SolrJ.

2013-05-13 Thread Alexandre Rafalovitch
You can send JSON to Solr as update documents: http://wiki.apache.org/solr/UpdateJSON. Not sure if SolrJ supports it, but it is just an HTTP post, so you may not even need SolrJ. But the issue is that your own JSON probably does not match JSON expected by Solr. So, you need to map it somehow, righ

Re: Quick question about indexing with SolrJ.

2013-05-13 Thread Luis Cappa Banda
Hello, Jack. I don't want to use POJOs, that's the main problem. I know that you can send AJAX POST HTTP Requests with JSON data to index new documents and I would like to do that with SolrJ, that's all, but I don't find the way to do that, :-/ . What I would like to do is simple retrieve an Strin

Re: Quick question about indexing with SolrJ.

2013-05-13 Thread Jack Krupansky
Do your POJOs follow a simple flat data model that is 100% compatible with Solr? If so, maybe you can simply ingest them by setting the Content-type to "application/json" and maybe having to put some minimal wrapper around the raw JSON. But... if they DON'T follow a simple, flat data model,

Re: Quick question on indexing an existing index

2010-10-15 Thread Jan Høydahl / Cominvent
Why don't you simply index the source content which you used to build index2 into index1, i.e. have your "tool" index to both? You won't save anything on trying to extract that content from an existing index. But of course, you COULD write yourself a tool which extracts all stored fields for all

Re: quick question

2008-02-18 Thread Erick Erickson
Beating Hossman to the punch http://people.apache.org/~hossman/#threadhijack Thread Hijacking on Mailing Lists When starting a new discussion on a mailing list, please do not reply to an existing message, instead start a fresh email. Even

Re: quick question

2008-02-18 Thread Reece
Hello Everyone, I'm having some issues getting SOLR to work with our data. I'm using it to index incident data for our technical support department. The two main issues: 1) As an example, searching for "binarydata_groupdocument_fk" returns nothing, while searching for "BinaryData_GroupDocument_

Re: quick question

2008-02-18 Thread matt davies
I think I remembered Was it localhost in the jetty.xml addlistener section? On 18 Feb 2008, at 14:44, matt davies wrote: Hello everyone I've forgotten where I stipulated in my solr that the solr admin back end was only viewable from localhost. Can anyone point me in the right directio