Questions tagged [solr-search]
34 questions
                    
                    5
                    
            votes
                
                3 answers
            
        Getting "Parent filter should not be sent when the schema is nested" when using parent filter in fl in solr 8
I am trying to fetch the parent document with child documents. But getting "Parent filter should not be sent when the schema is nested" error.
Attached the query in below that I have tried but I can't get the solution
q : {!parent…
        
        Sangeetha
        
- 51
 - 4
 
                    4
                    
            votes
                
                1 answer
            
        How do I represent a Child Document in my Solr schema.xml?
I'm trying to achieve a document hierarchy like so, where the parent is the 'Bundle' and the children are 'Products':
Bundle:
   id
   imageUrl
   Products:
         [
          id:2
          type:"t-shirt"
          sizes:[S,M,L]
         …
        
        P_equals_NP_2021
        
- 627
 - 1
 - 9
 - 27
 
                    3
                    
            votes
                
                1 answer
            
        Update managed-schema file in solr in multiple cores at once
I am working on Solr. I have multiple cores with same fields and types(same schema).Every core has its own schema(managed-schema) file in Solr .I want to add new field to the schema for all cores.
I am doing it via admin panel for each core…
        
        siva sandeep
        
- 557
 - 1
 - 5
 - 17
 
                    2
                    
            votes
                
                1 answer
            
        Facet for Empty or null values for any field in Solr
I am using Facet in my solr implemententation. Facets are display for all the keywords of fields having concrete values. 
Facets are not displayed for the empty values. I want to show a facets for empty values as well. 
For example, in below example…
        
        Abhay
        
- 51
 - 4
 
                    1
                    
            vote
                
                1 answer
            
        Drupal 7.43 and Solr 5.5 Search API - Can’t Add Fields to Index
I am not an expert in drupal or solr, it’s a production legacy product that we are trying to upkeep, and we are having an issue that for the life of me I can’t figure out and I need some help.
We are using the Apache Solr Search API module and have…
        
        creativityoverflow
        
- 491
 - 3
 - 10
 
                    1
                    
            vote
                
                0 answers
            
        Solr configured with SSL but not working - showing Not secured
Hi StackOverflow family.
I am stuck with an issue from months ago. I have a domain with SSL configured which is working perfectly and everything is showing secured. After that, I installed apache solr on the same. (I am using ubuntu with java 8…
        
        PHP Geek
        
- 3,949
 - 1
 - 16
 - 32
 
                    1
                    
            vote
                
                1 answer
            
        Solr Fuzzy Search With Spaces
I would like to use the Fuzzy Search Feature of Solr. In my dataset, I have one record that looks like this:
{
  "lastName": "John Doe"
}
I would like to perform multiple fuzzy searcheas with the following strings:
John D
John Do
John Doe
John…
        
        Mirco Widmer
        
- 2,139
 - 1
 - 20
 - 44
 
                    1
                    
            vote
                
                1 answer
            
        SOLR: how to exclude fields globally?
Im using apache Solr for my site search. and the website has large number of pages and each page has a field called 'searchEnabled'. This is a boolean field contains values true or false. I want to exclude the disabled pages from all the search…
        
        Shamran Siddique
        
- 89
 - 1
 - 8
 
                    1
                    
            vote
                
                1 answer
            
        Solr Results According to field priority
I am using Solr version 7.3.0. The documents in it having fields like title, description, content , date. The search criteria would be like, first priority is for title field then description field and at the last content field. After that I am…
        
        Aniket Patil
        
- 11
 - 3
 
                    1
                    
            vote
                
                0 answers
            
        Term position of a query terms in solr results
I am trying to find the position of query terms in result documents.
For that I am using '/tvrh' RequestHandler with tv.positions=true.
However I am receiving positions for all the terms in a doc, but I only need the position of query terms.
I am…
        
        atinjanki
        
- 483
 - 3
 - 13
 
                    1
                    
            vote
                
                0 answers
            
        Use autocomplete to search entire name in apache solr using search_api module in drupal 7
I have firstname and lastname indexed in apache solr. My requirement is to get the fullname i.e. in the form 'firstname lastname' in autocomplete when a user enters firstname. For this I have indexed another field called fullname which combines…
        
        yedhukrishnan pillai
        
- 11
 - 3
 
                    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
            
        How to retrieve the matching fuzzy term and its offset in solr and the payload?
Part of the managed-schema.xml
 
        
            
            
                
                    
    
    
        
    
    
                
            
        
     
        marinko
        
- 55
 - 1
 - 6
 
                    0
                    
            votes
                
                1 answer
            
        How to integrate Solr search block in header of layout?
Typo3 project. I installed the Solr Search extension. In the backend, it is possible to add a search block as a content element. But I need to insert a search block in the layout header. How can this be done?
I've tried inserting a form in the…
        
        Dmitriy
        
- 7
 - 3
 
                    0
                    
            votes
                
                0 answers
            
        Solr search not giving proper result when search for special character
I am trying to search field which has "\r\n" both together in the field.
I tried this query but it did not work:
fq
Field:"*\r\n*"
But this gives result along with field has "\" only. I just want result for which field contains whole "\r\n".
        
        Dhwani
        
- 7,484
 - 17
 - 78
 - 139