Questions tagged [solr-schema]

77 questions
13
votes
2 answers

SolrException Plugin init failure for [schema.xml] fieldType "pint": Error loading class 'solr.IntField'

I am getting this error collection1: org.apache.solr.common.SolrException:org.apache.solr.common.SolrException: Could not load conf for core collection1: Plugin init failure for [schema.xml] fieldType "pint": Error loading class…
Jackson Harry
  • 308
  • 1
  • 2
  • 15
12
votes
3 answers

Solr Composite Unique key from existing fields in schema

I have an index named LocationIndex in solr with fields as follows:
N D Thokare
  • 1,703
  • 6
  • 35
  • 57
11
votes
1 answer

Is there way to boost original term more while using Solr synonyms?

For example I have synonyms laptop,netbook,notebook in index_synonyms.txt When user search for netbook I want to boost original text more then expanded by synonyms? Is there way to specify this in SynonymFilterFactory? For example use original term…
yura
  • 14,489
  • 21
  • 77
  • 126
6
votes
1 answer

Dynamically field selection for Solr Suggestion (Spellcheck) multiple term query

I am using the solr suggestion component with the following configuration: schema.xml
sandrozbinden
  • 1,577
  • 1
  • 17
  • 28
5
votes
1 answer

How to set multiple fields as uniqueKey in solr?

I have these fields in my solr schema :
Abdelali AHBIB
  • 602
  • 1
  • 7
  • 18
5
votes
2 answers

Solr - case-insensitive search do not work

I want to apply case-insensitive search for field myfield in solr. I googled a bit for that , and i found that , i need to apply LowerCaseFilterFactory to Field Type and field should be of solr.TextFeild. I applied that in my schema.xml and…
meghana
  • 907
  • 1
  • 20
  • 45
4
votes
2 answers

What do I need to do to make a field in SOLR sortable?

I have a field called "title" Here is the file definition:
Itay Moav -Malimovka
  • 52,579
  • 61
  • 190
  • 278
3
votes
1 answer

Solr Shingle Is Not Visible In Debug Query

I am trying to use Solr to find exact matches on categories in a user search (e.g. "skinny jeans" in "blue skinny jeans"). I am using the following type definition:
mils
  • 1,878
  • 2
  • 21
  • 42
3
votes
1 answer

Can we use WhitespaceTokenizerFactory & StandardToken together to accept only few specific symbols?

In my scenario i need to use WhitespaceTokenizerFactory & StandardTokenizerFactory together. Is there any way to use both of them together?? My scenario looks like this : 1. I used WhitespaceTokenizerFactory to search for words like C# or C++. 2.…
Sravanthi
  • 31
  • 4
2
votes
1 answer

How to add solr core in windows?

Downloaded (Apache solr 8.8.1) [https://archive.apache.org/dist/lucene/solr/8.1.1/] In path \solr-8.8.1\bin Opened command prompt, and executed following command solr start command prompt screen after starting solr core Accessed…
2
votes
0 answers

Auto Suggest / Auto complete not working - Solr

I am using SOLR autocomplete feature. But it's not working for "oral" keyword. Below are field details from schema -
Sunny
  • 21
  • 4
2
votes
0 answers

Schema vs Index vs Properties in solr schema screen

what does it mean if something has tick mark for "Indexed" in "Schema" but not for "Indexed" in "Index"?
raj247
  • 381
  • 1
  • 4
  • 21
2
votes
1 answer

How to use acronyms in Apache Solr?

I use text_general field of Solr's provided configuration for storing content of web-pages as follows:
S Jayesh
  • 191
  • 1
  • 4
  • 19
2
votes
1 answer

Solr query not working properly

I don't know what is going wrong. This is actually a very simple query which is not working in my Solr Search. http://IP_ADDRESS/solr/CORE_NAME/select?indent=on&q=Bangalore&wt=json There are more than 100 records which contains the word Bangalore…
Kabhi
  • 135
  • 1
  • 12
2
votes
1 answer

Solr Retrieve values of not stored field

How can I get field "to" values which is specified as not stored in solr schema. This field have a copyField "text ". Facet causes memory out of bound, Is there any way to see the values without the use of facet query?
sathish
  • 65
  • 8
1
2 3 4 5 6