Done.
Please check - http://wiki.apache.org/solr/FunctionQuery
and send me your comments (or improve the wiki )
Right now its more of a aggregation of all relevant information.
I hope people will be able to add notes like what values to use, pitfalls to
avoid, behaviour in special cases as well
maybe full-text search sort correct not very import.
2007/5/15, James liu <[EMAIL PROTECTED]>:
2007/5/15, Mike Klaas <[EMAIL PROTECTED]>:
>
> On 14-May-07, at 8:55 PM, James liu wrote:
>
> > thks for your detail answer.
> >
> > but u ignore "sorted by score"
> >
> > p1, p2,p1,p1,p3,p4,p1,p1
2007/5/15, Mike Klaas <[EMAIL PROTECTED]>:
On 14-May-07, at 8:55 PM, James liu wrote:
> thks for your detail answer.
>
> but u ignore "sorted by score"
>
> p1, p2,p1,p1,p3,p4,p1,p1
>
> maybe their max score is lower than from p19,p20.
>
I'm not ignoring it: I'm implying that the above is the c
On 14-May-07, at 8:55 PM, James liu wrote:
thks for your detail answer.
but u ignore "sorted by score"
p1, p2,p1,p1,p3,p4,p1,p1
maybe their max score is lower than from p19,p20.
I'm not ignoring it: I'm implying that the above is the correct
descending score-sorted order. You have to pe
: I would like to document this along with a little detail about function
: queries & may be if I get enough time, simple graphs that I created to help
: people choose the right values for using in the function queries.
that would be *awesome*
: I do see a stub for - http://wiki.apache.org/solr
for example, i wanna query "lucene", it's numFound is 234300.
and results should sorted by score.
if u do, how to pagination and sort it's score?
2007/5/15, Mike Klaas <[EMAIL PROTECTED]>:
On 14-May-07, at 7:15 PM, James liu wrote:
> if i set rows=(page-1)*10,,,it will lose more result whi
2) eliminate the space inside the recip functions
This solved it :)
I would like to document this along with a little detail about function
queries & may be if I get enough time, simple graphs that I created to help
people choose the right values for using in the function queries.
I dont see
thks for your detail answer.
but u ignore "sorted by score"
p1, p2,p1,p1,p3,p4,p1,p1
maybe their max score is lower than from p19,p20.
so it will not sorted by score correctly.
and if user click page 2 to see, how to show data?
p1 start from 10 or query other partitions?
2007/5/15, Mike Kl
On 14-May-07, at 7:15 PM, James liu wrote:
if i set rows=(page-1)*10,,,it will lose more result which fits query.
how to set start when pagination.
I'm not sure I understand the question.
When combining results from partitions, you can't use startAt. You
must always assemble the docs fro
On 14-May-07, at 6:49 PM, James liu wrote:
2007/5/15, Mike Klaas <[EMAIL PROTECTED]>:
On 14-May-07, at 1:35 AM, James liu wrote:
When you get up to 60 partitions, you should make it a multi stage
process. Assuming your partitions are disjoint and evenly
distributed, estimate the number of do
Hi Chris
The /var/www/html/solr/data/ directory did exist. I tried opening up
permissions completely for testing but no luck (the tomcat user had
write permissions).
I decided to trash the whole installation and start again. I downloaded
last nights build and untarred it. Put the .war into
$TOMCA
if i set rows=(page-1)*10,,,it will lose more result which fits query.
how to set start when pagination.
2007/5/15, James liu <[EMAIL PROTECTED]>:
2007/5/15, Mike Klaas <[EMAIL PROTECTED]>:
>
> On 14-May-07, at 1:35 AM, James liu wrote:
>
> > if use multi index box, how to pagination with
2007/5/15, Mike Klaas <[EMAIL PROTECTED]>:
On 14-May-07, at 1:35 AM, James liu wrote:
> if use multi index box, how to pagination with sort by score
> correctly?
>
> for example, i wanna query "search" with 60 index box and sort by
> score.
>
> i don't know the num found from every index box wh
: I am running v1.1.0. If I do a search (from the admin page), it throws
: the following exception:
:
: java.lang.RuntimeException: java.io.IOException:
: /var/www/html/solr/data/index not a directory
does /var/www/html/solr/data/ exist? ... if so does the effective userID
for tomcat have permissi
Thanks a lot for your reply Chris
I am running v1.1.0. If I do a search (from the admin page), it throws
the following exception:
java.lang.RuntimeException: java.io.IOException:
/var/www/html/solr/data/index not a directory
There are no exceptions on starting Tomcat, only one warning regarding
: 3. Lemma and PoS-tag (Part-of-Speech tag) or generally additional keys
: on the word-level,
: ie for every word we also have its lemma-value and its PoS.
: or in newer systems with xml-attributes:
: trees
:
: Important is, that it has to be possible to mix this various layers in
: one query, eg
: I have tried indexing from the exampledocs which is just sitting in my
: user home directory but now I get a null pointer exception after
: running:
just to clarify: are you using solr 1.1 or a nightly build? did you check
the log file to ensure thatthere are no exceptions when you start tomcat?
: The function query field is -
:
: recip(popularityRank, 1, 1000,
: 1000)^0.5recip(rord(creationDate),1,1000,1000)^
: 0.3
:
off the top of my head, i'd suggest you:
1) verify there is some whitespace between the boost of the
popularity recip function and the date recip func
Regarding the Lemma and PoS-tag requirement: you might handle this by
inserting each word as its own document, with "lemma", "pos", and "word"
fields, thereby allowing you lots of search flexibility. You could also
include ID fields for the item and (if necessary) part (chapter etc.)
and use these
Hi matej,
since I didn't see anyone answering your question yet, I'll have a go at
it, but I'm not one of the Solr developers, I've just used it so far and
am very happy with it. I use it for searching literary texts, storing
information from a SQL database in the Solr documents as metadata fo
On 14-May-07, at 1:35 AM, James liu wrote:
if use multi index box, how to pagination with sort by score
correctly?
for example, i wanna query "search" with 60 index box and sort by
score.
i don't know the num found from every index box which have different
content.
if promise 10 page wit
: q=samsung+camera
:
: And if samsung is mandatory, the query will be like this: (or not:)
:
: q=+samsung+camera
:
: And the first + will be interpreted as mandatory flag?
No. bottom line, forget all about URLs and URL escape. step #1:
understand the Lucene query syntax...
http://lucene
I've needed similar logged information recently and I looked at the code
and had a few questions:
Why does SolrCore.setResponseHeaderValues(...) set the QTime (and other
response header options) instead of having it as a function of
RequestHandlerBase? If things were tracked in the RequestHandler
On May 14, 2007, at 12:38 PM, Jack L wrote:
The default search field is really handy. It helps simplify
the query, and thus simplify the application using solr.
My understand is that solr only allows one default search field.
It would be useful to allow multiple default fields, and maybe
also s
The default search field is really handy. It helps simplify
the query, and thus simplify the application using solr.
My understand is that solr only allows one default search field.
It would be useful to allow multiple default fields, and maybe
also specify a global field boost in the schema file,
Hi,
I am getting the following exception when I try & run any query :
java.lang.NumberFormatException: empty String
at
sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:994)
at java.lang.Float.parseFloat(Float.java:394)
at
org.apache.solr.search.QueryPa
if use multi index box, how to pagination with sort by score correctly?
for example, i wanna query "search" with 60 index box and sort by score.
i don't know the num found from every index box which have different
content.
if promise 10 page with sort score correctly, i think solr 's start is 0
27 matches
Mail list logo