What you probably want to achieve is displaying only docs in a certain
category (maybe filtered) ordered by descending score in the context of
exactly this category, right?
Well, you could come over this by creating a category specific score
field for every category following the schema
Thanks Chris,
My index creation was wrong ;)(I was using 12 Hour format)
Thanks for your support
-kmu
On Sat, Mar 8, 2008 at 1:35 AM, Chris Hostetter [EMAIL PROTECTED]
wrote:
: I heard Solr Date time format is 24 hours.
that is correct.
: emf.artist:[2007-12-31T22:20:00Z TO
I'm not sure about a way to boost scores in this case, but you can
achieve the basic matching by applying a filter to the index and the
queries. The ISOLatin1Accent Filter seems like it may work for you,
though I'm not entirely certain if that will cover all the accent
characters you need.
We've done this in a pre-Solr Lucene context by using the position increment:
when a token contains accented characters, you add a stripped version of that
token with a zero increment, so that for matching purposes the original and the
stripped version are at the same position. Accents are not
hi :)
I'm trying to work out a schema for our widgets. more than just coming
up with something I'd like something idiomatic in solr terms. any help
is much appreciated. here's a similar problem space to what I'm working
with...
lets say we're talking books. books are written by authors
Peter:
Very interesting. To take care of the issue you mention, could you add
multiple synonyms with progressively less accents?
E.g. you'd index préférence as 4 tokens:
préférence (unchanged)
preférence (stripped one accent)
préference (stripped the other accent)
preference (stripped both
Generally, the accented version will have a higher IDF, so it
will score higher.
wunder
On 3/11/08 8:44 AM, Renaud Waldura [EMAIL PROTECTED]
wrote:
Peter:
Very interesting. To take care of the issue you mention, could you add
multiple synonyms with progressively less accents?
E.g. you'd
Geoff,
I'm not sure if I understood your problem correctly, but it sounds like you
want your search to be restricted to authors, but then you want to list all of
his/her books when displaying results. The easiest thing to do would be to
create an index where each row/Document has the author
Umar,
The notion of subfield does not exist in Solr (or am I living under a rock?).
Thus, field name=cat val 1 field name=catrank score1 /field /field
doesn't really make sense.
Keep those two (cat and catrank) as two distinct fields and I think you'll have
what you are after.
Otis
--
Otis Gospodnetic wrote:
Geoff,
I'm not sure if I understood your problem correctly, but it sounds
like you want your search to be restricted to authors, but then you
want to list all of his/her books when displaying results.
that's about right. add that I may also want to search on
Our Solr use consists of several rather different data types, some of
which have one-to-many relationships with other types. We don't need
to do any searching of quite the kind you describe, but I have an idea
about it, depending on what you need to do with the book data. It is
rather hacky, but
I indexed my docs with field : field
name=order_dt1995-12-31T23:59:59.000Z/field
But when i try to search on that field : order_dt:1995-12-31T23:59:59.000Z ,
I get an exception :
Mar 11, 2008 4:13:55 PM org.apache.solr.core.SolrException log
SEVERE: org.apache.solr.core.SolrException: Invalid
Hello. I was wondering if anyone knew a way to do query level boosting with
SolrJ. On the http client I could just do something like sku:123^2.3 which
would boost the sky query 2.3 points.
--
View this message in context:
http://www.nabble.com/Query-Level-Boosting-tp15995005p15995005.html
Sent
: I pasted a modest blob of text into the analysis debug slot on the admin
: app, and am rewarded with this, even with -Xmx1g.
what was the text? what was the field/fieldtype? what did the
analyzers for that fieldtype look like in your schema.xml?
-Hoss
:
: For example, say I want to sort by the field '162_sortable_s' then I add a
: parameter like so 'sort=162_sortable_s.' I need to change the settings so
: that when the result set is returned from solr, it takes the values of
: '162_sortable_s' and inserts them into a separate field called
: I am looking for a way to access the incrementPositionGap value defined for a
: field type in the schema.xml.
I think you mean positionIncrementGap
It's a property of the fieldtype in schema.xml, but internally it's
passed to SolrAnalyzer.setPositionIncrementGap. if you want to
: I am investigating using solr for a project that requires presentation of
: search results in a KWIC display, sorted according to either the string
: following the matches or the (reverse) of the characters previous to the
: matches. Can this be done with Solr? How would I go about implement
: I indexed my docs with field : field
: name=order_dt1995-12-31T23:59:59.000Z/field
: But when i try to search on that field : order_dt:1995-12-31T23:59:59.000Z ,
: I get an exception :
: Mar 11, 2008 4:13:55 PM org.apache.solr.core.SolrException log
: SEVERE: org.apache.solr.core.SolrException:
Hi Peter,
It looks like a very promising approach for us. I'm going to implement an
custom Tokeniser based on your suggestions and see how it goes. Thank you
all for your comments!
Cheers
On Wed, Mar 12, 2008 at 2:37 AM, Binkley, Peter [EMAIL PROTECTED]
wrote:
We've done this in a pre-Solr
I follow the tutorial on wiki but when I go to
http://server_address/solr/admin
I got tomcat error message:
HTTP 404
Then I go to check in Tomcat manager, I see it is not started, when I attend
to start it, I got this error message.
FAIL - Application at context path /solr could not be started
Additional Infomation:
2008/3/12 上午 11:10:54 org.apache.solr.core.SolrResourceLoader
locateInstanceDir
INFO: Using JNDI solr.home: /var/webapps/solr
2008/3/12 上午 11:10:54 org.apache.solr.servlet.SolrDispatchFilter init
INFO: looking for multicore.xml: /var/webapps/solr/multicore.xml
2008/3/12 上午
Geoff, some comments inlined.
- Original Message
From: Geoffrey Young [EMAIL PROTECTED]
To: solr-user@lucene.apache.org
Sent: Tuesday, March 11, 2008 4:55:15 PM
Subject: Re: schema help
Otis Gospodnetic wrote:
Geoff,
I'm not sure if I understood your problem correctly, but it
Hi all,
after tracing log, I found the tomcat problem with nightly build is the
multicore.xml on nightly build - if the multicore.xml doesn't exist, it
won't run the application like jetty does (run in single core mode if file
doesn't exist)
Q1. I don't know how to set the path...WHERE should I
Chris Hostetter wrote:
1) if you've got full text search, why would you even want KWIC?
Well, KWIC is a way to present the full text search results so that they
can be easily read.
2) your description of how you'd want the results ordered is extrmely
confusing to me ... can you give a
24 matches
Mail list logo