Re: Searching solr with a two word query

2010-09-21 Thread noel
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

Re: Searching solr with a two word query

2010-09-21 Thread noel
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'

Re: Searching solr with a two word query

2010-09-20 Thread noel
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

Re: Searching solr with a two word query

2010-09-20 Thread noel
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

Re: Searching solr with a two word query

2010-09-20 Thread noel
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

Searching solr with a two word query

2010-09-17 Thread noel
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

Re: Sorting not working on a string field

2010-09-13 Thread noel
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.

Sorting not working on a string field

2010-09-10 Thread noel
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

Re: Help with highlighting

2010-06-23 Thread noel
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

Re: Help with highlighting

2010-06-23 Thread noel
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

Help with highlighting

2010-06-22 Thread noel
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:

Highlighting a field with a certain value

2010-05-24 Thread 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"?

Questions about Solr

2010-04-09 Thread noel
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