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 Thomas Lustig <tm...@gmail.com> on 2018/05/23 04:46:39 UTC

Is it possible to index documents without storing their content?

dear community,

Is it possible to index documents (e.g. pdf, word,...)  for fulltextsearch
without storing their content(payload) inside Solr server?

Thanking you in advance for your help

BR

Tom

Re: Is it possible to index documents without storing their content?

Posted by Thomas Lustig <tm...@gmail.com>.
Thanks Emir for the great answer :)

Br

Tom

2018-05-23 10:16 GMT+02:00 Emir Arnautović <em...@sematext.com>:

> Hi Tom,
> Yes it is possible - see field options: https://lucene.apache.org/
> solr/guide/6_6/defining-fields.html#DefiningFields-
> OptionalFieldTypeOverrideProperties <https://lucene.apache.org/
> solr/guide/6_6/defining-fields.html#DefiningFields-
> OptionalFieldTypeOverrideProperties>. There is stored option.
> If you are asking about actual documents in original format, it is not
> even recommended to be stored in Solr.
> If you are asking if someone will be able to reconstruct document from
> Solr even if it is not stored then answer is it depends on how you index,
> one might be able to partially reconstruct it.
>
> HTH,
> Emir
> --
> Monitoring - Log Management - Alerting - Anomaly Detection
> Solr & Elasticsearch Consulting Support Training - http://sematext.com/
>
>
>
> > On 23 May 2018, at 06:46, Thomas Lustig <tm...@gmail.com> wrote:
> >
> > dear community,
> >
> > Is it possible to index documents (e.g. pdf, word,...)  for
> fulltextsearch
> > without storing their content(payload) inside Solr server?
> >
> > Thanking you in advance for your help
> >
> > BR
> >
> > Tom
>
>

Re: Is it possible to index documents without storing their content?

Posted by Emir Arnautović <em...@sematext.com>.
Hi Tom,
Yes it is possible - see field options: https://lucene.apache.org/solr/guide/6_6/defining-fields.html#DefiningFields-OptionalFieldTypeOverrideProperties <https://lucene.apache.org/solr/guide/6_6/defining-fields.html#DefiningFields-OptionalFieldTypeOverrideProperties>. There is stored option.
If you are asking about actual documents in original format, it is not even recommended to be stored in Solr.
If you are asking if someone will be able to reconstruct document from Solr even if it is not stored then answer is it depends on how you index, one might be able to partially reconstruct it.

HTH,
Emir
--
Monitoring - Log Management - Alerting - Anomaly Detection
Solr & Elasticsearch Consulting Support Training - http://sematext.com/



> On 23 May 2018, at 06:46, Thomas Lustig <tm...@gmail.com> wrote:
> 
> dear community,
> 
> Is it possible to index documents (e.g. pdf, word,...)  for fulltextsearch
> without storing their content(payload) inside Solr server?
> 
> Thanking you in advance for your help
> 
> BR
> 
> Tom