Hi

It will not be double the disk space at all.  You will not need to store the 
field you search, only the field being returned needs to be stored.  
Furthermore if you are not searching the XML field you will not need to index 
that field, only store it.

Hope that helps,
Robi

-----Original Message-----
From: jasimop [mailto:stricker...@gmail.com] 
Sent: Friday, May 17, 2013 12:07 AM
To: solr-user@lucene.apache.org
Subject: Re: Is payload the right solution for my problem?

I think I just found the solution.

Would the right strategy be to store the original XML content and then use a 
solr.HTMLStripCharFilterFactory when querying? I just made a quick test and it 
work, the only problem now is that it also finds the data contained in the XML 
attribute fields.

I think I will put my data into two fields, one containing only the raw data 
without XML, and one in the original format. Then I search in the raw field but 
return the original format with the response.
The only problem I see here is that I need the double amount of diskspace.
Is there a better solution?



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Is-payload-the-right-solution-for-my-problem-tp4063814p4064117.html
Sent from the Solr - User mailing list archive at Nabble.com.


Reply via email to