I have some data that contains phrases such as
1) "Decisions Relating to Cardiopulmonary Resuscitation: Model Information
Leaflet. British Medical Association"
2) "to ensure that cardiopulmonary resuscitation (CPR) may safely proceed"
The data will always contain the phrase "cardiopulmonary resu
Ok, thanks for the question as it would seem that I have found the answer.
Changing to a string field type fixes the problem. As we do not search over
the chapterTitle field this is no loss.
Thanks again for pointing me in the right direction
--
View this message in context:
http://www.nabble.
Erik Hatcher wrote:
>
> What field type is chapterTitle? I'm betting it is an analyzed
> field with multiple values (tokens/terms) per document. To
> successfully sort, you'll need to have a single value per document -
> using copyField can help with this to have both a searchable field
I have some data which I am querying with
?q=aseptic technique&fl=id,score,chapterTitle&sort=chapterTitle asc&rows=200
The results are being reordered (at least they are no longer in score order)
but the order makes no sense:
Communication
Drug administration: cytotoxic drugs
Elimination: bowel
I'm using 1.2 and things are fine for the most part except for an occasional
problem.
When returning a highlighted version of the results the output from solr is
truncated. In most cases the whole of the field (called "content") is
returned highlighted correctly. For example with this query in th