Re: Creating a Custom Query Response Writer

2014-12-07 Thread Erik Hatcher
I wouldn’t personally do anything custom for JSON - but rather just pull out what you need client-side (and make the request such that it doesn’t return more than you need). Doing a custom JSON format for this would limit your later flexibility in case you wanted to get different pieces of the

RE: How to stop Solr tokenising search terms with spaces

2014-12-07 Thread Dinesh Babu
Hi Alex, My requirement is that I should be able to search for a person , for example Tom Hanks, by either 1) the whole of first name (Tom) 2) or partial first name with prefix (To ) 3) or partial first name without prefix ( om) 4) or the whole of surname ( Hanks) 5) or partial surname with pr

RE: How to stop Solr tokenising search terms with spaces

2014-12-07 Thread Dinesh Babu
Hi Jack, Reproducing the email that specifies my requirement. My requirement is that I should be able to search for a person , for example Tom Hanks, by either 1) the whole of first name (Tom) 2) or partial first name with prefix (To ) 3) or partial first name without prefix ( om) 4) or the w

RE: How to stop Solr tokenising search terms with spaces

2014-12-07 Thread Dinesh Babu
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.lucene.search.PrefixQuery\" found in phrase query string \"RVN*\""

Re: How to stop Solr tokenising search terms with spaces

2014-12-07 Thread Jack Krupansky
Thanks for the clarification. You may be able to get by using an ngram filter at index time - but not at query time. Then "Tom" would be indexed at position 0 as "to", "om", and "tom", and "Hanks" would be indexed at position 1 as "ha", "an", "nk", "ks", "han", "ank", "nks", "hank", "anks", an

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: Creating a Custom Query Response Writer

2014-12-07 Thread Ryan Yacyshyn
Thanks Erik. That's what I did in the end and it works great. I thought I'd need to create a custom response to remove unnecessary fields but was able to make the request return pretty much only what I need, even adding omitHeader=true. I'm using the EdgeNGramFilterFactory during indexing on the ti

Re: CloudSolrServer, concurrency and too many connections

2014-12-07 Thread JoeSmith
i've upgraded to 4.10.2 on the client-side. Still seeing this connection problem when connecting to the Zookeeper port. If I connect directly to SolrServer, the connections do not increase. But when connecting to Zookeeper, the connections increase up to 60 and then start to fail. I understand

Re: CloudSolrServer, concurrency and too many connections

2014-12-07 Thread Shawn Heisey
On 12/7/2014 9:11 PM, JoeSmith wrote: > i've upgraded to 4.10.2 on the client-side. Still seeing this connection > problem when connecting to the Zookeeper port. If I connect directly to > SolrServer, the connections do not increase. But when connecting to > Zookeeper, the connections increase u

Re: Logging in Solr's DataImportHandler

2014-12-07 Thread Mikhail Khludnev
Hello Dan, Usually it works well. Can you describe how you run it particularly, eg what you download exactly and what's the command line ? On Fri, Dec 5, 2014 at 11:37 PM, Dan Davis wrote: > I have a script transformer and a log transformer, and I'm not seeing the > log messages, at least not w

Boosting the score using edismax for a non empty and non indexed field.

2014-12-07 Thread S.L
Hi All, I have a situation where I need to boost the score of a query if a field (imageURL) in the given document is non empty , I am using edismax so I know that using bq parameter would solve the problem. However the field imageURL that I am trying to boost on is not indexed , meaning (stored =

RE: How to stop Solr tokenising search terms with spaces

2014-12-07 Thread Dinesh Babu
I just tried your suggestion {!complexphrase}displayName:"RVN Viewpoint users" Even the above did not work. Am I missing any configuration changes for this parser to work? Regards, Dinesh Babu. -Original Message- From: ysee...@gmail.com [mailto:ysee...@gmail.com] On Behalf Of Yonik