Hi, I need help with highlighting fields that would match a query. So far, my
results only highlight if the field is from all_text, and I would like it to
use other fields. It simply isn't the case if I just turn highlighting on. Any
ideas why it only applies to all_text? Here is my schema:
Here's my request:
q=ASA+AND+minisite_id%3A36&version=1.3&json.nl=map&rows=10&start=0&wt=json&hl=true&hl.fl=%2A&hl.simple.pre=%3Cspan+class%3D%22hl%22%3E&hl.simple.post=%3C%2Fspan%3E&hl.fragsize=0&hl.mergeContiguous=false
And here's what happened:
It didn't return results, even when I applied an a
Thanks, that's exactly the problem. I've tried different types, even a
fieldType that had no tokenizers and that didn't work. However, text just gives
me my results as wanted.
-Original Message-
From: "dan sutton"
Sent: Wednesday, June 23, 2010 12:06pm
To: solr-user@lucene.apache.org
S
Hello, I seem to be having a problem with sorting. I have a string field
(time_code) that I want to order by. When the results come up, it displays the
results differently from relevance which I would assume, but the results aren't
ordered. The data in time_code came from a numeric decimal with
You're right, it would be better to just give it a sortable numerical value.
For now I gave time_code a sdouble type and see if it sorted, and it did.
However all the 0's are trimmed, but that shouldn't be a problem unless it were
to truncate any values past the hundreds column.
For some reason, when I run a query that has only two words in it, I get back
repeating results of the last word. If I were to search for something like
"good tonight", I'll get results like:
good tonight
tonight good
tonight
tonight
tonight
tonight
tonight
tonight
Basically, the first word if
Here is my raw query:
q=opening+excellent+AND+presentation_id%3A294+AND+type%3Ablob&version=1.3&json.nl=map&rows=10&start=0&wt=xml&hl=true&hl.fl=text&hl.simple.pre=&hl.simple.post=<%2Fspan>&hl.fragsize=0&hl.mergeContiguous=false&debugQuery=on
and here is what I get on the debugQuery:
−
openi
uld use another query parser?
Thanks.
- Noel
-Original Message-
From: "Erick Erickson"
Sent: Monday, September 20, 2010 10:05am
To: solr-user@lucene.apache.org
Subject: Re: Searching solr with a two word query
Here's an excellent description of the Lucene query operators a
gt; my query, but Im would like similar matches with either word as a single
> result. Is there another value I can use? Or maybe I should use another
> query parser?
>
> Thanks.
> - Noel
>
> -Original Message-
> From: "Erick Erickson"
> Sent: Monday, Septem
is give me results that have both words, or one or the
other.
Thanks,
- Noel
-Original Message-
From: "Tom Hill"
Sent: Monday, September 20, 2010 6:39pm
To: solr-user@lucene.apache.org
Subject: Re: Searching solr with a two word query
It will probably be clearer if you don'
lts that have both words, or one or the
> other.
>
> Thanks,
> - Noel
>
> -Original Message-
> From: "Tom Hill"
> Sent: Monday, September 20, 2010 6:39pm
> To: solr-user@lucene.apache.org
> Subject: Re: Searching solr with a two word query
>
> It wi
like "To be or not to be" with stop words
enabled?
- I use synonyms for certain keywords. However, when I search for a specific
phrase which does contain synonyms, results with the synonyms rank higher than
the ones that have the exact term. How can that be fixed?
Thanks,
Noel
Hello,
How am I able to highlight a field that contains a specific value? If I have a
field called type, how am I able to highlight the rows whose values contain
something like "title"?
13 matches
Mail list logo