Re: Special characters not indexed

2013-03-13 Thread Jack Krupansky
to behave in terms of things like phrase query? You need to be a lot more clear about your use case. -- Jack Krupansky -Original Message- From: vsl Sent: Wednesday, March 13, 2013 6:11 AM To: solr-user@lucene.apache.org Subject: Re: Special characters not indexed After changing to wh

Re: Special characters not indexed

2013-03-13 Thread vsl
After changing to white space tokenizer there are still no results for given search term "&". Only when the whole word ("§$ %&/( )=? +*#'-<>") was given as a search term, this document was shown in results. -- View this message in context: http://lucene.472066.n3.nabble.com/Special-characters-n

Re: Special characters not indexed

2013-03-12 Thread Timothy Potter
Just to add to Jack's points, you can also use the term query parser to avoid all the escaping for special characters, e.g. fq={!term f=some_field} See Erik's preso from Apache Eurocon 2012 around 25:50 - http://vimeopro.com/user11514798/apache-lucene-eurocon-2012/video/55822628 On Tue, Mar 12,

Re: Special characters not indexed

2013-03-12 Thread Jack Krupansky
Use the white space tokenizer and be sure to escape a lot of them in queries since a number of them have meaning to the query parser. Or, enclose query terms in quotes. -- Jack Krupansky -Original Message- From: vsl Sent: Tuesday, March 12, 2013 11:16 AM To: solr-user@lucene.apache.o

RE: Special characters in synonyms.txt on Solr 3.5

2012-04-21 Thread carl.nordenf...@bwinparty.com
Thanks, That worked like a charm. Should've thought about that :) / Carl From: Robert Muir [rcm...@gmail.com] Sent: 20 April 2012 18:21 To: solr-user@lucene.apache.org Subject: Re: Special characters in synonyms.txt on Solr 3.5 On Fri, Apr 20, 2012

Re: Special characters in synonyms.txt on Solr 3.5

2012-04-20 Thread Robert Muir
On Fri, Apr 20, 2012 at 12:10 PM, carl.nordenf...@bwinparty.com wrote: > Directly injecting the letter "ö" into synonyms like so: > island, ön > island, "ön" > > renders the following exception on startup (both lines renders the same > error): > > java.lang.RuntimeException: java.nio.charset.Malf

Re: Special characters during indexing and searching

2011-04-08 Thread alexw
Sorry wrong link to the thread, here is the correct one: http://lucene.472066.n3.nabble.com/Special-characters-during-indexing-and-searching-td2795914.html -- View this message in context: http://lucene.472066.n3.nabble.com/Special-characters-during-indexing-and-searching-tp2795914p2797158.html

Re: Special characters during indexing and searching

2011-04-08 Thread alexw
I am using Nabble to view the thread, and the format seems to be ok: http://lucene.472066.n3.nabble.com/template/NamlServlet.jtp?macro=reply&node=2796849 1> what version of Solr. Solr 1.4 2> have you looked in your index (admin page and/or luke) to see if what you have indexed there is what you

Re: Special characters during indexing and searching

2011-04-08 Thread Erick Erickson
I'm having real trouble with the formatting. Either Google has changed or somehow all the markup is getting stripped on your end. Could you send as plain text and see if that works? But from what I can make out, we're doing *something* different. Because I get parsed queries like below, and they'r

Re: Special characters during indexing and searching

2011-04-08 Thread alexw
Thanks Erick. Here is the Solr response with debug on. The productName IS in the qf parameter in dismax. I have also pasted my dismax definition and the "text" field type definition: − 0 47 − on on 0 bit/star dismax 10 2.2 − − bit/star bit/star bit/star − +DisjunctionMaxQuery((longDesc:

Re: Special characters during indexing and searching

2011-04-08 Thread Erick Erickson
This works fine for me. Tack on &debugQuery=on to your URL and post that please unless the stuff below helps But note a couple of things 1> productName isn't part of the default dismax configuration in your solrconfig.xml file, so unless you put it there it's not being searched on. Try putting

Re: Special characters index

2011-03-30 Thread royr
you're right! it works, Thank you very much -- View this message in context: http://lucene.472066.n3.nabble.com/Special-characters-index-tp2753707p2753939.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Special characters index

2011-03-30 Thread Markus Jelsma
Not on your result page. Stored data is not affected by analysis. With the filter café finds both café and cafe and vice versa. On Wednesday 30 March 2011 16:18:29 royr wrote: > Thanks for your quick answer. > > I'm not sure if the ASCIIFoldingFilterFactory is what I needed. In my > results I ju

Re: Special characters index

2011-03-30 Thread royr
Thanks for your quick answer. I'm not sure if the ASCIIFoldingFilterFactory is what I needed. In my results I just want to see the special characters. If I search for Cafe I want café in my results and if i search for café i want café also in my results. The filter you send me will change the valu

Re: Special characters index

2011-03-30 Thread Markus Jelsma
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters#solr.ASCIIFoldingFilterFactory On Wednesday 30 March 2011 15:44:26 royr wrote: > Hello, > > i have a question about SOLR and special characters. How can i search for > cafe or café and get in both situations the following results: > >

Re: Special Characters

2010-11-22 Thread Erick Erickson
Hmmm, good point on WordDelimiterFilterFactory. You're right, that should work. Although there'd still be a problem with J. R. R. never matching jrr. But that wouldn't be solved by Pattern either. I'd try to define the problem away ... good catch Erick On Mon, Nov 22, 2010 at 12:15 PM, Shawn

Re: Special Characters

2010-11-22 Thread Shawn Heisey
On 11/22/2010 7:40 AM, Erick Erickson wrote: As I remember, PatternReplace... isn't in 1.4, so you'd have to move to 3.x or trunk. You could always write a custom class that did what you wanted, it's actually pretty easy. PatternReplaceCharFilterFactory isn't in 1.4, but PatternReplaceFilterFa

Re: Special Characters

2010-11-22 Thread Erick Erickson
As I remember, PatternReplace... isn't in 1.4, so you'd have to move to 3.x or trunk. You could always write a custom class that did what you wanted, it's actually pretty easy. Best Erick On Mon, Nov 22, 2010 at 8:37 AM, Solr User wrote: > Hi Eric, > > I use solr version 1.4.0 and below is my

Re: Special Characters

2010-11-22 Thread Solr User
Hi Eric, I use solr version 1.4.0 and below is my schema.xml It creates 3 tokens j r r tolkien works fine but not jrr tolkien. I will read about PatternReplaceCharFilterFactory and try it. Please let me know if I need to do anything differently. Thanks, Solr User On Mon,

Re: Special Characters

2010-11-22 Thread Erick Erickson
What version of Solr are you using? You can think about PatternReplaceCharFilterFactory if you're using the right version of Solr. But you have other problems than that. Let's claim you get the periods removed. Do you tokenize three tokens or one? I.e. jrr or j r r? In the latter case your sea

Re: special characters in Solr search query.

2009-04-16 Thread Chris Hostetter
: the special characters but the issue is while the document which I am : going to index contains any of these special characters it is throwing : query parse exception. Can anyone give pointer over this? Thanks in your question is kind of vauge ... for instance: it seems like you are saying

Re: special characters in Solr search query.

2009-04-10 Thread Shalin Shekhar Mangar
On Sat, Apr 11, 2009 at 10:13 AM, Sagar Khetkade wrote: > > There is a strange issue while querying on the Solr indexes. If my query > contains the special characters like [ ] !<> etc. It is throwing the query > parse exception. From my application interface I am able to handle the > special char

Re: Special Characters search in solr

2009-03-20 Thread Chris Hostetter
: Yes, I did and below is my debugQuery result. before you even look at the debug section, look at the params section in the responseHeader... : Colo� the raw value Solr is getting from your servlet container doesn't match what you think you are sending... : It is actually converting "Col

Re: Special Characters in facets

2009-03-19 Thread Grant Ingersoll
I'd probably do some light filtering on them to replace them by using the Regex Token Filter so that they don't appear. On Mar 19, 2009, at 11:46 AM, ANKITBHATNAGAR wrote: Hi My app, has a facet with “hello” in it.These quotes are from microsoft word 2003. They show up as this �hello� in

Re: Special Characters search in solr

2009-03-17 Thread dabboo
Yes, I did and below is my debugQuery result. - - 0 47 - 10 0 on Colo� dismaxrequest true 2.2 - Colo� Colo� +DisjunctionMaxQuery((programJacketImage_program_s:colo | courseCodeSeq_course_s:colo | authorLastName_product_s:colo | era_product_s:colo

Re: Special Characters search in solr

2009-03-17 Thread Erick Erickson
Did you reindex after you incorporated the ISOLatin... filter? On Tue, Mar 17, 2009 at 8:40 AM, dabboo wrote: > > This is the entry in schema.xml > > omitNorms="true"> > > > > > >ignoreCase="true" >words="stopwords

Re: Special Characters search in solr

2009-03-17 Thread dabboo
This is the entry in schema.xml dabboo wrote

Re: Special Characters search in solr

2009-03-17 Thread dabboo
I have added this filter factory in my schema.xml also but still that is not working. I am sorry but I didnt get as how to create the field to handle the accents. Please help. Grant Ingersoll-6 wrote: > > You will need to create a field that handles the accents in order to > do this. Start

Re: Special Characters search in solr

2009-03-17 Thread Grant Ingersoll
You will need to create a field that handles the accents in order to do this. Start by looking at the ISOLatin1AccentFilter. -Grant On Mar 17, 2009, at 7:31 AM, dabboo wrote: Hi, I am searching with any query string, which contains special characters like è in it. for e.g. If I search f

Re: Special characters

2009-01-06 Thread Sujatha Arun
you can remove it from > > your schema.xml file. In any other case, I guess you will have to > > customize the WordDelimiterFilter.java class to suit your purpose. > > > > -Kumar > > > > > > > > -Original Message- > > From: Sujatha Arun [m

Re: Special characters

2009-01-06 Thread Shalin Shekhar Mangar
[mailto:suja.a...@gmail.com] > Sent: Tuesday, January 06, 2009 3:05 PM > To: solr-user@lucene.apache.org > Subject: Re: Special characters > > Hi, > > I would like to query terms containing special chars . > > Regards > Sujatha > > > > > On Tue, Jan 6, 2009 a

RE: Special characters

2009-01-06 Thread Jana, Kumar Raja
-Original Message- From: Sujatha Arun [mailto:suja.a...@gmail.com] Sent: Tuesday, January 06, 2009 3:05 PM To: solr-user@lucene.apache.org Subject: Re: Special characters Hi, I would like to query terms containing special chars . Regards Sujatha On Tue, Jan 6, 2009 at 2:59 PM, Shalin

Re: Special characters

2009-01-06 Thread Sujatha Arun
Hi, I would like to query terms containing special chars . Regards Sujatha On Tue, Jan 6, 2009 at 2:59 PM, Shalin Shekhar Mangar < shalinman...@gmail.com> wrote: > You forgot to tell us what do you want to do with special characters? > > 1. Remove them from the documents while indexing? > 2.

Re: Special characters

2009-01-06 Thread Shalin Shekhar Mangar
You forgot to tell us what do you want to do with special characters? 1. Remove them from the documents while indexing? 2. Don't remove them while indexing? 3. Query with terms containing a special character? On Tue, Jan 6, 2009 at 2:55 PM, Sujatha Arun wrote: > Hi, > > Can anyone point me to t