You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by stockii <st...@shopgate.com> on 2010/08/06 16:47:27 UTC
Re: Solr Doc Lucene Doc !?
There is a real and actual class named "SolrDocument". it is a simpler
object then Lucene's "Document" class becuase in Solr the details about
the field types (stored, indexed, etc...) are handled by the schema, and
are not distinct per Field instance.
Chris Hostetter-3 wrote:
>
>
okay thx, that make sense, but why is in class AddUpadeteCommand.java this:
// Higher level SolrInputDocument, normally used to construct the Lucene
Document
// to index.
public SolrInputDocument solrDoc;
???? thx =)
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Doc-Lucene-Doc-tp995922p1030346.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr Doc Lucene Doc !?
Posted by stockii <st...@shopgate.com>.
i write a little thesis about this. and i need to know how solr is using
lucene -in which way. in example of using dih and searching. so for my
better understanding .. ;-)
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Doc-Lucene-Doc-tp995922p1118089.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr Doc Lucene Doc !?
Posted by kenf_nc <ke...@realestate.com>.
Are you just trying to learn the tiny details of how Solr and DIH work? Is
this just an intellectual curiosity? Or are you having some specific problem
that you are trying to solve? If you have a problem, could you describe the
symptoms of the problem? I am using Solr, DIH, and several other related
technologies and have never needed to know the difference between a
SolrDocument and a LuceneDocument or how the UpdateHandler chains. So I'm
curious about what your ultimate goal is with these questions.
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Doc-Lucene-Doc-tp995922p1117472.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr Doc Lucene Doc !?
Posted by stockii <st...@shopgate.com>.
no help ? =(
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Doc-Lucene-Doc-tp995922p1114172.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr Doc Lucene Doc !?
Posted by stockii <st...@shopgate.com>.
oh, i see that i mixed DIH classes with other Solr classes ^^
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Doc-Lucene-Doc-tp995922p1088738.html
Sent from the Solr - User mailing list archive at Nabble.com.
Re: Solr Doc Lucene Doc !?
Posted by stockii <st...@shopgate.com>.
i have a question about the solr index mechanism with DIH ...
i try to understand how solr index an doc, and on wich code-elements, solr
using lucene.
thats my stand:
DIH is using the SolrWriter to add an doc.
To create an SolrInoputDocument SolrWriter uses the addUpdateCommand,
This Command and Doc is put in the UpdateRequestProcessorChain. In this
Chain solr creates an LuceneDoc with DocumentBuilder and put it back into
the chain !?!? is this right ?
Then the UpdateHandler getting the UpdateChain and managed the index changes
!?
So. i dont understand, how works the updatehandler. can anyone give me some
tipps ?
SolrIndexWriter is using from UpdateHandler and SolrindexWriter use
IndexWriter from Lucene ?
thx for your help =)=)
--
View this message in context: http://lucene.472066.n3.nabble.com/Solr-Doc-Lucene-Doc-tp995922p1088334.html
Sent from the Solr - User mailing list archive at Nabble.com.