Questions tagged [solr-query-syntax]

175 questions
0
votes
1 answer

Cqlsh query for wildcard characters

I want a query to perform following operation List employees name either start or end with A but i seen on some sites that cassandra do not support wildcard characters is it true or not i also refered solr_query but cqlsh gives error undefined name…
Mohit Shaha
  • 11
  • 1
  • 3
0
votes
0 answers

How to get relevant search results in Solr in particular order of columns.

I want to group my Solr4.7.2 results in to particular relevant order such that I have 3 columns namely Title, Summary and Content on which I am doing my solr search. Currently I am using Simple Query Parser by executing this…
0
votes
1 answer

How can I query for documents with a given undefined field in Solr?

I cannot get how to query my index for all the documents not having the optional field named "adm4". Any suggestion?
Max
  • 2,508
  • 3
  • 26
  • 44
0
votes
1 answer

Unable to understand solr query bf filed

I am very much new to solr and working to boost the sore of documents but not able to understand the behavior of bf What does it mean bf= x^y How it works? how the score if going to affect in different values of x and y in above query? Is there any…
Rakesh K
  • 692
  • 4
  • 13
  • 26
0
votes
1 answer

Solr query join that returns common values

Is it possible to retrieve the common values that were used in a Solr join? For example, say I have two cores: 1) hospital, fields: id, doctor_id (multiValued), patient_id (multiValued) 2) dental_office, fields: id, dentist_id (multiValued)…
Sam
  • 1
  • 1
0
votes
1 answer

solr index field with preserving white spaces and searching it gives no result

i am using solr with django.In my schema i have a field
Roan
  • 89
  • 8
0
votes
1 answer

Select Solr Indexes and update them by Query

I simple want to select numerous indexes and update their int values by Query for example, to delete an index we use a query below. http://localhost:8983/solr/update?stream.body= id:298253&commit=true like above, I…
user3810857
  • 311
  • 1
  • 2
  • 5
0
votes
1 answer

Prioritize results sandwiched in tags

I have documents indexed like { "content":"Lots of text and some html", "file_type": "application/pdf", "id": "path_to_file", "comp": "irrelevant fields", "_version_": 1506272321148522231 } I want Solr to prioritize the results that contain the…
user199354
  • 505
  • 1
  • 5
  • 17
0
votes
0 answers

In solr, is there any limit of size to index data for text_general field type

I have a log file about 300mb and i want to index that data on solr.But, my data field seems empty in some of documents.I suppose this problem arise because of Text_general 's size limit.Is there any limit on text_general.If there is , how much is…
Mehmet.
  • 1
  • 1
0
votes
2 answers

How to query in solr without key

I am a beginner in solr i found that the query http://localhost:8983/solr/collection1/select?q=book%0A&wt=json&indent=true works fine with the default collection which came along with the solr package i tried my self to create a new collection and…
Aswin Raghavan
  • 321
  • 2
  • 14
0
votes
2 answers

Solr: select documents, which contain sprecific term multiple times

I want to get only those documents which, for example, have term frequency >= N for word 'test_word' in field 'test_field'.
Alex
  • 1
0
votes
2 answers

Query Solr accented and unaccented

I'm working on configuring my core solr that save brazilian portuguese data. About accents, I need to query something like: search | return computação | computacao computacao | computação What I need basicly is, with or without accent in a…
0
votes
0 answers

Solr search ignoring forward slash

I have solr schema with field categoryName as stringwhich has hierarchical data as follows Fruits & Vegetables/Fruits Fruits & Vegetables/Vegetables categoryName field has following fieldType
Srinivas
  • 553
  • 9
  • 21
0
votes
0 answers

Combining two Solr MLT query

Just wondering if it's possible to combine to separate MLT queries (based on filtering condition) into a single one. I'm trying to combine the results of this two…
Shamik
  • 1,671
  • 11
  • 36
  • 64
0
votes
2 answers

MySQL 'BETWEEN' query analogue for Solr

I need to make a search request to Apache Solr similar to MySQL BETWEEN query. In Solr document I have two fields: "postcode_from" and "postcode_to". This is a range of postal codes for some country region or city. Only integer numbers!!! I have a…