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
1 answer

Solr 5: not loading shards from symlinked directories

I've tried to upgrade from Solr 4.10.3 to 5.4.1. Solr shards are placed on different disks and symlinks (ln -s) are created to SOLR_HOME (SOLR_HOME itself is set as an absolute path and works fine). When Solr starts, it loads only shards placed in…
Nick
  • 138
  • 11
0
votes
1 answer

Solr sorting text in Polish

I have solr 5.2.1 and such definition of field which is used for sorting: After reindex sorting almost work as I want: { "responseHeader":…
kuba_ceg
  • 930
  • 9
  • 16
0
votes
1 answer

index a large number of xml files to solr 5

I am trying to index ~1 million of xml files to Solr 5. There are a few ways I can think of: dump all the xml files into a directory and then use post.jar It seems to me that data import handler can also be used to recursively import xml files Are…
user2073131
  • 45
  • 1
  • 5
0
votes
1 answer

How to correctly add additional SOLR 5 (vm) nodes to SOLR Cloud

I have a SOLR / Zookeeper / Kafka setup. Each on separate VMs. I have successfully run this all using two SOLR 4.9 vms (Ubuntu) Now I wish to build two SOLR 5.4 vms and get it all working again. Essentially, "Upgrade by Replacement" I have "hacked"…
jb62
  • 2,224
  • 2
  • 14
  • 23
0
votes
1 answer

Override contextPath on solr start from command line

Is it possible to override jetty "contextPath" property when starting Solr 5 using command line arguments? I want something like bin/solr -p 8983 -s "example/techproducts/solr" -a "-DcontextPath=/s" So that the base url will be…
Mike G.
  • 700
  • 5
  • 22
0
votes
1 answer

How does solr store multiple references to same child document from different parent documents?

According to link , the parent child docs are stored as child1,child2,parent Does this mean if I have references to child1 from parent1 and parent2, it will be duplicated twice or will it refer to the same child1 document? Will it be…
Sumeet Sharma
  • 2,573
  • 1
  • 12
  • 24
0
votes
1 answer

Would removing spaces between product variant ids decrease index size in solr5?

I have been saving some product specifications into Solr 5. Most of the products contain unique variant ids that use dashes or dots, like this: Samesung TV 54 : AD-oi-230, Sony TV 24 : 1.849.32s.s. But occassionally, I come across some variant ids…
RedGiant
  • 4,444
  • 11
  • 59
  • 146
0
votes
1 answer

solr5.1: Json facet: range facet query in combination with blockjoin doesnt work

Below is my schema structure: Doc1: id: A1_1, name: xyz, type: A1, field5:TTT, _childDocuments_:Doc4,Doc5 Doc4: id: A2_1 type:A2 field1: ABC, field2: DEF, field3: TVF, field4: 2014-02-01T00:00:00Z Doc5 is…
Sumeet Sharma
  • 2,573
  • 1
  • 12
  • 24
0
votes
0 answers

How to fix the Spell check exception All checkers need to use the same Analyzer (Solr 5.3.1)

All, I am trying to apply the spell check in the Solr 5.3.1. Currently Solr 5.3.1 already includes the SpellCheckComponent. which looks like below .
Joe.wang
  • 11,537
  • 25
  • 103
  • 180
0
votes
2 answers

Solr returning unmatched documents

I am writing query get all documents which has "am" or "pm" in their name, and my query goes like this: (sellerName:am pm). Returned document as follows: doc1: seller name:am city: bangalore state:Kar country:In zip:560034 doc2: …
786543214
  • 855
  • 4
  • 14
  • 29
0
votes
2 answers

Solr query data which matches 2 or more keywords

I am using Solr version 5 for searching data. I am using below query to which returns results even single keyword is matched. http://localhost:8983/solr/document/select?q=keyword1+keyword2&wt=json Can anyone suggest me query to fetch results only…
Kalpesh
  • 83
  • 2
  • 6
0
votes
1 answer

Incorrect SOLR results

I have issues using SOLR to search. My schema is defined as following:
0
votes
1 answer

Solr 5 schema-less replicate schema

I'm using Solr 5.3.1 in schema-less mode, so there is a file created managed-schema by Solr when I add fields via API. My config contains startup commit
rabudde
  • 7,498
  • 6
  • 53
  • 91
0
votes
1 answer

SolrException URLDecoder: Invalid character encoding detected after position 79 of query string / form data (while parsing as UTF-8)

HOW I can indexing from solarium rich data(msword and pdf files) from a dirctory who contient many files, MY config is $config = array( "endpoint" => array("localhost" => array("host"=>"127.0.0.1", "port"=>"8983", "path"=>"/solr",…
MedKostali
  • 223
  • 1
  • 5
  • 16
0
votes
0 answers

How i define my field name in schema.xml of apache solr to get just the name of the document files

I start working in solr 5.3.1 run solr server with : D:\solr\solr-5.3.1\bin>solr start ; Then I create a core in standalone mode : D:\solr\solr-5.3.1\bin>solr create -c mycore I need indexing from system files (word and pdf) and the schema API…
MedKostali
  • 223
  • 1
  • 5
  • 16