Questions tagged [solr-schema]
77 questions
0
votes
2 answers
give importance to documents which contains the word proximity + solr + sunspot
I am working on rails application and which is based on Apache Solr search engine and we are using Sunspot gem. But I am facing one problem, If I search query house rent then its giving me thousands of results by using and query. But the results…

Deepti Kakade
- 3,053
- 3
- 19
- 30
0
votes
2 answers
Can not search in the field which I defined in schema.xml like copyField
I've added to the schema.xml the multivalued field in the following way:
And added two fields to it:

blond1995
- 27
- 4
0
votes
1 answer
What is causing the 'SolrException: Schema Parsing Failed: unknown field' error?
I am attempting to configure a SOLR 4.7.1 single instance, single core setup and on startup SOLR throws an error:
Schema Parsing Failed: unknown field 'INVENTORY_ITEM_ID'.
Schema file is /var/solr/cores/intota-inventory/schema.xml
I believe SOLR…

MrSuaveh
- 144
- 2
- 13
0
votes
2 answers
Solr BlockJoin Indexing for Solr 4.10.1
I am trying to index a nested structure as below and having difficulty indexing both with SOlrJ and the DIH. I have battled with this for a while and would really appreciate some help on this.
How do i fix this with either SolrJ or DIH.…

deVIAntCoDE
- 64
- 9
0
votes
0 answers
Solr schema.xml query analyser
My task is to provide a match when the search term contains the indexed field.
For example:
If textExactMatch= foo bar and query= foo, I should not get a MATCH
If textExactMatch= foo bar and query= foo bar, I should get a MATCH
If textExactMatch=…

user2989124
- 183
- 2
- 12
0
votes
2 answers
Convert words based solr search to edge n gram
My Solr gives result based on word but it does not display a result when a character is input.
Example: It gives result for "This" as "This is a book", but no result for "Th".
Can someone help me with my configurations to have edge n gram…

Mayank_Thapliyal
- 351
- 2
- 7
- 16
0
votes
1 answer
Unable to compile custom solr filter classes using javac
I am trying to build a jar for my custom filter in Solr 4.6. I am getting below error on running compile:
CustomFilter.java:19: error: package org.apache.lucene.analysis does not exist
import org.apache.lucene.analysis.TokenFilter;
…

Milee
- 1,191
- 1
- 11
- 29
0
votes
1 answer
Solr. Modifying one of the field's type in schema.xml
Suppose, I have Solr document with several fields. Now, for some specific reason I have to modify one of the field's type. I know that, after modifying the "type" of that field, I won't be able to query with that field. Shall I be able to query by…

buddy86
- 1,434
- 12
- 20
0
votes
2 answers
why in solr 1.4 passing a letter to a 'int' field results in exception?
I'm running lucene solr 1.4 on top of tomcat.
I have a field id defined with type int which is mapped to solr.TrieIntField.
When I do a solr query like ?q=id:a I get a NumberFormatException.
Is it possible to configure solr in such a way that it…

Anton Soradoi
- 1,841
- 1
- 22
- 36
0
votes
1 answer
Indexing and search by dynamic fields and values in solr
I need help indexing this data in solr.
Assume that i have this kind of a students database. I want to index this data in solr and want to be able to search by tested subjects and their percentile. The subjects that the student has taken might…

Sarthak Dudhara
- 169
- 17
0
votes
1 answer
Solr Spell checker Filter query
I was trying to build spell checker on the top of solr.
The basic information looks good enough http://wiki.apache.org/solr/SpellCheckComponent#Introduction
Can I somehow limit the scope of spell checker to a specific query.
For e.g I want the spell…

Global Warrior
- 5,050
- 9
- 45
- 75
0
votes
1 answer
Searching for Solr Stop words
On of my solr fields is configured in the following manned,

Cool Techie
- 756
- 2
- 18
- 39
0
votes
1 answer
how to search multiple value against multiple field in solr?
How to search multiple value against multiple field in solr ?
My scenario :
Currently in schema.xml, i am using and

Kaven
- 312
- 1
- 4
- 12
0
votes
1 answer
Get Solr Schema in json
I was wondering if it's possible to get the full schema or just the fields the schema defines in json format? Obviously I could scrape the page the schema is on
/solr/#/collection1/schema
Do a transformation and create my own json but if solr has…

S Philp
- 452
- 3
- 14
0
votes
1 answer
SOLR refuses to bring exact matches, How?
I have the following field type (notice no filters, no tokenizers)
I create a field in my schema using that type:
now,…

Itay Moav -Malimovka
- 52,579
- 61
- 190
- 278