arbitrary results

2011-10-21 Thread Peter A. Kirk
Hi is it possible to set up Solr so that a search for a particular term results in some arbitrary (selected) documents? For example, I want a search for "elephant" to return documents with id's 17, 18 and 36. Even though these documents would not normally occur in a result for a search for "ele

RE: xi:include

2010-10-20 Thread Peter A. Kirk
Hi Thanks for your reply. In actual fact, the "config.aspx" will either return a valid xml, or it will return an empty string - and unfortunately an empty string is not considered valid xml by the Solr xml parser. The "config.aspx" is a rather general application, returning all sorts of data,

xi:include

2010-10-19 Thread Peter A. Kirk
Hi I am trying to use xi:include in my solrconfig.xml. For example: http://localhost/config/config.aspx"; /> This works fine, as long as config.aspx exists, and as long as it returns valid xml. Sometimes though, the config.aspx can fail, and return invalid xml. Then I get a problem, as Solr's

terms / stemming?

2010-09-29 Thread Peter A. Kirk
Hi I issue a request like the following, in order to get a list of search-terms in a particular field: http://localhost:8983/solr/terms?terms.limit=-1&terms.fl=bodytext But some of the terms which are returned are not quite the same as those which were indexed (or which are returned in a searc

LukeRequestHandler numTerms

2010-09-14 Thread Peter A. Kirk
Hi when using LukeRequestHandler, I can for example call: http://localhost:8983/solr/admin/luke?fl=name&fl=cat which will return data including the frequency of the top 10 search terms in the specified fields. I can also add a "numTerms" parameter to obtain more than the top 10. But how do I e

RE: Field names

2010-09-14 Thread Peter A. Kirk
From: Simon Willnauer [simon.willna...@googlemail.com] Sent: Tuesday, 14 September 2010 17:47 To: solr-user@lucene.apache.org Subject: Re: Field names >On Tue, Sep 14, 2010 at 1:39 AM, Peter A. Kirk wrote: >> >> >> >> So it only finds 9? > >Since the "g

RE: Field names

2010-09-13 Thread Peter A. Kirk
4 September 2010 11:30 To: solr-user@lucene.apache.org Subject: Re: Field names check: http://wiki.apache.org/solr/LukeRequestHandler On Mon, Sep 13, 2010 at 7:00 PM, Peter A. Kirk wrote: > Hi > > is it possible to issue a query to solr, to get a list which contains all the > fie

Field names

2010-09-13 Thread Peter A. Kirk
Hi is it possible to issue a query to solr, to get a list which contains all the field names in the index? What about to get a list of the freqency of individual words in each field? thanks, Peter

query execution date/time

2010-03-01 Thread Peter A. Kirk
Hi I have written a "SearchComponent" which I use to write information about queries to a log. Is it possible in a SearchComponent to get the date (and time) the query was executed? Thanks, Peter

RE: logging

2010-02-24 Thread Peter A. Kirk
Hi, thanks. I looked at these sites, and also the info about "java logging": http://java.sun.com/j2se/1.5.0/docs/guide/logging/overview.html But I couldn't really follow the info about configuration for logging. The user manual for SLF4J tells you how to call the log methods - but not how to ac

logging

2010-02-23 Thread Peter A. Kirk
Hi in the Solr example, how do I configure debug logging to a file? Thanks, Peter

RE: Synonyms from Database

2010-01-11 Thread Peter A. Kirk
Hi - I don't think you'll see a "performance hit" using a DB for your synonym configuration as opposed to a text file. The configuration is only done once (at startup) - or when you "reload". You won't be reloading every minute, will you? After reading the configuration, the synonyms are avail

RE: Synonyms from Database

2010-01-11 Thread Peter A. Kirk
You could try to take the code for SynonymFilterFactory as a starting point, and adapt it to obtain the synonym configuration from another source than a text file. But I'm not sure what you mean by checking for synonyms at query time. As I understand it, Solr works like that anyway - depending

RE: Reload synonyms

2010-01-05 Thread Peter A. Kirk
0 21:46 To: solr-user@lucene.apache.org Subject: Re: Reload synonyms On Tue, Jan 5, 2010 at 2:03 PM, Peter A. Kirk wrote: > > Is it possible to reload the synonym list, if for example "synonyms.txt" is > changed, without having to restart the server? Is the same possible with

Reload synonyms

2010-01-05 Thread Peter A. Kirk
Hi Is it possible to reload the synonym list, if for example "synonyms.txt" is changed, without having to restart the server? Is the same possible with stop-words? Thanks, Peter

SynonymFilterFactory parseRules

2009-12-23 Thread Peter A. Kirk
Hi I am still looking at "synonyms", and the possibility of having synonyms loaded via another mechanism than reading from a text file. A few questions: Does anyone know why, in SynonymFilterFactory, the method "parseRules" is package private (actually I'm not sure of the terminology - what I m

RE: query log

2009-12-20 Thread Peter A. Kirk
log Where are the queries coming from? A browser? I bet you've got the HTTP 304 feature enabled and your client is sending etag/last-modified headers, causing Solr to respond with a 304 response and short circuit. Erik On Dec 20, 2009, at 5:46 PM, Peter A. Kirk wrote: >

query log

2009-12-20 Thread Peter A. Kirk
Hi, I'd like to write a "Component" that can write to a simple log with query data for every submitted query. So far I have written a simple Component and configured it to be called in the "standard" requestHandler. However, I have noticed that it is not always called. It's as if some queries a

synonyms

2009-12-15 Thread Peter A. Kirk
Hi It appears that Solr reads a synonym list at startup from a text file. Is it possible to alter this behaviour so that Solr obtains the synonym list from a database instead? Thanks, Peter