check:
http://wiki.apache.org/solr/SolrLogging
if you are using 1.4 you want to drop in the slf4j-log4j jar file and
then it should read your log4j configs
On Nov 19, 2009, at 2:15 PM, Harsch, Timothy J. (ARC-TI)[PEROT
SYSTEMS] wrote:
Hi all,
I have an J2EE application using embedded so
The solution involves slf4j to log4j to syslog (at least, for solr),
but I'm having some trouble stringing all the parts together. If
anyone is doing this, would you mind posting how you use slf4j-log4j
jar, what your log4j.properties looks like, what your java system
properties settings are, and
Matthew Runo wrote:
Hello folks!
We're trying to code a UI element which requires us to know both the
minimum and maximum values for a given field - say, price.
This seems like it has to be a solved problem, but we're just not sure
of the best way to go about getting this data out of solr. We c
Hello folks!
We're trying to code a UI element which requires us to know both the
minimum and maximum values for a given field - say, price.
This seems like it has to be a solved problem, but we're just not sure
of the best way to go about getting this data out of solr. We could
facet on price an
Hi all,
I have an J2EE application using embedded solr via solr4j. It seems the
logging that SOLR produces has a mind of its own, and is not changeable via my
log4j.properties. In fact I know this because I wired in a Log4J config
listener in my web.xml and redirected all my logs to a custom l
Hey Guys,
I need to filter out some results based on who is performing the
search. In other words, if a document is not accessible to a user
performing search, I don't want it to be in the result set. What is
the best/easiest way to do this reliable/securely in Solr?
Thanks
--
Aseem
Hi David,
I just now tried a sorting on the results and I got the records with latest
approval_dt first.
My question now is will index-time boosting method increase the response. ie
will I be able to acheive the same thing i achieved
using sorting much faster if i use index-time boosting.
If you
Hi David,
Thank you for the mail.
It seems you are right.sorting might solve the issue as it is not giving
any special weightage to any record other than its approval_dt is the latest
one.. I think i am convinced for now.
I am eagerly waiting for your book around thanks giving so taht i can
Anil, without delving into why your boosting isn't working as you expect, why
don't you simply sort? Based on a message you sent to me directly (excerpted
bellow), it seems you want sorting, not boosting. You could subsequently sort
by score after approval_dt.
~ David Smiley
Author: http://ww
Chris Hostetter wrote:
> : expected (not optimal... but an index/schema mismatch). If you're
> : using the 1.3 configs in 1.4 and getting an exception... that would be
> : very bad. Is that the case?
>
> as far as i can tell: yes. running 1.4 with the 1.3 example configs and
> an existing 1.3 i
Hi Ian. Thanks for buying my book.
The "boost" attribute goes on the field for the XML message you're sending to
Solr. In your example you mistakenly placed it in the schema.
FYI I use index time boosting as well as query time boosting. Although index
time boosting isn't something I can chan
On Thu, Nov 19, 2009 at 1:41 PM, Yonik Seeley
wrote:
> Looks like a very old undesirable config issue...
> http://search.lucidimagination.com/search/document/c5ae6fa490d0f59a
>
> I'll open a JIRA issue to track this.
This was my problem also.
Commenting out that element has solved that problem,
: expected (not optimal... but an index/schema mismatch). If you're
: using the 1.3 configs in 1.4 and getting an exception... that would be
: very bad. Is that the case?
as far as i can tell: yes. running 1.4 with the 1.3 example configs and
an existing 1.3 index seems to be an instant NPE..
On Fri, Nov 13, 2009 at 8:05 PM, Chris Hostetter
wrote:
> : I tied to reproduce this in 1.4 using an index/configs created with 1.3,
> : but i got a *different* NPE when loading this url...
>
> I should have tried a simpler test ... iget NPE's just trying to execute
> a simple search for *:* when
I don't think your queries are actually nested queries. Nested queries key
off of the "magic" field name _query_. You're right however that there is
very little in the way of documentation of examples of nested queries. If
you haven't seen this blog about them yet you might find this a helpful
over
Hello,
In our current setup we have 2 cores. First core contains hotel
content information and second core contains pricing information.
I was looking for a way to combine this information at query time so that I can
filter / sort results by price.
Is there any way to do this. An exam
: Thank you! There is a nice wiki page for solrj 1.3,
: http://wiki.apache.org/solr/Solrj If someone have time and is competent
: it would have been nice to have a similar page for solrj4 where all
: these things and more is described.
You mean like this one...
http://wiki.apache.org/
Hi,
when I attached a boost value even the following query is not working:-
select?qt=dismaxboost&q=horticulture&version=2.2&start=0&rows=10&indent=on&bf=recip(rord(approval_dt),1,1000,1000)^110.0&fl=approval_dt,projname
When I hadnt provided the boost value for the approval_dt the above was
giv
Hello,
We have an interesting and we guess common machine learning problem.
Polyvore (the company I work for) has a few million products in its index.
For each product we have the following information:
- keywords extracted from title, description, tags
- other meta information like colors, bran
Hi,
I am working on index-time boosting.
I have a field named approval_dt. I have created that in my SOLR xml
to be uploaded, by sorting my query in ascending order of approval_dt and
then increasing the boost for this field by 0.1 as i encounter new records
from database. In my schema.xml that f
The Luke request handler (normally available at /admin/luke) will
give you the document count (not size on the disk, though, if that's
what you want) and last update and other info:
14591
14598
128730
1196962176380
false
true
true
..
Hi,
I'm using the SolrJ 1.4 client driver in a sharded Solr configuration and am
experiencing 2 problems:
1) *The method SolrQuery.setIncludeScore(true)*:
The current implementation of setIncludeScore(boolean) *adds *the value
"score" to the FL parameter.
This causes a problem when using the setF
Hi,
Looking for total number of documents in my index and the last updated
date/time of the index.
Is there a way to get this through the standard query q=?
if not, what is the best way to get this info from solr.
thanks
Joel
you can pass the uniqueId as a param and use it in a sql query
http://wiki.apache.org/solr/DataImportHandler#Accessing_request_parameters.
--Noble
On Thu, Nov 19, 2009 at 3:53 PM, Pablo Ferrari wrote:
> Most specificly, I'm looking to update only one document using it's Unique
> ID: I dont want t
Grant,
Grant Ingersoll wrote:
On Nov 19, 2009, at 7:02 AM, Andrea Campi wrote:
To make things easier and more maintainable, I'd like to use nested queries for
that; I'd like to be able to write:
q={!boost b=$dateboost v=ftext:$terms^1000 OR
text:$terms}&dateboost=product(...etc.)&terms=
Hi Solr experts
We are using Solrj in our application -
- CommonsHttpSolrServer (superclass:SolrServer)
We are planning to compare the performance results of SolrServer with
DirectSolrConnection.
1. I couldn't find any such class (as SolrServer for HTTPrequests) which
supports DirectSolrConnecti
Looks like a very old undesirable config issue...
http://search.lucidimagination.com/search/document/c5ae6fa490d0f59a
I'll open a JIRA issue to track this.
-Yonik
http://www.lucidimagination.com
On Thu, Nov 19, 2009 at 7:32 AM, Mike wrote:
> Stuart Grimshaw wrote:
>>
>> I have a Solr instance
On Nov 17, 2009, at 7:33 PM, mike.schultz wrote:
>
> I want to use the standard QueryComponent to run a query then sort a *limited
> number of the results* by some function query. So if my query returns
> 10,000 results, I'd like to calculate the function over only the top, say
> 100 of them, a
On Nov 19, 2009, at 7:02 AM, Andrea Campi wrote:
> Hi,
>
> I'm trying to wrap my head around nested queries and I'm having some trouble
> figuring out how far can I go with them. I have to say documentation is still
> a bit sparse... :/
>
>
> I'm trying to build a query that would search the
Stuart Grimshaw wrote:
I have a Solr instance in a directory in 1 location on my hard drive,
and set solr.solr.home to that location, when I open it, I can add
documents and close the instance with no problem, but the data is
written to a new directory solr/data in the current directory.
Has any
Hi,
I'm trying to wrap my head around nested queries and I'm having some
trouble figuring out how far can I go with them. I have to say
documentation is still a bit sparse... :/
I'm trying to build a query that would search the same term(s) on
different fields with different boosts, like:
Most specificly, I'm looking to update only one document using it's Unique
ID: I dont want the DIH to lookup the whole database because I already know
the Unique ID that has changed.
Pablo
2009/11/19 Pablo Ferrari
>
>
> Hello!
>
> After been working in Solr documents updates using direct php co
Hello!
After been working in Solr documents updates using direct php code (using
SolrClient class) I want to use the DIH (Data Import Handler) to update my
documents.
Any one knows how can I send commands to the DIH from php? Any idea or
tutorial will be of great help because I'm not finding anyt
It now works for me too. The problem was that tomcat was still working with an
older version of the configuration. HTMLStripCharFilterFactory didn't even
appear in analysis.jsp.
Thank you for looking into this.
Andréas
-Original Message-
From: Koji Sekiguchi [mailto:k...@r.email.ne.jp]
Hi Otis, thanks for replying,
Well I'm pretty sure it was there (and documented) in the 1.3 era.
Strangely, it is still accepted in the Eclipse HTML editor, even for
attribute completion (if you can, try it). But if it is truly
deprecated, we will have to reassess part of our system design :(
If
Thank you! There is a nice wiki page for solrj 1.3,
http://wiki.apache.org/solr/Solrj If someone have time and is competent it
would have been nice to have a similar page for solrj4 where all these things
and more is described.
Per Halvor
-Opprinnelig melding-
Fra: Ryan McKinley [mailt
36 matches
Mail list logo