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
0
votes
0 answers

SOLR index size differing a lot from windows to Linux machine after re-index

Currently am running solr 4.5.1 on windows machine. and Am planning to upgrade that one to 5.2.1 simultaneously moving it from windows to linux. Since There are some changes to schema file, after upgrading am re-indexing the data again by querying…
Adarsh H D Dev
  • 588
  • 7
  • 29
0
votes
2 answers

Solr: different sort result between 2 core

I have this 2 core of solr, one called catalogs and the others special_page. It contains data from the same db, the difference is catalogs contain more field than the others (catalogs is in solr 5 and special in solr 4, yes differ solr…
machmum
  • 49
  • 1
  • 15
0
votes
1 answer

where to find schema.xml file for solr 5

Where to find schema.xml file for solr 5, or it's should be created manually, Should I create schema.xml for each core or schema.xml for each example?
iSi_CaRBoN
  • 15
  • 2
0
votes
2 answers

How can I add both AND and OR operators in Solr 5.5.0

I am using Solr 5.5.0 and currently the application is searching with the "AND" operator without it being specified. For example: I search for programmer developer and it gives me the result of the files with the words programmer and developers.…
ttdol2506
  • 103
  • 1
  • 10
0
votes
1 answer

Correctly distribute replicas across nodes using

Using Solr v5.5 We are trying to balance our shard replica placement using this: https://cwiki.apache.org/confluence/display/solr/Rule-based+Replica+Placement We have defined a rule 'replica:<5,node:*' Our setup: 10 Solr instances 20 shards 2 …
nightowl
  • 375
  • 1
  • 4
  • 10
0
votes
1 answer

Trying to remove duplicate records from Solr

I am using Solr 5.2.0 with 2 shards per core and 2 nodes per shard. Each shard is configured in clusterstate.json to have a range, to divide records among the shards, like this: "shard1": {"range": "0-7fffffff"}, "shard2": {"range":…
0
votes
1 answer

Is there a way to query solr "leader" directly using solrj?

I'm having a single shard and 1 leader & 1 replica architecture. When using "CloudSolrClient", queries are being distributed to both leader and replica. But is there a way to point it only to leader(using zookeeper) other than finding the leader…
Riya
  • 70
  • 10
0
votes
1 answer

Using df in Solr query with array of strings

I have field in my indexed data set called "sighting_en". It contains an array of strings. When I perform a query using &df=sighting_en I get back zero results. When I perform a query using another field that is just defined as a plain string, it…
0
votes
1 answer

New field added to schema.xml not showing in Analysis tool

I have just started working with Solr version 5.5 and I switched from the managed schema to the non-managed schema. I found the schema.xml in \server\solr\configsets\basic_configs\conf I edited that file and added a new fieldType. I shut down Solr…
0
votes
0 answers

" org.apache.solr.common.SolrException: Collection not found" when connecting solr 5.5 using solrj 4.x

Below is the code I am trying String zkHostString = "zookeepername"; CloudSolrServer cloudSolrServer=new CloudSolrServer(zkHostString); cloudSolrServer.setDefaultCollection("collectionname"); SolrPingResponse ping =…
Riya
  • 70
  • 10
0
votes
1 answer

Solr Query for a a Unique pair

I have Solr documents having 3 fields Sender, Receiver and Time. I want to query what is the total time for all unique pair of Sender+Reciever. Below is Solr Document format and 4 record(for example): Sender Reciever Time John Robert 10 John …
sdkjain
  • 51
  • 1
  • 6
0
votes
1 answer

How can I configure Solr (like solrconfig.xml) so that the "~"/fuzzy query is implied without be having to add it to the end of all queries?

I am currently using Apache Solr 5.5.1 and I would like to generate fuzzy results without having to add the "~" at the end of the query. As an example if I run a query against "Fellowships" it does not find any records that contain "fellowship"…
John Mitchell
  • 271
  • 4
  • 13
0
votes
1 answer

How to scale SolrField value from 0 to 1

I am working on Solr5+ I want to scale a Price field from 0 to 1 to apply boosting. Is there any way to achieve this? Thanks for your help!
Ankita
  • 1,416
  • 4
  • 17
  • 42
0
votes
1 answer

I changed solr.in.sh file and restarted solr. but solr core went down

I am running my solr in cloud mode. I have 3 shards and 6 cores. each shard has 2 nodes. I needed to change JMX configuration hence I change solr.in.sh file and restarted solr on one of the solr machines. Looks like core associated with that machine…
0
votes
1 answer

Solr - KeywordTokenizerFactory - Exact Match for Multiple Words Not Working

I have made the following type definition in Solr:
mils
  • 1,878
  • 2
  • 21
  • 42