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
happ
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
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
> 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
It's ok
It was a problem with my schema
Thanks anyway
-Original Message-
From: Erik Hatcher [mailto:erik.hatc...@gmail.com]
Sent: Monday, June 21, 2010 5:09 PM
To: solr-user@lucene.apache.org
Subject: Re: solr string field
Or even better for an exact string query:
q={!
Or even better for an exact string query:
q={!raw f=field_name}sony vaio
(that's NOT URL encoded, but needs to be when sending the request over
HTTP)
Erik
On Jun 21, 2010, at 9:43 AM, Jan Høydahl / Cominvent wrote:
Hi,
You either need to quote your string: http://localhost:89
Hi,
You either need to quote your string:
http://localhost:8983/solr/select?q="sony+vaio";
or to escape the space: http://localhost:8983/solr/select?q=sony\+vaio
If you do not do one of these, your query will be parsed as text:sony OR
text:vaio, which will not match your string field.
--
Jan H