Re: how to apply multiplcative Boost in multivalued field

2014-05-27 Thread Aman Tandon
Any help here? With Regards Aman Tandon On Mon, May 26, 2014 at 5:13 PM, Aman Tandon wrote: > HI, > > I am confused to how to apply the multiplicative boost on multivalued > field. > > required="false" omitNorms="true" multiValued="true" /> > > > > Suppose in plid the value goes like 111,1234,

Re: Applying boosting for keyword search

2014-05-27 Thread manju16832003
Hi Erick, Your explanation leads me to one question :-) if */select?q=featured:true^100&fq=make:toyota&sort=featured_date desc,price asc* The above query, without edismax, works well because, If I'm not mistaken its boosting document by value method. So I'm boosting all my documents with the va

Error uploading csv/json from exampledocs folder

2014-05-27 Thread Mukundaraman valakumaresan
Hi I am using solr version 4.8. When I uploaded the csv and json provided in the example docs folder. I am getting a 400 response and the following exception Could be a bug... 7955 [searcherExecutor-5-thread-1] INFO org.apache.solr.core.SolrCore – QuerySenderListener sending requests to Search

Re: Error uploading csv/json from exampledocs folder

2014-05-27 Thread Alexandre Rafalovitch
What's the command line you are using? Or a sequence of steps if you are not using post.jar. Regards, Alex. Personal website: http://www.outerthoughts.com/ Current project: http://www.solr-start.com/ - Accelerating your Solr proficiency On Tue, May 27, 2014 at 2:34 PM, Mukundaraman valakumare

Re: Error uploading csv/json from exampledocs folder

2014-05-27 Thread Mukundaraman valakumaresan
Yes I am using post .jar java -jar post.jar *.csv java -jar post.jar *.json On Tue, May 27, 2014 at 1:17 PM, Alexandre Rafalovitch wrote: > What's the command line you are using? Or a sequence of steps if you > are not using post.jar. > > Regards, >Alex. > Personal website: http://www.outer

Re: Full Indexing fails on Solr-Probable connection issue.HELP!

2014-05-27 Thread Aniket Bhoi
On Mon, May 26, 2014 at 4:14 PM, Aniket Bhoi wrote: > Another thing I have noted is that the exception always follows a commit > operation.Log excerpt below: > > INFO: SolrDeletionPolicy.onCommit: commits:num=2 > commit{dir=/opt/solr/cores/calls/data/index,segFN=segments_2qt,version=1347458723267

Re: Error uploading csv/json from exampledocs folder

2014-05-27 Thread Alexandre Rafalovitch
You are missing the content type, so your CSV/JSON is being (mis-)treated as XML. If you run "java -jar post.jar -h", you will see the correct usage example: *) java -Dtype=text/csv -jar post.jar *.csv *) java -Dtype=text/csv -jar post.jar *.csv You could also try: *) java -Dtype=text/csv -jar po

Classpath for Solr Plugins

2014-05-27 Thread Jan Nehring
Hi! We have developed a custom tokenizer for Solr 4.3. Our Solr Server is started as a war file inside of a java application using jetty. When the custom tokenizer is in the class path oft the enclosing java application Solr fails on startup. The error is ClassCastException ArabicLetterTokenize

答复: (Issue) How improve solr facet performance

2014-05-27 Thread Alice.H.Yang (mis.cnsh04.Newegg) 41493
Hi, Token 1. I set the 3 fields with hundreds of values uses fc and the rest uses enum, the performance is improved 2 times compared with no parameter, and then I add facet.method=20 , the performance is improved about 4 times compared with no parameter. And I also tried setting

Re: Classpath for Solr Plugins

2014-05-27 Thread Alexandre Rafalovitch
In terms of drawback, I think strong dependence on Jetty is probably one. Custom Java code is another. Most of the people run Solr as a black box. For the proposed solution, as the document said, usually the plugins are placed in the directory defined in solrconfig.xml. So, most of the people do n

Re: ExtractingRequestHandler indexing zip files

2014-05-27 Thread marotosg
Hi, Thanks for your answer Alexandre. I have zip files with only one document inside per zip file. These documents are mainly pdf,xml,html. I tried to index "tini.txt.gz" file which is located in the trunk to be used by extraction tests \trunk\solr\contrib\extraction\src\test-files\extraction\tin

Regex with local params is not working

2014-05-27 Thread Lokn
Hi, With solr local params, the regex is not working. My sample query: q ={!qf=$myfield_qf}/[a-d]ad/, where I have myfield_qf defined in the solrconfig.xml. Any help here would be appreciated. Thanks, Lokesh -- View this message in context: http://lucene.472066.n3.nabble.com/Regex-with-local

Re: Regex with local params is not working

2014-05-27 Thread Alexandre Rafalovitch
What's your query parser type (default? dismax? edismax?). Default type does not know about 'qf' parameter, so you may need to define your type as well: http://wiki.apache.org/solr/LocalParams Regards, Alex. Personal website: http://www.outerthoughts.com/ Current project: http://www.solr-start.

Re: How to Configure Solr For Test Purposes?

2014-05-27 Thread Furkan KAMACI
Hi All; I have defined just that: 1 then turned of hard commit. I've run my tests time and time again and did not get any error. Who wants to write a unit test that interacts with Solr as like my situation can use it. Thanks; Furkan KAMACI 2014-05-26 23:37 GMT+03:00 Furkan KAMACI

Re: How does query on AND work

2014-05-27 Thread Per Steffensen
Thanks for responding, Yonik. I tried out your suggestion, and it seems to work as it is supposed to, and it performs at least as well as the "hacky implementation I did myself". Wish you had responded earlier. Or maybe not, then I wouldn't have dived into it myself making an implementation tha

Re: How does query on AND work

2014-05-27 Thread Per Steffensen
Well, the only "search" i did, was ask this question on this mailing-list :-) On 26/05/14 17:05, Alexandre Rafalovitch wrote: Did not follow the whole story but " post-query-value-filter" does exist in Solr. Have you tried searching for pretty much that expression. and maybe something about cos

Re: Using fq as OR

2014-05-27 Thread Dmitry Kan
Erick: Well, in principle you should be able to access both q (via qstr) and fq (via params), as the method signature tells: createParser(String qstr, SolrParams localParams, SolrParams params, SolrQueryRequest req) http://lucene.apache.org/solr/4_8_1/solr-core/org/apache/solr/search/QParserPlug

Re: How to Configure Solr For Test Purposes?

2014-05-27 Thread Tomás Fernández Löbbe
> What do you suggest for my purpose? If a test case fails re-running it for > some times maybe a solution? What kind of configuration do you suggest for > my Solr configuration? > > >From the snippet of test that you showed, it looks like it's testing only Solr functionality. So, first make sure t

Re: How to Configure Solr For Test Purposes?

2014-05-27 Thread Furkan KAMACI
Hi; I've developed a Proxy application that takes request from clients and sends them to Solr then gets response and sends them to client as response. So, I am testing my application, my proxy for Solr. Thanks; Furkan KAMACI 2014-05-27 14:52 GMT+03:00 Tomás Fernández Löbbe : > > What do you su

Re: 答复: (Issue) How improve solr facet performance

2014-05-27 Thread david.w.smi...@gmail.com
Alice, RE grouping, try Solr 4.8’s new “collapse” qparser w/ “expand" SearchComponent. The ref guide has the docs. It’s usually a faster equivalent approach to group=true Do you care to comment further on NewEgg’s apparent switch from Endeca to Solr? (confirm true/false and rationale) ~ David

Re: Regex with local params is not working

2014-05-27 Thread Yonik Seeley
On Tue, May 27, 2014 at 4:38 AM, Lokn wrote: > With solr local params, the regex is not working. > My sample query: q ={!qf=$myfield_qf}/[a-d]ad/, where I have myfield_qf > defined in the solrconfig.xml. add debugQuery=true to the request to see what query is actually produced. -Yonik http://hel

Re: 答复: Internals about "Too many values for UnInvertedField faceting on field xxx"

2014-05-27 Thread Yonik Seeley
On Mon, May 26, 2014 at 9:21 PM, 张月祥 wrote: > Thanks a lot. > >> There are only 256 byte arrays to hold all of the ord data, and the > pointers into those arrays are only 24 bits long. That gets you back > to 32 bits, or 4GB of ord data max. It's practically less since you > only have to overflo

SolrCloud: facet range option f..facet.mincount=1 omits buckets on response

2014-05-27 Thread Ronald Matamoros
Good afternoon, Is the f..facet.mincount option supported on a distributed search? Under SolrCloud experiencing that some buckets are ignored when using the option "f..facet.mincount=1". The Solr logs do not indicate any error or warning during execution. The debug=true option and increasing the

RE: Wordbreak spellchecker excessive breaking.

2014-05-27 Thread Dyer, James
You can do this if you set it up like in the mail Solr example: wordbreak solr.WordBreakSolrSpellChecker name true true 10 The "combineWords" and "breakWords" flags let you tell it which kind of workbreak correction you want. "maxChanges"

SolrCloud zkcli

2014-05-27 Thread Matt Kuiper
Hello, I am using ZkCLI -cmd upconfig with a reload of each Solr node to update my solrconfig within my SolrCloud. I noticed the linkconfig option at https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities, and do not quite understand where this option is designed to be used.

Re: ExtractingRequestHandler indexing zip files

2014-05-27 Thread Siegfried Goeschl
Hi Sergio, your either do the stuff on the caller side (which is probably a good idea since you are off-load the SOLR server) or extend the ExtractingRequestHandler Cheers, Siegfried Goeschl On 27 May 2014, at 10:37, marotosg wrote: > Hi, > > Thanks for your answer Alexandre. > I have zip f

Re: SolrCloud zkcli

2014-05-27 Thread Shawn Heisey
On 5/27/2014 10:41 AM, Matt Kuiper wrote: > I am using ZkCLI -cmd upconfig with a reload of each Solr node to update my > solrconfig within my SolrCloud. I noticed the linkconfig option at > https://cwiki.apache.org/confluence/display/solr/Command+Line+Utilities, and > do not quite understand w

How to Get Highlighting Working in Velocity (Solr 4.8.0)

2014-05-27 Thread Teague James
My Solr 4.8.0 index includes a field called 'dom_title'. The field is displayed in the result set. I want to be able to highlight keywords from this field in the displayed results. I have tried configuring solrconfig.xml and I have tried adding parameters to the query "&hl=true&hl.fl=dom_title" but

RE: SolrCloud zkcli

2014-05-27 Thread Matt Kuiper
Great, thanks Matt -Original Message- From: Shawn Heisey [mailto:s...@elyograg.org] Sent: Tuesday, May 27, 2014 11:13 AM To: solr-user@lucene.apache.org Subject: Re: SolrCloud zkcli On 5/27/2014 10:41 AM, Matt Kuiper wrote: > I am using ZkCLI -cmd upconfig with a reload of each Solr nod

Solr Suggester vs Solr SpellChecker

2014-05-27 Thread Mukundaraman valakumaresan
Hi For auto suggestions I see, that the SpellChecker Component is being used. In SolrConfig.xml, I see the following SuggestComponent. What is the difference between these 2 components? Which one should be used for Auto Suggestions. I could see the SpellChecker component working, any reference

Any Solrj API to obtain field list?

2014-05-27 Thread T. Kuro Kurosaka
I'd like to write Solr client code that writes text to language specific field, say, myfield_es, for Spanish, if the field myfield_es is defined in schema.xml, and otherwise to a fall-back field myfield. To do this, I need to obtain a list of defined fields (and dynamic fields) from the server.

Re: Any Solrj API to obtain field list?

2014-05-27 Thread Sujit Pal
Have you looked at IndexSchema? That would offer you methods to query index metadata using SolrJ. http://lucene.apache.org/solr/4_7_2/solr-core/org/apache/solr/schema/IndexSchema.html -sujit On Tue, May 27, 2014 at 1:56 PM, T. Kuro Kurosaka wrote: > I'd like to write Solr client code that wri

Re: Any Solrj API to obtain field list?

2014-05-27 Thread Ahmet Arslan
Hi, https://wiki.apache.org/solr/LukeRequestHandler  make sure numTerms=0 for performance  On Tuesday, May 27, 2014 11:56 PM, T. Kuro Kurosaka wrote: I'd like to write Solr client code that writes text to language specific field, say, myfield_es, for Spanish, if the field myfield_es is de

Re: Any Solrj API to obtain field list?

2014-05-27 Thread Jack Krupansky
You might consider an update request processor as an alternative. It runs on the server and might be simpler. You can even use the stateless script update processor to avoid having to write any custom Java code. -- Jack Krupansky -Original Message- From: T. Kuro Kurosaka Sent: Tuesda

Re: Any Solrj API to obtain field list?

2014-05-27 Thread T. Kuro Kurosaka
On 05/27/2014 02:29 PM, Jack Krupansky wrote: You might consider an update request processor as an alternative. It runs on the server and might be simpler. You can even use the stateless script update processor to avoid having to write any custom Java code. -- Jack Krupansky That's an inte

Re: Any Solrj API to obtain field list?

2014-05-27 Thread Steve Rowe
You can call the Schema API from SolrJ - see Shawn Heisey’s example code here: Steve On May 27, 2014, at 5:50 PM, T. Kuro Kurosaka wrote: > On 05/27/2014 02:29 PM, Jack Krupansky wrote

search component needs access to results of previous component

2014-05-27 Thread Jitka
Hello and thanks for reading my question. If our high-level search handler doesn't get enough results back from a Solr query, it tweaks the query, re-sends to Solr, and combines the result sets from the two queries. I would like to modify our Solr set-up so that Solr itself could handle th

Re: Any Solrj API to obtain field list?

2014-05-27 Thread T. Kuro Kurosaka
On 05/27/2014 02:55 PM, Steve Rowe wrote: You can call the Schema API from SolrJ - see Shawn Heisey’s example code here: Steve It looks like this returns a Json representation of fields

Re: Any Solrj API to obtain field list?

2014-05-27 Thread Steve Rowe
Shawn’s code shows that SolrJ parses the JSON for you into NamedList (response.getResponse()). - Steve On May 27, 2014, at 7:11 PM, T. Kuro Kurosaka wrote: > On 05/27/2014 02:55 PM, Steve Rowe wrote: >> You can call the Schema API from SolrJ - see Shawn Heisey’s example code >> here:

Re: Any Solrj API to obtain field list?

2014-05-27 Thread T. Kuro Kurosaka
On 05/27/2014 04:21 PM, Steve Rowe wrote: Shawn’s code shows that SolrJ parses the JSON for you into NamedList (response.getResponse()). - Steve Thank you for pointing it out. It wasn't apparent what get(key) returns since the method signature of getResponse() merely tells it would return a Na

Re: solrcloud shards backup/restoration

2014-05-27 Thread rulinma
I also want to know how to realization it. -- View this message in context: http://lucene.472066.n3.nabble.com/solrcloud-shards-backup-restoration-tp4088447p4138358.html Sent from the Solr - User mailing list archive at Nabble.com.

RE: Backup strategy for SolrCloud

2014-05-27 Thread rulinma
Now, I use this. But I still want a snapshot index too. -- View this message in context: http://lucene.472066.n3.nabble.com/Backup-strategy-for-SolrCloud-tp4009291p4138359.html Sent from the Solr - User mailing list archive at Nabble.com.

Error enquiry- exceeded limit of maxWarmingSearchers=2

2014-05-27 Thread M, Arjun (NSN - IN/Bangalore)
Hi, I am getting the below error. org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: Error opening new searcher. exceeded limit of maxWarmingSearchers=2, try again later. Can you please help?

Strict mode at searching and indexing

2014-05-27 Thread 小川修
Hi. I use Solr4.7.2. When I search by wrong query for example [non_exists_field:value]. Or, when I index by wrong xml for example [value] Solr reports nothing. I want to get error message. Is there option that makes Solr strict? Thanks.

Re: Error enquiry- exceeded limit of maxWarmingSearchers=2

2014-05-27 Thread Shawn Heisey
> Hi, > > I am getting the below error. > > org.apache.solr.client.solrj.impl.HttpSolrServer$RemoteSolrException: > Error opening new searcher. exceeded limit of > maxWarmingSearchers=2, try again later. This error is usually a symptom of a problem, not the actual problem. Either

Re: Regex with local params is not working

2014-05-27 Thread Lokn
Thanks for the reply. I am using edismax for the query parsing. Still it's not working. Instead of using local params, if I use the field directly then regex is working fine. Thanks, Lokesh -- View this message in context: http://lucene.472066.n3.nabble.com/Regex-with-local-params-is-not-worki

Re: Regex with local params is not working

2014-05-27 Thread Lokn
I tried with debug on, solr generates disjunctionmaxquery instead of regexquery. Is there something that I need to add to the query? Thanks, Lokesh -- View this message in context: http://lucene.472066.n3.nabble.com/Regex-with-local-params-is-not-working-tp4138257p4138373.html Sent from the So

Searching words with spaces for word without spaces in solr

2014-05-27 Thread sunshine glass
Dear Team, How can I handle compound word searches in solr ?. How can i search "hand bag" if I have "handbag" in my index. While using shingle in query analyzer, the query "ice cube" creates three tokens as "ice","cube", "icecube". Only ice and cubes are searched but not "icecubes".i.e not working

Re: Solr shut down by itself

2014-05-27 Thread rachun
HI Alex, Thank you very much for your suggestion. I found some OOM problem before it shut down. Now I will try to fix that problem. Best, Chun. -- View this message in context: http://lucene.472066.n3.nabble.com/Solr-shut-down-by-itself-tp4138233p4138378.html Sent from the Solr - User mailing