I'm running into a problem where the calls to SolrQuery.getStart(),
SolrQuery.getRows() always return null
I'm using trunk of 1.3
I think I also found the problem.
If I use SolrQuery.setRows(20), the value is set in the LinkedHashMap
with the key-values {"rows", {"20"}} in method set() (line 66
1) document boost is periodicaly recomputed with age as a factor (or
log(age)). It should be slow.
2) Use your own Similarity implementation. Use the DefaultSimilarity
with a dynamic document boost. The Map document id -> age or document id
-> date should be cached with Map, ehCache, whirlcache,
On Fri, 7 Mar 2008 17:59:48 -0800 (PST)
Chris Hostetter <[EMAIL PROTECTED]> wrote:
> I believe Norberto ment he was handling it in his update client code --
> before sending the docs to Solr.
Indeed, this what we do. We have a process that parses certain files, generates
documents following the
Hi all,
Sorry if this is a easy one, but apparently my research isn't working for
now. Here is what I want to do.
Currently I index the contents of my database using Solr. After a search
result is retrieved from Solr, I extract only the key fields that I need
(mostly the unique ID and score) and t
I just realise that the code below is a dirty hack :) but it does solve
the problem for me because in my case String param is always null.
I haven't been able to figure out what the purpose of fpname() is
because it seems that where it's used it is alwayse used to get values
from SolrParams ne
Hi,
I've just noticed while switching connections between two different solr
instances (different servers) that their facet response structures are not
the same. But the Solr version is identical; 1.2. I've pasted in the
significant part of the response. Note the facet_fields in the first is a
Has
Just wanted to mention... the solr-ruby package has nothing to do with this.
These are responses straight out of the solr/select handler.
Matt
On Mon, Mar 10, 2008 at 12:07 PM, Matt M. <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've just noticed while switching connections between two different solr
>
Hello,
I am beginning to use the python client from the subversion
repository. Everything works well except if I want to pass a parameter
with a dot to the search method of the SolrConnection class (for
example facet.field). The solution I have is to replace the "." by
"__dot__" ( facet__dot__fiel
On Monday 10 March 2008 19:34:09 Eric Falconnier wrote:
> I am beginning to use the python client from the subversion
> repository. Everything works well except if I want to pass a parameter
> with a dot to the search method of the SolrConnection class (for
> example facet.field). The solution I ha
Hi,
I am looking for a way to access the incrementPositionGap value defined
for a field type in the schema.xml.
There is a getArgs method in FieldType class, but it is protected and I
am not able to access it.
Is there another solution ?
Regards.
--
Renaud Delbru,
E.C.S., Ph.D. Student,
Sema
I (and Erik) solved my problem! It was from a setting in the
solrconfig.xmlfile. Under the settings for the standard request. I
ended up copying the
schema from the acts_as_solr library, and didn't notice this one little
change:
map
That tells Solr to return the json result (or Ruby or Python) in
: As i explored i didnt correctly understood the behaviour of NGrim
: Tokenizer.
: I want to know the usage and the configuration in code using NGrim
: Tokenizer.
: Please help me out.
The min and max options are really all the configuration there is -- for
your purpose they should be the
here is no way out of the box to achieve what you are asking for with the
schema as you have it setup. possible ways of implementing something like
this have been discussed on the mailing list in the past, but it would
require some extensive java coding.
one key option to consider is to rethi
On Mon, Mar 10, 2008 at 4:42 PM, Matt M. <[EMAIL PROTECTED]> wrote:
> The sort order doesn't seem to work correctly when using the "map" (hash)
> type.
That's why it's not the default... I didn't want to put the burden of
re-sorting on the client.
-Yonik
And the solr-ruby library handles this in the standard/dismax
responses in this manner:
def field_facets(field)
facets = []
values = @data['facet_counts']['facet_fields'][field]
Solr::Util.paired_array_each(values) do |key, value|
facets << FacetValue.new(key, value)
end
: However, I am doing a DisMax query and when I debug it shows that it is
: falling back on the default field in the schema, not the qf fields. Looking
: at the code in SolrHighlighter confirms this. Is it a bug or should I change
: the wiki (or both)?
it is suppose to work that way. In 1.2 yo
:
: a) hot+cold
: b) hot++cold
: c) hotcold
: d) hot cold
: e) cold water
: f) hot water
:
: I want to search only for hot+cold. I tried with "hot\+cold" and also
: hot\+cold. I got *first four* contents.
: How to search only exact match?
there are two issues to keep i mind here: one is the anal
Ah, so that is what that setRows method does. Would there be a problem with
setting it to Integer.MAX_VALUE since I don't know how many results I will
have in advance?
Otis Gospodnetic wrote:
>
> I don't have the sources in front of me, but isn't there a setRows(int)
> method that you can cal
Problem? Not necessarily, but you risk a major performance hit in
generating the response as well as in parsing the response by the
solrj client side too.
Rather, do a query, get a reasonable subset of the docs back, look at
the response to see how many total documents there are and page
I meant setting the start parameter up by one page full (say 10, 25,
or 100+) at a time. Leave rows at that page size, of course.
Erik
On Mar 10, 2008, at 9:28 PM, Erik Hatcher wrote:
Problem? Not necessarily, but you risk a major performance hit in
generating the response as well
Hi there,
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
Hi guys,
I'm running to some problems with accented (UTF-8) language. I'd love to
hear some ideas about how to use Solr with those languages. Basically, I
want to achieve what Google did with UTF-8 language.
My requirements including:
1) Accent insensitive search and proper highlighting:
For ex
22 matches
Mail list logo