Questions tagged [solr5]

Related to the version 5 of SOLR search engine

Related to the version 5 of SOLR search engine: https://lucene.apache.org/solr/

For more version specific information see Major Changes from Solr 4 to Solr 5

Solr is the popular, blazing-fast, open source enterprise search platform built on Apache Lucene™

165 questions
2
votes
1 answer

How to implement Time/(Distance)^2 in solr?

I want to implement Time/Distance^2 in solr. e.g.: user locality is : BTM Question1: posted 5hrs before. and distance from my locality is 2kms :5/4=1.25 Question2 posted 2hrs before. and distance from my locality is 4kms: 2/16=0.125 Question3…
Naresh
  • 333
  • 1
  • 2
  • 9
2
votes
1 answer

How to get Suggestions in Solr 5.3.0

I am trying to implement auto complete feature using Solr 5.3.0 solrconfig.xml looks like this default
Nikhil Sahu
  • 2,463
  • 2
  • 32
  • 48
2
votes
1 answer

Merge Solr Index with CoreAdmin Api

I am trying to merge solr indexes from multiple solr cores into a new core. i am using coreAdmin api for this. but all i get is an empty response header with no error or success message. Here is the api from solr…
John Sheedy
  • 287
  • 1
  • 8
  • 26
2
votes
1 answer

How to do Solr search integration with PHP?

I have solr on my local machine and its working fine when I am hitting this url: http://localhost:8983/solr/ but I am new in solr search and I don't know how to configure PHP and MySQL with Solr. I am using windows8 and solr5.1.0. If any one have…
alok
  • 2,718
  • 21
  • 17
2
votes
2 answers

How to run a sql query in solr

Ok now I have successfully install solr and index by database with following structure : DB_NAME - solr, Table - users my db-data-config.xml file :
Rakesh Shetty
  • 4,548
  • 7
  • 40
  • 79
1
vote
1 answer

Is it possible to upgrade from Solr 5.x to Solr 8.x?

Looking into upgrading our solar instance from version 5 to version 8. I worked through the index upgrading tools but it doesn’t allow upgrading an index create before version 7 into version 8. Exception in thread…
Joshua
  • 2,079
  • 20
  • 29
1
vote
0 answers

Does solr replication not work while data import is in progress on master?

I have setup solr master slave architecture to separate read and write traffic to our solr machines. The 'replicateAfter' parameter is set as 'commit,startup' on master configuration.The configuration works fine except for a one glitch.Whenever data…
1
vote
0 answers

Restrict highlighting to matching fields in Solr 5.5

We are using Solr 5.5. I would like to know if it is possible to restrict highlighting as described below. Suppose we have this search: doc_id:100 OR samples which is transformed into doc_id:100 OR text:samples We want the highlighting to of…
Chris Pudney
  • 371
  • 2
  • 5
1
vote
1 answer

Index only plain text from HTML in solr

I need to index only plain text from HTML and reject all other HTML tags. For Example: I have html like title
Vishnu Sharma
  • 632
  • 5
  • 19
1
vote
1 answer

Solr Suggest Component and OutOfMemory Error

I am using the Solr Suggester component in Solr 5.5 with a lot of address data. My Machine has allotted 20Gb RAM for solr and the machine has 32GB RAM in total. I have an address book core with the following vitals…
Qedrix
  • 453
  • 1
  • 8
  • 15
1
vote
1 answer

How to create solr core in Dockerfile and may the local directory to container /opt/solr directory

I am using the following docker-compose.yml and Dockerfile to build the solr container docker-compose.yml version: "2" services: solr: container_name: test.solr #image: solr:5.5 build: .build/solr ports: - "8983:8983" …
Chito Cheng
  • 540
  • 2
  • 9
  • 25
1
vote
0 answers

Preferred way to set SO timeout

Are the following two do the same thing? cloudSolrClient.getLbClient().getHttpClient().getParams() .setParameter(CoreConnectionPNames.SO_TIMEOUT, 50000); and cloudSolrClient.getLbClient().setSoTimeout(50000); If they are, then…
Cse rvce
  • 73
  • 8
1
vote
2 answers

RSolr::Error::Http - 500 Internal Server Error

I am upgrading solr 5.3.1, I am getting following error when I run specs on semaphoreci RSolr::Error::Http: RSolr::Error::Http - 500 Internal Server Error Error: {msg=SolrCore 'default' is not available due to init failure:…
Sampat Badhe
  • 8,710
  • 7
  • 33
  • 49
1
vote
2 answers

Is it possible for Solr to load a new log4j.properties configuration file without Solr restart?

I use log4j.properties with a Solr 5.2. My Solr is working in the production environment so I do not want to restart it unless it's really necessary. What I changed: log4j.appender.file=org.apache.log4j.RollingFileAppender…
Anti
  • 11
  • 2
1
vote
0 answers

"can not use FieldCache on multivalued field" during a percentile facet on non-existant field

I'm using Solr 5.3.1, issuing percentile facet queries to my index. My index contains mostly dynamic fields (see schema). An example faceted query - Urlified:…
selotape
  • 846
  • 1
  • 13
  • 26
1 2
3
10 11