Questions tagged [solr]

Apache Solr is an open source search server based on the Lucene Java search library.

1
vote
0answers
3 views

How does Solr's spellcheck.collate influence performance?

The Solr documentation on spellchecking parameters states (emphasis mine): spellcheck.collate If true, this parameter directs Solr to take the best suggestion for each token (if one exists) ...
0
votes
0answers
14 views

Exporting data using solr streaming expressions is randomly not working

I am using solr 7.4 version. I am trying to export data using streaming expressions. Following is the simple curl query that i am using. I am indexing my data and testing the following query. curl --...
0
votes
1answer
27 views

Solr facet Filtering

I have these fields in Solr "IsFair": "True", "IsHeight" : "True", "IsFat" : "false", "IsManly" : "False" But while filtering data I want them to display as Fair, Height, Fat, Manly in a single ...
0
votes
0answers
11 views

ApacheSolrForTypo3 cant' get result from query string

I using TYPO3 8.7 and extension tx_solr ver. 8.1 I try to get search result from builded query. For get results my method looks like public function getSolrResults () { /** @var $...
0
votes
0answers
16 views

Include parent URL in pdf data - nutch

I am using nutch1.x for website cawing and indexing in solr(5.5.0). I am trying to include the parent URL along with pdf data . can someone please suggest me some way to do it ? Thanks in advance for ...
0
votes
0answers
16 views

How to return matches against a multivalued field in Solr search results?

We're running Solr 5.5.5 to build a search application for a repository of MS-Office docs and PDFs. Our schema includes a multivalued field that holds the IDs of objects embedded in our documents - ...
0
votes
0answers
17 views

SOLR Synonym Filter after Tokenizer to dig deeper

I have a PatternTokenizerFactory that takes a string such as Query: "2 seater vehicle with 4 wheels" Tokenized: "2 seater", "vehicle", "with", "2 wheels" I now want the synonym filter which has the ...
0
votes
1answer
29 views

Is there a way to get solr to return a pdf with the query matches highlighted?

I'm using solrJ to search pdfs that I have indexed in solr and stored in mongoDB. Everything is indexed properly, and I'm able to get an html response with the query matches highlighted as expected, ...
0
votes
0answers
11 views

NDCG algorithm - how to consider the position of result when computing the score

I was checking the NDCG - gitHub Here we have ranked_items , correct_items ,ignore_items ranked_items , is the ranking of result we got after performing search correct_items , is the ideal ranking ...
0
votes
1answer
24 views

SolrDocumentList to JSON is ignoring numFound property in solrj response

below is my solrDocumentList data {numFound=16,start=0,docs=[SolrDocument{cluster=Horton, source=MUSE}]} But While returning as Json the numFound and start property is getting ignored in response. ...
0
votes
0answers
17 views

Is there a way that i can sync the mongo document updates with Solr using mongo-connector?

I have created a solr core (solr 7.2.0) and by using mongo-connector(using mongo-connector). By using this I am able to sync the data from Mongo to Solr. And also If i create any new record that new ...
0
votes
1answer
22 views

Solr empty highlight entry on match?

Hi i'm new in solr and have a problem with the highlighter. The highlighter returns not for every match a highlight text, it works in most cases but not in all (see example the second entry). Can ...
0
votes
1answer
21 views

How to get columns names (fields) from SOLR using SOLRJ java client?

I am using solrj java client to read data from solr. below is the code snippet. SolrClient Solr = new HttpSolrClient.Builder(solrUrlString+solrCoreName).build(); // Preparing Solr query ...
1
vote
1answer
30 views

Out of memory error on using group faceting

I've an index of 40M documents and machine configuration is 72 cores, 500GB RAM & NVME drives. I am using JSON faceting on multivalued field and it is working fine irrespective of the number of ...
0
votes
0answers
15 views

Is there a command or a config change for reducing the solr core dump file creation

I am seeing a huge solr core dump file is creating on the solr servers due to some activity and was not able to open the file in any dump viewer to see the root cause. Is there any command or config ...
0
votes
0answers
13 views

How to host Solr Banana on Nginx in VM running Ubuntu 16.04

I need to visualise data from a Solr server collection that I have just created on Solr-7.4.0. My company has engineered a dashboard using Solr Banana, for which I have got a tarball of the source ...
0
votes
0answers
14 views

SolrCloud connect with zookeeper exception “This has no Zk stateReader”

I have a great problem with Solrj connecting with 3 nodes of solr in cluster. here my code: client = new CloudSolrClient.Builder().withZkHost("zoo1:2181,zoo2:2181,zoo3:2181").build(); client....
0
votes
1answer
27 views

Deleting Huge Data In Cassandra Cluster

I have Cassandra cluster with three nodes. We have data close to 7 TB from last 4 years. Now because of less space available in the server, we would like to keep data only for last 2 years. But we don'...
0
votes
1answer
33 views

Hybris sort parameter in Solr

A weird problem is occurring.In my project,in lower environments everything seems fine,but in the higher environment(production),a sort parameter is getting appended to the Solr query when I search ...
0
votes
1answer
30 views

Solr and Timecode information

did anybody know, how we can keep timecode information (PAL) as it is in DB to pub solr. IN DB TC is in this format: 1997-05-24T16:27:47.800 PAL but when we deploy it to solr, solr interpret it in ...
0
votes
0answers
15 views

Apache Solr Parent query must not match any docs besides parent filter

I'm experiencing an issue with apache solr parent query when trying to get parent document with all his child documents. I have indexed 147 parent documents, with 3090 child documents in solr search ...
0
votes
0answers
10 views

Collection is not getting uploaded to zookeeper from Solr

I am trying to upload a collection to Zookeeper using the zkClient command but it's not uploading and giving the org.apache.solr.common.SolrException: java.net.UnknownHostException. The main issue is ...
0
votes
1answer
18 views

What is maximum weightage allowed in solr search?

I there any limit for weightage that we can allow in SOLR search query.
0
votes
1answer
24 views

Sitecore 9 Indexing : Solr Pattern Tokenizer not Working

I'm new with this combination sitecore and solr stuff.. I've a little issue with the pattern tokenizer which is not working.. I'm following this documentation Solr : https://lucene.apache.org/...
0
votes
0answers
12 views

Setting Spellcheck for solr only for zero result

I am looking for setting up spellcheck for solr correctly. For performance reason (and avoiding confusion) I don't want to give any suggestion for any query which returns at least one result. Solr ...
0
votes
1answer
17 views

How to create new core on Apache Solr Certified by Bitnami?

I'm super duper new to Solr, it's my first time and just deployed Apache Solr Certified by Bitnami on Google Cloud Platform this morning. According to the documentation from Bitnami, Get Started ...
0
votes
0answers
16 views

SolrCloud Zookeeper bootstrap option | Solr 7

I am managing a solrcloud running with 4 solr nodes and 5 zookeeper instances. Solr version is 4.4. We are planning for an upgrade to the latest version of 7. Solr node1 is started with ...
0
votes
1answer
14 views

FullText in SOLR based on substring of specific field

I am using Apache Solr in a project I am working on. I have all the setup done and I am also able to perform SOLR queries. However - I am puzzled by one behavior of SOLR - and even after searching on ...
2
votes
0answers
28 views

how to use spellcheck in solarium

I want to use spellcheck in solarium but I'm having trouble working with it I've got the following code from solarium's documentation <?php require(__DIR__.'/init.php'); htmlHeader(); // create ...
1
vote
0answers
38 views

Solr performance: 6.6.0 vs 7.2.1

I'm running loadtests on two SolrCloud clusters. Clusters are identical except that one has Solr 6.6.0 with fixed schema, and the other has Solr 7.2.1 with managed schema. Java and garbage collector ...
0
votes
1answer
17 views

Show all the results in solr textual query

I have the following simple query in solr in which I want to solr all the records based on their name similarity to a text ("Olive Tasting Room"): query: name:"Olive Tasting Room" But when I search ...
0
votes
0answers
13 views

Solr cloud page is not responding and creating a huge dump file

Intermittently we are seeing the solr api url is not getting responded and at the same time the disk space is filled up with a core dump file of nearly 30gb Unfortunately we are not able to open the ...
0
votes
1answer
10 views

Uppercase and lowercase mapping of GUID in Glass.Mapper

what determines on how GUID are mapped from sitecore using Glass.Mapper: uppercase vs lowercase? Now I see it's lowercase but I can bet I had in the past uppercase.
0
votes
0answers
22 views

Fuzzy Search in eDisMax's “qf” parameter (Solr 6.6+)

I need to specify qf = field1~0.7 in eDisMax parser in recent Solr versions (6.6 or 7.4). I am trying to apply this patch addressing the issue posted here on lucene-solr but it seems it is ...
0
votes
1answer
29 views

Solr search by text

I have a problem searching a document in Solr by a query. The document looks like this: { "id": "890_03366_00739", "text": ["2509412 MARCO GLLMRC86E28L736X 03366 00739 "], "_version_": ...
0
votes
1answer
31 views

How to exclude specific data from SOLR result?

I am debutante in SOLR and I have following indexed data in solr: Code Status 8fdd04e7 temporary 8fdd04e7 temporary 8fdd04e7 temporary 8fdd04e7 success 32c313e8 temporary f663e6bc ...
1
vote
2answers
28 views

Grammatical tenses Stemming in SOLR

I want to know which stemming filter factory can be used to fetch all the possible tenses of a stem word. Example : If "run" is the search word -> it has to fetch results for all files involving ...
1
vote
2answers
24 views

Prevent ElasticSearch to Crash at Large Number of Concurrent Request

I am using ElasticSearch6.2.1. I am using single node cluster. It is working fine with my small size indices and medium traffic. But when I test for large number of concurrent request to handle using ...
0
votes
1answer
20 views

Solr, bulk delete by multiple id

Workflow: remote source -> import to mysql -> select all outdated records in mysql -> send request to SOLR with all outdated records ids -> solr delete by multiple ids > push ...
0
votes
0answers
15 views

pysolr.SolrError: Solr responded with an error (HTTP 400): [Reason: undefined field django_ct]

I am trying to implement solr in django using haystack but facing an error Please Help search_indexes.py: import datetime from haystack import indexes from search.models import Note class ...
0
votes
0answers
9 views

Solr - issue with knn classifier. It does not classify

I created one core with simple stuff, and it worked there. Then I created a new core with some real data, and it does not work there. How can I debug this out?
0
votes
1answer
19 views

solr function query by example

Can someone explain with example that how Solr function query is used. I could not find any concrete example which shows the result difference with function queries and without function queries. I ...
0
votes
1answer
11 views

using CollectionAdminRequest.Create from SolrJ to create a collection

How can I use CollectionAdminRequest.Create in SolrJ to create a new collection in SolrCloud running with zookeeper. I tried public void createIndex(String targetUuid) { ...
0
votes
0answers
24 views

SolrCloud: Underlying file changed by external force?

Having trouble with an issue I am unable to reproduce in solrcloud. Seems to happen at random. Underlying file changed by an external force at 2018-09-18T14:55:22Z, (lock=NativeFSLock(path=/path/to/...
0
votes
1answer
20 views

Internal Search optimization for relevance

My team is using Solr and I have a question regarding it. There are some search terms which doesn't gives relevant results or results which should have been displayed. For example: Searching for ...
0
votes
0answers
17 views

Solr delete by id command using HttpWebRequest returns 400 Bad Request

Here I am facing very strange issue for Solr delete command (url) Command : http://12.345.678.910:8983/solr/mycore/update?commit=true&stream.body=<delete><id>434908</id></...
0
votes
1answer
32 views

Disable logs for solr healthchecks

I'm currently running a distributed solr cloud with Kubernetes. I have configured a liveness probe with kubernetes which always restarts the solr pod if the liveness probe fails. solr healthckeck -...
1
vote
1answer
30 views

How to get a multi-word synonym as a single entity in solr?

I have a set of terms that I want to map to a specific phrase at query time. For that I am using solr.SynonymFilterFactory. Here is a snippet from schema.xml <fieldType name="text_lc" class="solr....
-2
votes
0answers
16 views

Solr - Using Field in Query occures Error undefined field

I am running Solr 7.4 with an index, which i have upgraded from version 3.x to 6.6. If i query the index with *:* i get the result with all indexed documents, if i want to start a query with a ...
0
votes
0answers
22 views

solr facet query sum on distinct values

I have data as following in solr id,subid,value 1,101,1000 1,101,1000 1,102,1050 1,103,1060 2,110,100 2,110,100 2,113,130 now i want query solr such as SELECT id, sum(value) FROM (SELECT distinct ...