Using 'learning to rank' with user specific features

2018-01-23 Thread Nawab Zada Asad Iqbal
hi, I am going through learning to rank examples in Solr7. In the examples, the features are part of the searched document. Can I use solr's learning to rank system if my features are user specific? e.g., if searching for products, i want to rank some products higher if they have been used by

Solr 7.2.1 - cursorMark and elevateIds

2018-01-23 Thread Greg Roodt
Hi I'm trying to use the Query Eleveation Component in conjunction with CursorMark pagination. It doesn't seem to work. I get an exception. Are these components meant to work together? This works: enableElevation=true=true=MAAMNqFV1dg This fails: cursorMark=*=true=true=MAAMNqFV1dg Here is the

Substitute for SmartChineseWordTokenFilterFactory in Solr7

2018-01-23 Thread Nawab Zada Asad Iqbal
Hi, I used to use SmartChineseSentenceTokenizerFactory and SmartChineseWordTokenFilterFactory in Solr4 for analyzing Chinese text. In solr7, I found that SmartChineseSentenceTokenizerFactory is replaced with HMMChineseTokenizerFactory, but i cannot locate a Chinese Word Tokenizer. Is that not

Re: BinaryResponseWriter fetches unnecessary fields?

2018-01-23 Thread Wei
Thanks Chris! Is RetrieveFieldsOptimizer a new functionality introduced in 7.x? Our observation is with botht 5.4 & 6.4. I have created a jira for the issue: https://issues.apache.org/jira/browse/SOLR-11891 I am also wondering how enableLazyFieldLoading affect the case, but haven't tested yet.

Re: hashJoin - Multivalued field

2018-01-23 Thread Kojo
I´am sorry, everything is working fine! 2018-01-23 16:44 GMT-02:00 Kojo : > I am trying to solve one problem, exactly as the case described here: > > http://lucene.472066.n3.nabble.com/Streaming-expression-API-innerJoin-on- > multi-valued-field-td4353794.html > > I cannot

Re: Strange Alias behavior

2018-01-23 Thread Webster Homer
Thanks, Erick. The main reason that we assigned the alias this way was for consistency. The consistency of communicating with the administrators that actually maintain the solr instances in our QA and production clouds. They know very little about solr. It was useful to have all the interfaces in

hashJoin - Multivalued field

2018-01-23 Thread Kojo
I am trying to solve one problem, exactly as the case described here: http://lucene.472066.n3.nabble.com/Streaming-expression-API-innerJoin-on-multi-valued-field-td4353794.html I cannot accomplish that on Solr 6.6, my streaming expression returns nothing: hashJoin( search(scholarship,

Weird time outs 7.2

2018-01-23 Thread Markus Jelsma
Hi, On 7.2 is regularly see this popping up: 2018-01-23 16:16:37.056 ERROR (qtp329611835-117592) [c:logs s:shard1 r:core_node1 x:logs_shard1_replica1] o.a.s.s.HttpSolrCall null:java.io.IOException: java.util.concurrent.TimeoutException: Idle timeout expired: 12/12 ms at

RE: Using lucene to post-process Solr query results

2018-01-23 Thread Diego Ceccarelli (BLOOMBERG/ LONDON)
And you want to show to the users only the Lucene documents that matched the original query sent to Solr? (what if a lucene document matches only part of the query?) From: solr-user@lucene.apache.org At: 01/23/18 13:55:46To: Diego Ceccarelli (BLOOMBERG/ LONDON ) ,

RE: Using lucene to post-process Solr query results

2018-01-23 Thread Rahul Chhiber
Hi Diego, Basically, each Solr document has a text field , which contains large amount of text separated by some delimiters. I split this text into parts and then assign each part to a separate lucene Document object. The field could also be multi-valued, in which case I create a Lucene

RE: Using lucene to post-process Solr query results

2018-01-23 Thread Rahul Chhiber
Hi Atita, Haven't tried anything else. I considered writing a plugin , custom SearchComponent or such , but being fairly ignorant of the Solr internals I thought of first trying out this approach, and if this works then maybe moving the processing inside a plugin. I will take a look at

Re: Using lucene to post-process Solr query results

2018-01-23 Thread Diego Ceccarelli (BLOOMBERG/ LONDON)
Rahul, can you provide more details on how you decide that the smaller lucene objects are part of the same solr document? From: solr-user@lucene.apache.org At: 01/23/18 09:59:17To: solr-user@lucene.apache.org Subject: Re: Using lucene to post-process Solr query results Hi Rahul, Looks like

Re: How to use facet pivoting with paging?

2018-01-23 Thread keenkiller
I meet the same problem here. Can some one give any help? -- Sent from: http://lucene.472066.n3.nabble.com/Solr-User-f472068.html

SolrCLI commands (i.e. health check) in kerberos environment

2018-01-23 Thread Sean Roberts
Solr experts - Do the org.apache.solr.util.SolrCLI commands work for a Kerberized Solr? We are able to use Solr but executing `solr healthcheck` fails with a 401 (unauthorized). ``` $ kinit -kt /etc/security/keytabs/ambari-infra-solr.service.keytab infra-solr/master01.domain@domain.tld $

RE: Cannot build 7.2.1, unknown lock strategy artifact-lock-nio

2018-01-23 Thread Markus Jelsma
Forget about it. For some reason a 2.1.0 version ended up in ~/.ant/lib/ivy.jar, no idea how it got there. Remove and ant bootstrap! At least next time i can find this mail thread. Thanks! Markus -Original message- > From:Markus Jelsma > Sent: Tuesday 23rd

Cannot build 7.2.1, unknown lock strategy artifact-lock-nio

2018-01-23 Thread Markus Jelsma
Hi, I have seen this problem before, but no idea how it got fixed. Purging Ivy's cache didn't work. Ivy's manual tells me we need Ivy 2.4 for the lock strategy, i have Ivy 2.4.0-3. I have no idea, any ideas? Many thanks! Markus BUILD FAILED /.../solr-7.2.1/solr/build.xml:458: The following

Re: Using lucene to post-process Solr query results

2018-01-23 Thread Atita Arora
Hi Rahul, Looks like Streaming expressions can probably can help you. Is there something else you have tried for this? Atita On Jan 23, 2018 3:24 PM, "Rahul Chhiber" wrote: Hi All, For our business requirement, once our Solr client (Java) gets the results

Using lucene to post-process Solr query results

2018-01-23 Thread Rahul Chhiber
Hi All, For our business requirement, once our Solr client (Java) gets the results of a search query from the Solr server, we need to further search across and also within the content of the returned documents. To accomplish this, I am attempting to create on the client-side an in-memory