Questions tagged [solr-schema]

77 questions
0
votes
1 answer

Is there ever a reason for copying fields in to a facet field in the index?

I'm looking at a very old solr instance (4-6 years since last touched), and I am seeing these extra dynamic fields, 'f_' and 'fs_' for multi and single valued facet fields. My understanding, though, is that facets only happen in query-time. Also,…
0
votes
1 answer

Solr full text search for dynamically added data?

I'm trying index the data without defining schema.xml, is the any way to apply full text search without adding schema.xml or updating the manged shema?
raj
  • 41
  • 9
0
votes
1 answer

Solr Cloud: How to disable document (pdf, office) metadata as fields

I am new to Solr and using Solr 7.3.1 in solr cloud mode and trying to index pdf, office documents in solr, using contentextraction in solr. I created a collection with bin\solr create -c tsindex -s 2 -rf 2 in SolrJ my code looks like public static…
0
votes
1 answer

Exporting index from Solr to a file, with fields illegal for FieldCache

I'm trying to export Solr index to a JSON file. However, among the 2 fields I care about, one of them (field A) is multivalued, another (field B) neither indexed nor has doc values (this field is probably missing schema). Both cause error that says…
Ivan
  • 51
  • 1
  • 9
0
votes
0 answers

Solr 6 synonym relevancy score

I have been experimenting with synonyms in solr 6. The stuff I have read before starting pointed out some differences in query time and index time synonyms. The main difference is IDF values while incorporating synonyms at index time and query time.…
K.Ali
  • 41
  • 4
0
votes
1 answer

Using docValues with dynamic field solr

I am having a solr Field as - Issue is this field takes too much time while fetching data using solrJ. I thought of making this field as -…
0
votes
1 answer

Using an unique identifier in Solr indexed field name

I have the following structure in my documents: doc: 1 { "123e4567-e89b-12d3-a456-426655440000": { "order_id": "100", "qty": 27 }, "321e7654-e89b-21d3-a654-426655441111": { "order_id": "234", "qty": 12 } } doc: 2 { …
boxx
  • 1,111
  • 2
  • 9
  • 15
0
votes
1 answer

How to define common field types in Solr for all cores?

Lets assume that I have a Solr instance with a few cores that use different languages. For example, I have five different cores: two of them use English, two of them use German, and one uses French. At present each core has its own field types…
0
votes
2 answers

Solr 6.4.2, filter documents with startswith string

How can I filter documents by field which starts with some string? Now I'm getting all documents where field contains words which are starts with this string. Best result will be, if some one answer how get exact start with results first, and then…
wowbrowser search
  • 345
  • 1
  • 3
  • 11
0
votes
1 answer

Solr 6.1: UpdateRequestProcessor to Append to Field Name Based on Field Name

The goal is to have all my field names match the following schema of fields:
rotsner
  • 642
  • 3
  • 6
  • 23
0
votes
0 answers

Solr Synonyms Issue

I have configured synonyms as per my requirements but is only points for single words. Example: If I search for TV, it showing results related to Television, because TV => Television set in synonyms. But what if someone search shop keeper which is…
0
votes
0 answers

Apache Solr Spelling check does not work with a sentence

Spelling correction work with incorrect words in search box like, "contempory","singar","dancar", etc. for that it gives correct spellings like, "contemporary","singer","dancer", etc. But when I search, "contempory singer" It gives results for…
0
votes
1 answer

SolrException: Document is missing mandatory uniqueKey field: id by Solr using RDF format file

When I was trying to indexing using Solr, I am getting "Document is missing mandatory uniqueKey field: id" exception. I looked at the schema.xml file in the solr folder and found that there is a tag like below,
musreg
  • 33
  • 1
  • 6
0
votes
2 answers

How to configure solr dataimport handler to parse wikipedia xml document?

So this is what I have done so far. I have added a request handler in solrconfig.xml as follows:
Tanny
  • 540
  • 4
  • 29
0
votes
1 answer

Django-Haystack autoquery gives strange results with solr backend

I am using django 1.5 along with haystack 2.1.0. While using auto-query on one of the models I found the following behavior. test_search = "charles ken" SearchQuerySet().models(Foo, FooSome, FooGone).auto_query(test_search) The above query gives…
Akash Deshpande
  • 2,583
  • 10
  • 41
  • 82