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 "cat-X
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 2007-
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.
M
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 s
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 bo
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?
>
>
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, val 1 http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
From: Umar Shah <[EMAIL PROTECTED]>
To: solr-user@lucene.apache.org
Sent: Saturday, March 8, 2008 7:03:32 AM
Subject: Re: ra
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 librari
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 : 1995-12-31T23:59:59.000Z
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 Date
String:'1995-12-31T23'
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 f
: 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 'Sort
: 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 in schema.xml, but internally it's
passed to SolrAnalyzer.setPositionIncrementGap. if you want to
programaticly know
: 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 t
: I indexed my docs with field : 1995-12-31T23:59:59.000Z
: 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 Date
: String:'1995-
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
: 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!
you don't really need a custom tokenizer -- just a buffered TokenFilter
that clones the original token if it contains
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 simp
This turned out to be a side-effect of the since-fixed use of GET in
analysis.jsp, coupled with a mistake in one of my filters.
On Tue, Mar 11, 2008 at 8:31 PM, Chris Hostetter <[EMAIL PROTECTED]>
wrote:
>
> : I pasted a modest blob of text into the analysis debug slot on the admin
> : app, and a
Hi all,
after several hour I make the solr works a little bit: the jetty version
works, but the tomcat version doesn't.
Enviroment: JRE 1.6, tomcat 5.5, ubuntu 7.10. Solr nightly (8 Mar 08)
Look like the multicore.xml cause the problem...the Solr die at the time of
Config?
In the localhost lo
Thanks Otis,
I am a first time user of SOLR. I understood that my problem calls for a
redesign of the document structure. However using CatX and Cat-X-Score is
not simple because cat is not fixed set, number of values x can take is not
predetermined. However I think dynamic fields might be helpful
28 matches
Mail list logo