qf in conjunction with boost

2019-06-27 Thread Mark Sholund
Hello, I have been using the following to boost based on field content. qf=title^5 description^5 _text_ And now I want to include additional boosting based on a popularity score include with some documents. I’ve done this as follows q={!boost b=map(popularity_d,0,0,1)} However now it seems

Re: Relevance by term position

2019-06-27 Thread Samuel Kasimalla
Hi Jay, We solve his problem by doing a regular search with a wildcard instead of using autocomplete. It’s a little bit extra work but the customizability and flexibility makes it worth. Thanks, Sam > On Jun 27, 2019, at 10:00 PM, Jay Potharaju wrote: > > Hi, > I am trying to implement

Relevance by term position

2019-06-27 Thread Jay Potharaju
Hi, I am trying to implement autocomplete feature that should rank documents based on term position in the search field. Example- Doc1- hello world Doc2- blue sky hello Doc3 - John hello Searching for hello should return Hello world John hello Blue sky hello I am currently using ngram to do

Re: Solr 7.7.2 - Autoscaling in new cluster ignoring sysprop rules, possibly all rules

2019-06-27 Thread Andrew Kettmann
I found the issue. Autoscaling seems to silently ignore rules (at least sysprop rules). Example rule: {'set-policy': {'sales-uat': [{'node': '#ANY', 'replica': '<2', 'strict': 'false'}, {'replica':

Re: Error 401 and 404 while Solr product search.

2019-06-27 Thread Alexandre Rafalovitch
Those are two different collections. Have you tried solving the easier one (non secure), by accessing /solr/master_doterraUSContent_Index/select in the browser? Seems to be the collection is not there or named differently. So, that would be the first step to check. Regards, Alex. On Thu, 27

Error 401 and 404 while Solr product search.

2019-06-27 Thread Pratap Pandey
Hi, I am working on upgrading solr to 7.4 along with hybris upgrade to 1808. We are getting issues while searching for product using Solr search. Below are the details. Upgraded Hybris version : 1808 Upgraded Solr version : 7.4 Error log snippet: [1;31mERROR [hybrisHTTP32]

Re: [EXTERNAL] - Re: Solr not returning stored field

2019-06-27 Thread Alexandre Rafalovitch
Half the time I end up using a "power hammer" for all sorts of small "nails". Specifically I use Wiresharm network tracer to see exactly what happens on wire level and what servers are involved. A true overkill but it would have worked here... Regards, Alex On Thu, Jun 27, 2019, 3:09 PM

Re: sample_techproducts tutorial (8.1 guide) has wrong collectioname?

2019-06-27 Thread Thomas Egense
Thank you, I will fix the image to have the correct collection name. It was confusing showing a different collection image overview that the one you see when following the tutorial. /Thomas On Thu, Jun 27, 2019 at 3:45 PM Alexandre Rafalovitch wrote: > Actually, the tutorial does say "Here’s

Re: [EXTERNAL] - Re: Solr not returning stored field

2019-06-27 Thread Erick Erickson
Thanks for bringing closure, this was really puzzling. Don’t want to mention how many times I’ve spent hours/days trying to understand something only to finally figure out something similar ;). Best, Erick > On Jun 27, 2019, at 11:53 AM, Steve Pruitt wrote: > > Ok. When something makes no

RE: [EXTERNAL] - Re: Solr not returning stored field

2019-06-27 Thread Steve Pruitt
Ok. When something makes no sense. Go back to the very beginning. I was using an out of date configuration file which pointed SolrJ to another running Solr that had a core similar enough to the one running on localhost that I could not see an issue... until I checked everything. All is

RE: [EXTERNAL] - Re: Solr not returning stored field

2019-06-27 Thread Steve Pruitt
Ok, I am totally confused. It works fine using Solr Admin console on some test cases. I set the fl box with ranking reference and I get back both fields. For completeness, I clicked the url constructed for the query and it works fine too. Example:

Re: Solr not returning stored field

2019-06-27 Thread Alexandre Rafalovitch
(If no other SolrJ specific advice shows up) Can you divide the problem in a middle a see what happens and whether the issue is Solr or SolrJ side. Specifically, execute the query directly against Solr and see what happens. Also I would triple-check that the documents you are getting back

Solr not returning stored field

2019-06-27 Thread Steve Pruitt
I cannot get Solr to return a stored field. My schema is: : : I am using the SolrJ client and trying this: The query string contains = " user: " and a list of user field values; The query executes ok. I get several documents. SolrQuery solrQuery = new SolrQuery(query);

Re: Solr 7.7.2 - Autoscaling in new cluster ignoring sysprop rules, possibly all rules

2019-06-27 Thread Andrew Kettmann
Is there some step I am missing here? Policies seem to be entirely ignored in this new cluster and I am at a loss. Is there some default setting that will cause autoscaling to be ignored? From: Andrew Kettmann Sent: Tuesday, June 25, 2019 1:04:21 PM To:

Re: DIH import fails when importing multi-valued field

2019-06-27 Thread Erick Erickson
This looks like a problem with your select statement returning too many rows. I doubt it has to do with the multiValued field, I don’t think DIH is getting to the point where it even tries to create a SolrInputDocument. Depending on the driver, there are ways to limit the number of rows

Re: I have many "PRE_UPDATE add"

2019-06-27 Thread Erick Erickson
You’d be better off asking this question of Alfresco support. While Alfresco uses Solr, the Solr project doesn’t know the ins and outs of _how_. Best, Erick > On Jun 27, 2019, at 2:50 AM, Sergi Benach wrote: > > Hi > My Solr4 (with Alfresco) was stopped indexing new content many hour ago. In

Re: Force to purge document

2019-06-27 Thread Erick Erickson
You’d be far better off asking this on the alfresco support than Solr. This list doesn’t really have any insight into how Alfresco works… Best, Erick > On Jun 27, 2019, at 6:15 AM, BitON Consultores > wrote: > > Hi > I have a node in error state and I don't know why. > > I had problems with

Re: sample_techproducts tutorial (8.1 guide) has wrong collectioname?

2019-06-27 Thread Alexandre Rafalovitch
Actually, the tutorial does say "Here’s the first place where we’ll deviate from the default options." and the result name should be techproducts. It is the image that is no longer correct and needs to be updated. And perhaps the text should be made clearer. A pull request with updated image

Force to purge document

2019-06-27 Thread BitON Consultores
Hi I have a node in error state and I don't know why. I had problems with IN_TREE queries with that node and I saw error quecking document by DBID Q : /solr4/alfresco/select?q=DBID%3A5924+=json=true R: response":{"numFound":1,"start":0,"docs":[ { "id":"ERROR-5924",

sample_techproducts tutorial (8.1 guide) has wrong collectioname?

2019-06-27 Thread Thomas Egense
Solr 8.1 tutorial: https://lucene.apache.org/solr/guide/8_1/solr-tutorial.html Following the guide to where you have created the collection and checking the admin page, you get the same picture as shown in "Figure 1. SolrCloud Diagram" (collectionname = gettingstarted) <--- Next step is indexing

RE: Solr 8 getZkStateReader throwing AlreadyClosedException

2019-06-27 Thread Markus Jelsma
This was 8.1.1 to be precise. Sorry! -Original message- > From:Markus Jelsma > Sent: Thursday 27th June 2019 13:19 > To: solr-user > Subject: Solr 8 getZkStateReader throwing AlreadyClosedException > > Hello, > > We had two different SolrClients failing on different collections

Solr 8 getZkStateReader throwing AlreadyClosedException

2019-06-27 Thread Markus Jelsma
Hello, We had two different SolrClients failing on different collections and machines just around the same time. After restarting everything was just fine again. The following exception was thrown: 2019-06-27 11:04:28.117 ERROR (qtp203849460-13532) [c:_shard1_replica_t15]

I have many "PRE_UPDATE add"

2019-06-27 Thread Sergi Benach
Hi My Solr4 (with Alfresco) was stopped indexing new content many hour ago. In the log file I'm seeing many "PRE_UPDATE add". What is it doing? LogUpdateProcessor]| PRE_UPDATE add{,id=_DEFAULT_!8002cfa5!803351fd}