Questions tagged [solr-schema]
77 questions
1
vote
1 answer
Data has been deleted automatically when importing JOINed tables from MySQL
I have joined 2 mysql tables by JOIN query and have imported data by DIH in SOLR.
But, Half of records deleted automatically. I come to know about this by reading numDocs , maxDocs & deletedDocs values.
I have checked all fields in tables that I…

Mayur Champaneria
- 239
- 5
- 16
1
vote
1 answer
Solr exception due to schema
I have the following solr schema

ptheofan
- 2,150
- 3
- 23
- 36
1
vote
1 answer
how to search wildcard character like * and ? in solr
For field type, currently using KeywordTokenizerFactory in schema.xml.
Field value is like Good?man. Suppose if i want to search with ? then i need to get the value contains ? i.e(Good?man). For that my query would be like *\?*
But it is responding…

Kaven
- 312
- 1
- 4
- 12
1
vote
1 answer
Solr 3.6.1 - PatternReplaceFilterFactory not working with wildcard search
PatternReplaceFilterFactory not working with wildcard search.
Example:
Search with q=defaultsearch:*ab12cd*, expected to give the result for the…

Kaven
- 312
- 1
- 4
- 12
1
vote
2 answers
How to enforce an exact match to get the highest priority?
I am indexing and searching 5 fields, which are tokenized/filtered in various ways.
BUT, I would like that when I search, if the query I entered matches a value in field 1, it will be the top result I get back.
How would I define:
The field
The…

Itay Moav -Malimovka
- 52,579
- 61
- 190
- 278
0
votes
0 answers
solr search in Django application
There are questions in database. Solr search is giving results, but I want the ranking of the questions based on the text I'm searching. But search giving results based on id's of the questions.
In solr.xml file I have the schema based on that…
0
votes
0 answers
Using Solr, how to configure a fieldType analyzer to see a numeric character then space then alpha characters together as a separate token?
I have created a field 'allsearchstr' that is copied from approximately 200 other fields. I would like the end user to be able to query that field with something like '2 ohm resistors' that would return all docs having a resistance of 2 ohms.
Sample…

pbonish
- 1
- 1
0
votes
0 answers
Solr Service is Running But Connection refused by Solr 8.7.0 on Ubuntu 20.04
Note: I already checked similar questions & tried their solutions but could not resolve this issue.
I have installed Solr 8.7.0 on Ubuntu 20.04 & have created some blank cores for testing.
I was able to access Admin UI at…

MyO
- 413
- 1
- 8
- 19
0
votes
0 answers
Reload managed synonyms in Solr
I am using Solr 8.6.1, started in solrcloud mode.
The field type is
{
"add-field-type" : {
"name":"articleTitle",
"positionIncrementGap":100,
"multiValued":false,
…

user13674325
- 339
- 2
- 14
0
votes
1 answer
Add search component using SolrJ
When I execute the code
SolrJsonRequest rq = new SolrJsonRequest(SolrRequest.METHOD.POST, "/config");
String searchComponent = "{\n" +
"\"add-searchcomponent\":{\n" +
" \"name\":\"suggest\",\n" +
" …

user13674325
- 339
- 2
- 14
0
votes
1 answer
Solr Question about Loading Changes to Schema
I'm new to Solr and received the following error when adding a document through pysolr:
pysolr.SolrError: Solr responded with an error (HTTP 400): [Reason: ERROR: [doc=bc4aa768-6f35-4888-80e0-1578d9971b3c] Error adding field…

user3684314
- 707
- 11
- 31
0
votes
2 answers
Add field to Solr when running in Docker?
I'm running Solr in Docker. I need to add some custom fields into schema.
That would usually be done by the command similar to this one:
curl -X POST -H 'Content-type:application/json' --data-binary '{
"add-field":{
"name":"shelf",
…

kodlan
- 561
- 8
- 23
0
votes
0 answers
Using Synonym Graph Filter suppresses default search behaviour in Solr
I am using solr 8.3.
After I included Synonym Graph Filter in my managed-schema file, I have noticed that if the query string contains a multi-word synonym, it considers that multi-word synonym as a single term and does not break it,further…

atinjanki
- 483
- 3
- 13
0
votes
0 answers
Synonym Graph Filter with synonyms file in Wordnet format not working
I am using Solr 8.3 and trying to pass a synonym file in wordnet format, such as-
s(300880586,1,'augmented',s,1,0).
s(300880765,1,'enhanced',s,1,0).
s(300881030,1,'hyperbolic',s,1,2).
s(300881030,2,'inflated',s,1,1).
In the managed-schema file, I…

atinjanki
- 483
- 3
- 13
0
votes
1 answer
Solr search results changes when query terms are jumbled up
I have indexed a file with fields -
Content (type :text_general, uninvertible :false, indexed :true, stored :true)
Category (type :text_general, uninvertible :false, indexed :true, stored :true)
Title (type :text_general, uninvertible :false,…

atinjanki
- 483
- 3
- 13