Re: Solr suggester throws error on core reload.

2015-08-14 Thread Nutch Solr User
Hi Erick, Sorry for the confusion caused, Next time will be more careful while posting questions in forum. Actually we are using AnalyzingInfixLookupFactory for auto-suggestions. And currently is has open issue with core reload (https://issues.apache.org/jira/browse/SOLR-6246). So my question was

Re: Solr relevant results

2015-08-14 Thread Brian Narsi
I see, so basically I add another field to the schema "CustomScore" and assign score to it based on values in other fields. And then just order by it. Is that right? On Fri, Aug 14, 2015 at 10:58 PM, Alexandre Rafalovitch wrote: > Clarification: In the client that is doing the _indexing_/sendin

Re: Solr relevant results

2015-08-14 Thread Alexandre Rafalovitch
Clarification: In the client that is doing the _indexing_/sending data to Solr. Not the one doing the querying. And custom URP if you can't change the client and need to inject that extra code on the Solr side. Sorry, for extra emails. Regards, Alex. Solr Analyzers, Tokenizers, Filters,

Re: Solr relevant results

2015-08-14 Thread Alexandre Rafalovitch
My suggestion was to do the mapping in the client, before you hit Solr. Or in a custom UpdateRequestProcessor. Because only your client app knows the order you want those things in. It certainly was not any kind of alphabetical. Then, you just sort by that field and Solr would not care about the c

Re: Solr relevant results

2015-08-14 Thread Brian Narsi
Search term is searched in Description. The search string is relevant in the context that the Description of returned records must contain the search string. But when several records Description contains the search string then they must be ordered according to the values in Code and Prefer. I und

Re: FW: Performance warning overlapping onDeckSearchers

2015-08-14 Thread Shawn Heisey
On 8/11/2015 6:15 AM, Adrian Liew wrote: > I am not sure if you know much about the Sitecore WCMS Platform and we > are experiencing some issues reported by Solr Admin with regards to > the following when we try to publish some content in order to trigger > an index update to our sitecore_web_index

Re: Adding additional file types for indexing

2015-08-14 Thread Erik Hatcher
I opened https://issues.apache.org/jira/browse/SOLR-7929 for the issue below. — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com > On Aug 14, 2015, at 11:28 AM, Erik Hatcher wrote: > > Not sure

Re: Solr relevant results

2015-08-14 Thread Alexandre Rafalovitch
What's the search string? Or is the search string irrelevant and that's just your compulsory ordering. Assuming anything that searches has to be returned and has to fit into that order, I would frankly just map your special codes all together to some sort of 'sort order' number. So, Code=>C = 4000

Solr relevant results

2015-08-14 Thread Brian Narsi
In my documents there are several fields, but for example say there are three fields: Description - text - this variable text Code - string - always a single character Prefer - boolean User searches on Description. When returning results I have to order results as following: Code = C Code = B

Issue while setting Solr on Slider / YARN

2015-08-14 Thread Vijay Bhoomireddy
Hi, We have a requirement of setting up of Solr Cloud to work along with Hadoop. Earlier, I could setup a SolrCloud cluster separately alongside the Hadoop cluster i.e. it looks like two logical clusters sitting next to each other, both relying on HDFS. However, the experiment now I am try

Re: Adding additional file types for indexing

2015-08-14 Thread Erik Hatcher
Not sure how exactly you’re trying it, so let’s talk concretely with examples here: $ bin/solr create -c tmp $ bin/post -c tmp ~/Desktop/bin_post_featured_image.png -filetypes “*" $ curl "http://localhost:8983/solr/tmp/select?q=*:*&wt=csv&fl=id"; id "/Users/erikhatcher/Desktop/bin

Re: Adding additional file types for indexing

2015-08-14 Thread coolmals
Ok. Quoting also doesnt seem to fix the png image issue. Any idea on indexing png images? -- View this message in context: http://lucene.472066.n3.nabble.com/Adding-additional-file-types-for-indexing-tp4222845p4222987.html Sent from the Solr - User mailing list archive at Nabble.com.

Re: Adding additional file types for indexing

2015-08-14 Thread Erik Hatcher
Be careful with an unquoted * - try quoting it. (I was trying to be precise in my reply by quoting it but should have called that out as a potential issue) — Erik Hatcher, Senior Solutions Architect http://www.lucidworks.com > On Aug 14, 2015, at 10:40 AM, coolm

Re: Adding additional file types for indexing

2015-08-14 Thread coolmals
Thanks for your response. I used the -Dfiletypes=* when executing post.jar but png image files alone are not getting indexed. It gives 400 error 400 1 missing content stream 400 Can you let me know if there is any seperate configuration for png images? other images like jpg seems to be ind

Re: Solr suggester throws error on core reload.

2015-08-14 Thread Erick Erickson
You might review: http://wiki.apache.org/solr/UsingMailingLists You've provide exactly no information that would help us help you. Or did you hijack the thread? Because the title has nothing to do with the question. See: http://people.apache.org/~hossman/#threadhijack When starting a new discuss

Re: solrcloud: compression in replication handler

2015-08-14 Thread Erick Erickson
Why do you think this is desirable? Unless something is wrong somewhere, i.e. nodes go into recovery regularly, there is no replication in SolrCloud. The original docs are forwarded to each replica in a shard, _not_ the final indexed format. If you're seeing a lot of recoveries, then _that's_ the

Re: Copy fields and appending of values

2015-08-14 Thread Alexandre Rafalovitch
I would not be surprised if default value is assigned AFTER all the copy field is done. That would make a lot more sense. So, you may want to try setting that default value earlier in the indexing process. Specifically, by creating a custom UpdateRequestProcessor chain and using DefaultValue URP:

solrcloud: compression in replication handler

2015-08-14 Thread Gopal Jee
I am using solrcloud version 4.10.1. As of now, our replication handler is configured as: I want to add compression to index replication. On web, i found ways to add compression for master/slave. How do i add compression to replication handler in solrcloud deployment. --

Re: Copy fields and appending of values

2015-08-14 Thread griglo
Thank you Shawn, indeed 4.7 :) I tried this approach with default value and it doesn't seem to work. I have my destination field defined as multiValued and I copy from one source with default value and some other source field. Default value does not seem to copy from source field to destination. I