Re: How to stop Solr tokenising search terms with spaces

2014-12-10 Thread Jack Krupansky
terms with spaces Hi Ahmet, We have gone for the Ngram solution. Thanks Regards, Dinesh Babu. -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com.INVALID] Sent: 08 December 2014 15:27 To: solr-user@lucene.apache.org Subject: Re: How to stop Solr tokenising search terms with

RE: How to stop Solr tokenising search terms with spaces

2014-12-10 Thread Dinesh Babu
Hi Ahmet, We have gone for the Ngram solution. Thanks Regards, Dinesh Babu. -Original Message- From: Ahmet Arslan [mailto:iori...@yahoo.com.INVALID] Sent: 08 December 2014 15:27 To: solr-user@lucene.apache.org Subject: Re: How to stop Solr tokenising search terms with spaces Hi, May

Re: How to stop Solr tokenising search terms with spaces

2014-12-09 Thread Yonik Seeley
Message- > From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley > Sent: 08 December 2014 17:58 > To: solr-user@lucene.apache.org > Subject: Re: How to stop Solr tokenising search terms with spaces > > On Mon, Dec 8, 2014 at 12:01 PM, Erik Hatcher wrote:

RE: How to stop Solr tokenising search terms with spaces

2014-12-09 Thread Dinesh Babu
:ysee...@gmail.com] On Behalf Of Yonik Seeley Sent: 08 December 2014 17:58 To: solr-user@lucene.apache.org Subject: Re: How to stop Solr tokenising search terms with spaces On Mon, Dec 8, 2014 at 12:01 PM, Erik Hatcher wrote: > debug output tells a lot. Looks like in the last two examples that the

Re: How to stop Solr tokenising search terms with spaces

2014-12-08 Thread Yonik Seeley
On Mon, Dec 8, 2014 at 12:01 PM, Erik Hatcher wrote: > debug output tells a lot. Looks like in the last two examples that the > second part (Viewpoint*) is NOT parsed with the complex phrase parser - the > whitespace thwarts it. Actually, it looks like it is, but you're not telling the complex

RE: How to stop Solr tokenising search terms with spaces

2014-12-08 Thread Dinesh Babu
Thanks Erik Regards, Dinesh Babu. -Original Message- From: Erik Hatcher [mailto:erik.hatc...@gmail.com] Sent: 08 December 2014 17:02 To: solr-user@lucene.apache.org Subject: Re: How to stop Solr tokenising search terms with spaces debug output tells a lot. Looks like in the last two

Re: How to stop Solr tokenising search terms with spaces

2014-12-08 Thread Erik Hatcher
>"rawquerystring": "{!complexphrase}displayName:RVN* Viewpoint*", >"querystring": "{!complexphrase}displayName:RVN* Viewpoint*", >"parsedquery": "displayName:rvn* displayName:viewpoint*", >"parsedquery_toStr

RE: How to stop Solr tokenising search terms with spaces

2014-12-08 Thread Dinesh Babu
:40 To: solr-user@lucene.apache.org Subject: Re: How to stop Solr tokenising search terms with spaces What's the parsed query? &debug=true > On Dec 8, 2014, at 02:50, Dinesh Babu wrote: > > I just tried your suggestion > > {!complexphrase}displayName:"RVN Viewpo

Re: How to stop Solr tokenising search terms with spaces

2014-12-08 Thread Ahmet Arslan
gt; -Original Message- > From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik > Seeley > Sent: 07 December 2014 20:49 > To: solr-user@lucene.apache.org > Subject: Re: How to stop Solr tokenising search terms with spaces > > On Sun, Dec 7, 2014 at 3:18 PM, Di

RE: How to stop Solr tokenising search terms with spaces

2014-12-08 Thread Dinesh Babu
Sent: 08 December 2014 13:25 To: solr-user@lucene.apache.org Subject: Re: How to stop Solr tokenising search terms with spaces On Mon, Dec 8, 2014 at 2:50 AM, Dinesh Babu wrote: > I just tried your suggestion > > {!complexphrase}displayName:"RVN Viewpoint users" > > Even the

RE: How to stop Solr tokenising search terms with spaces

2014-12-08 Thread Dinesh Babu
Thanks a lot Jack. Will try this Solution. Regards, Dinesh Babu. -Original Message- From: Jack Krupansky [mailto:j...@basetechnology.com] Sent: 07 December 2014 20:38 To: solr-user@lucene.apache.org Subject: Re: How to stop Solr tokenising search terms with spaces Thanks for the

Re: How to stop Solr tokenising search terms with spaces

2014-12-08 Thread Yonik Seeley
inal Message- > From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley > Sent: 07 December 2014 20:49 > To: solr-user@lucene.apache.org > Subject: Re: How to stop Solr tokenising search terms with spaces > > On Sun, Dec 7, 2014 at 3:18 PM, Dinesh Babu wrote: >>

Re: How to stop Solr tokenising search terms with spaces

2014-12-08 Thread Erik Hatcher
for this > parser to work? > > Regards, > Dinesh Babu. > > > > -Original Message- > From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley > Sent: 07 December 2014 20:49 > To: solr-user@lucene.apache.org > Subject: Re: How to stop S

RE: How to stop Solr tokenising search terms with spaces

2014-12-07 Thread Dinesh Babu
f Of Yonik Seeley Sent: 07 December 2014 20:49 To: solr-user@lucene.apache.org Subject: Re: How to stop Solr tokenising search terms with spaces On Sun, Dec 7, 2014 at 3:18 PM, Dinesh Babu wrote: > Thanks Yonik. This does not seem to work for me. This is wgat I did > > 1) q=displayName

Re: How to stop Solr tokenising search terms with spaces

2014-12-07 Thread Yonik Seeley
On Sun, Dec 7, 2014 at 3:18 PM, Dinesh Babu wrote: > Thanks Yonik. This does not seem to work for me. This is wgat I did > > 1) q=displayName:rvn* brings me two records (a) "RVN Viewpoint Users" and (b) > "RVN Project Admins" > > 2) {!complexphrase}"RVN*" --> Unknown query type > \"org.apache.lu

Re: How to stop Solr tokenising search terms with spaces

2014-12-07 Thread Jack Krupansky
size, so don't use it on large text fields, just short text fields like names. -- Jack Krupansky -Original Message- From: Dinesh Babu Sent: Sunday, December 7, 2014 2:58 PM To: solr-user@lucene.apache.org Subject: RE: How to stop Solr tokenising search terms with spaces Hi Alex,

RE: How to stop Solr tokenising search terms with spaces

2014-12-07 Thread Dinesh Babu
inesh Babu. -Original Message- From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik Seeley Sent: 07 December 2014 03:30 To: solr-user@lucene.apache.org Subject: Re: How to stop Solr tokenising search terms with spaces On Sat, Dec 6, 2014 at 7:17 PM, Dinesh Babu wrote: > Ju

RE: How to stop Solr tokenising search terms with spaces

2014-12-07 Thread Dinesh Babu
Thanks in advance for your help Regards, Dinesh Babu Regards, Dinesh Babu. -Original Message- From: Jack Krupansky [mailto:j...@basetechnology.com] Sent: 07 December 2014 02:04 To: solr-user@lucene.apache.org Subject: Re: How to stop Solr tokenising search terms with spaces AFAIK

RE: How to stop Solr tokenising search terms with spaces

2014-12-07 Thread Dinesh Babu
. -Original Message- From: Alexandre Rafalovitch [mailto:arafa...@gmail.com] Sent: 07 December 2014 01:20 To: solr-user Subject: Re: How to stop Solr tokenising search terms with spaces There is no spoon. And, there is no "phrase search". Certainly nothing that is one approach

Re: How to stop Solr tokenising search terms with spaces

2014-12-06 Thread Yonik Seeley
On Sat, Dec 6, 2014 at 7:17 PM, Dinesh Babu wrote: > Just curious, why solr does not provide a simple mechanism to do a phrase > search ? Simple phrase queries: q= field1:"Hanks Major" Phrase queries with wildcards / partial matches are a different story... they are "complex": q={!complexphras

Re: How to stop Solr tokenising search terms with spaces

2014-12-06 Thread Jack Krupansky
single value fields. -- Jack Krupansky -Original Message- From: Dinesh Babu Sent: Saturday, December 6, 2014 7:17 PM To: solr-user@lucene.apache.org Subject: RE: How to stop Solr tokenising search terms with spaces Just curious, why solr does not provide a simple mechanism to do a

Re: How to stop Solr tokenising search terms with spaces

2014-12-06 Thread Alexandre Rafalovitch
not found one after so much research, > way to do it in Solr. > > Regards, > Dinesh > > > -Original Message- > From: Dinesh Babu [mailto:dinesh.b...@pb.com] > Sent: 05 December 2014 17:29 > To: solr-user@lucene.apache.org > Subject: RE: How to st

RE: How to stop Solr tokenising search terms with spaces

2014-12-06 Thread Dinesh Babu
- From: Dinesh Babu [mailto:dinesh.b...@pb.com] Sent: 05 December 2014 17:29 To: solr-user@lucene.apache.org Subject: RE: How to stop Solr tokenising search terms with spaces Hi Erik, Probably I celebrated too soon. When I tested {!field} it seemed to work as the query was on such a data that it

RE: How to stop Solr tokenising search terms with spaces

2014-12-05 Thread Dinesh Babu
s not works Regards, Dinesh Babu. -Original Message- From: Erik Hatcher [mailto:erik.hatc...@gmail.com] Sent: 05 December 2014 16:44 To: solr-user@lucene.apache.org Subject: Re: How to stop Solr tokenising search terms with spaces But also, to spell out the more typical way to do that:

Re: How to stop Solr tokenising search terms with spaces

2014-12-05 Thread Erik Hatcher
om: Dinesh Babu > Sent: 05 December 2014 16:26 > To: solr-user@lucene.apache.org > Subject: RE: How to stop Solr tokenising search terms with spaces > > Thanks a lot Erik. {!field} seems to solve our issue. Much appreciate your > help > > > Regards, > Dinesh Babu. > >

Re: How to stop Solr tokenising search terms with spaces

2014-12-05 Thread Erik Hatcher
val} where > &f1_val=&f2_val= > > Regards, > Dinesh Babu. > > > > -Original Message- > From: Dinesh Babu > Sent: 05 December 2014 16:26 > To: solr-user@lucene.apache.org > Subject: RE: How to stop Solr tokenising search terms with space

RE: How to stop Solr tokenising search terms with spaces

2014-12-05 Thread Dinesh Babu
Thanks a lot Erik. {!field} seems to solve our issue. Much appreciate your help Regards, Dinesh Babu. -Original Message- From: Erik Hatcher [mailto:erik.hatc...@gmail.com] Sent: 05 December 2014 16:00 To: solr-user@lucene.apache.org Subject: Re: How to stop Solr tokenising search

RE: How to stop Solr tokenising search terms with spaces

2014-12-05 Thread Dinesh Babu
: Dinesh Babu Sent: 05 December 2014 16:26 To: solr-user@lucene.apache.org Subject: RE: How to stop Solr tokenising search terms with spaces Thanks a lot Erik. {!field} seems to solve our issue. Much appreciate your help Regards, Dinesh Babu. -Original Message- From: Erik Hatcher [mailto:e

Re: How to stop Solr tokenising search terms with spaces

2014-12-05 Thread Erik Hatcher
try using {!field} instead of {!prefix}. {!field} will create a phrase query (or term query if it’s just one term) after analysis. [it also could construct other query types if the analysis overlaps tokens, but maybe not relevant here] Also note that you can use multiple of these expressions i

How to stop Solr tokenising search terms with spaces

2014-12-05 Thread Dinesh Babu
Hi, We are using Solr 4.10.2 to store user names from LDAP. I want Solr not to tokenise my search term which has space in it Eg: If there is a user by the name Tom Hanks Major, then 1) When I do a query for " Tom Hanks Major " , I don't want solr break this search phrase and search for individ