On Sat, Apr 29, 2017 at 1:45 PM, Dorian Hoxha <[email protected]> wrote:
> @Yonik
>
> Thanks makes sense. So this means that the 'id' need to be indexed(is
> always?), (so you can get/update/delete docs not in translog), right ?

In Solr, yes.  In Lucene, only if you want lookup-by-id to be fast, or
if you want to use updateDocument with an indexed term for overwriting
documents.

-Yonik


> On Sat, Apr 29, 2017 at 7:24 PM, Yonik Seeley <[email protected]> wrote:
>>
>> Solr doesn't use Lucene for RT GET, it uses it's transaction log.
>> Only when the document is not found in the transaction log will it go
>> and consult the lucene index (which can only search as of the last
>> commit).
>>
>> -Yonik
>>
>> On Sat, Apr 29, 2017 at 12:57 PM, Dorian Hoxha <[email protected]>
>> wrote:
>> > I know all that. My point is, lucene is NRT, while GET is RT (in both
>> > ES/SOLR). How does lucene return the right document (Term Query) before
>> > doing a commit on GET ?
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to