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 happ

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

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

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

RE: solr string field

2010-06-22 Thread ZAROGKIKAS,GIORGOS
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={!

Re: solr string field

2010-06-21 Thread Erik Hatcher
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

Re: solr string field

2010-06-21 Thread Jan Høydahl / Cominvent
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