Re: Solr string field stripping new lines & line breaks

2013-06-19 Thread Erick Erickson
First, please start a new thread when you change the topic,
doing so makes the threads easier to track.

But what is your evidence that line breaks are stripped? The
stored data is a verbatim copy of the data that went in to the
field, nothing at all is changed. So one of several things is
happening>
1> they may be being stripped by whatever turns the PDF into
a Solr document, SOLARIUM?
2> if you're displaying them in a browser, the line breaks may be
there but just being ignored by the browser.

You could write a very brief SolrJ program or similar and see the
raw output by getting the data directly from your index...

Best
Erick

On Wed, Jun 19, 2013 at 5:50 AM, sodoo  wrote:
> Dears,
>
> My english is bad. But I will try to explain.
>
> I have indexed databases and files. The files included : docx, pdf, txt.
> Then I have indexed all of data.
> But my indexed document & pdf files text all of through continued.
>
> I try to appear line break text.
> Document files text line breaks to indexed document also line breaks.
>
> My frontend app is SOLARIUM.
>
> How can I appear line break the indexed data?
> Please assist me on this.
>
> Thank you
>
>
>
> --
> View this message in context: 
> http://lucene.472066.n3.nabble.com/Solr-string-field-stripping-new-lines-line-breaks-tp3984384p4071595.html
> Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr string field stripping new lines & line breaks

2013-06-19 Thread sodoo
Dears,

My english is bad. But I will try to explain. 

I have indexed databases and files. The files included : docx, pdf, txt.
Then I have indexed all of data.
But my indexed document & pdf files text all of through continued. 

I try to appear line break text. 
Document files text line breaks to indexed document also line breaks. 

My frontend app is SOLARIUM. 

How can I appear line break the indexed data?
Please assist me on this.

Thank you



--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-string-field-stripping-new-lines-line-breaks-tp3984384p4071595.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Solr string field stripping new lines & line breaks

2012-05-17 Thread jacousteau
Thank you, but I actually just forgot to reload the core0 when I changed
the field type. oops.

On Thu, May 17, 2012 at 3:52 PM, iorixxx [via Lucene] <
ml-node+s472066n3984405...@n3.nabble.com> wrote:

> > Hi, is there any way to preserve
> > newlines or line breaks when submitting
> > content to a Solr string field?
>
> String is indexed verbatim. Are you using wt=xml in a browser? Try using
> wt=php
>
>
> --
>  If you reply to this email, your message will be added to the discussion
> below:
>
> http://lucene.472066.n3.nabble.com/Solr-string-field-stripping-new-lines-line-breaks-tp3984384p3984405.html
>  To unsubscribe from Solr string field stripping new lines & line breaks, 
> click
> here<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=3984384&code=ZWlnaHRydWxlc0BnbWFpbC5jb218Mzk4NDM4NHwxNjgzMzI0OTYz>
> .
> NAML<http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>


--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-string-field-stripping-new-lines-line-breaks-tp3984384p3984407.html
Sent from the Solr - User mailing list archive at Nabble.com.

Re: Solr string field stripping new lines & line breaks

2012-05-17 Thread Ahmet Arslan
> Hi, is there any way to preserve
> newlines or line breaks when submitting
> content to a Solr string field?

String is indexed verbatim. Are you using wt=xml in a browser? Try using wt=php


Solr string field stripping new lines & line breaks

2012-05-17 Thread jacousteau
Hi, is there any way to preserve newlines or line breaks when submitting
content to a Solr string field?

--
View this message in context: 
http://lucene.472066.n3.nabble.com/Solr-string-field-stripping-new-lines-line-breaks-tp3984384.html
Sent from the Solr - User mailing list archive at Nabble.com.