Questions tagged [solr-query-syntax]

175 questions
3
votes
2 answers

Faceted Range Query for Solr. Can't parse gap 1,2,3,10 for field

I am trying to query data (using solr) and get castleid granularity. I have a local running instance of Solr 4.10. On a begging I've made simple query like in solr wiki for range faceting: Solr examples for range faceting I tried the following…
Martin
  • 75
  • 6
3
votes
0 answers

solr version 4.1 PostingsSolrHighlighter feature not works

Now am doing analyzing on solr 4.1 version .In which,new Feature "SOLR-4271: Add support for PostingsHighlighter." has been given. From the following link,…
gangatharan
  • 781
  • 1
  • 12
  • 28
2
votes
1 answer

How to use SOLR copyField directive to use for muiple fields

I have a rather simple SOLR structure, that hold three different fields: id, text and tags in the schema.xml I set the following id text
R. BABU
  • 21
  • 1
2
votes
0 answers

Is there a way to read every entry in a Solr database one at a time?

I am trying to update the entries in a Solr database using the pysolr add() and commit() methods. I have a massive database and I need to figure out a way to change every entry one at a time. I know I can just query the whole database and save it as…
2
votes
3 answers

How to find exact keywords in solr search?

Actually I am facing one problem in solr search. There is an author field in which I stored two value like "deep kumar-singh" and "deep kumar singh". When I search the author:"deep kumar-singh" It returns both results. But I want only one result to…
Deepak saini
  • 4,100
  • 2
  • 17
  • 20
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
1 answer

Apache Solr: How to add all the dynamic fileds to the stats.field

I am new to apache solr, I need some help regarding a query. I have created some dynamic fields in solr schema which vary document to document. Now I need to run a query where I can get all the dynamic fields under the stats section to create a…
Vikas Chaudhary
  • 728
  • 1
  • 5
  • 12
2
votes
1 answer

Solr nested documents : Query for child documents filtered by a parent field

I have following parent-child models parent: public class DataSet { @Field private String id; @Field private String type="type_dataset"; @Field private String name; @Field private String dataSourceId; @Field …
Ashika Umanga Umagiliya
  • 8,988
  • 28
  • 102
  • 185
2
votes
0 answers

Filtering Solr child documents by date range

I have a set of Solr documents with children, and each child has a startDate_dt and an endDate_dt, and I want my queries to only return valid children, i.e. children for which the current date is between the start date and the end date. Since I'm…
Raibaz
  • 9,280
  • 10
  • 44
  • 65
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
2 answers

How can I Ignore some fields in a SOLR query

I have Solr 5.3.1 and need to do query for all field except some field (what I need search in some field not retrieve fields this way to retrieve [/?q=query&fl=field1,field2,field3] ) i try with some solution but not work 1.How to exclude fields…
Osama Hashem
  • 90
  • 1
  • 12
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

relevance search in Solr

I am using DSE5.0.2 version and Solr ( integrated with dse) . I have to do relevance search using solr on the below tables/ data . I have a table in cassandra on which we have created a solr core - CREATE TABLE fullsearch ( launchedtime…
2
votes
2 answers

Solr: where x is between y and z

I have a Solr schema where my objects can have these two fields: SerialNumberStart SerialNumberEnd For example: "SerialNumberStart": "0000067098910", "SerialNumberEnd": "0000067098920", When querying, I want to be able to pass in a…
Joris Ooms
  • 11,880
  • 17
  • 67
  • 124
1
2
3
11 12