Hi
Following is the data-config.xml
Not sure what is the error here, really stuck...
Thanks,
Ashish
Noble Paul നോബിള് नोब्ळ् wrote:
>
> can u paste the data-config.xml
> looks like there are some error
can u paste the data-config.xml
looks like there are some errors in the xml.
--Noble
On Mon, Mar 9, 2009 at 8:35 AM, Ashish P wrote:
>
> I am getting following exception on configuring dataImporthandler in
> SolrConfig.xml
>
> INFO: Processing configuration from solrconfig.xml: {config=data-confi
Hi,
I'm trying to think of a way to use both relevancy and date sorting in
the same search. If documents are recent (say published within the last
2 years), I want to use all of the boost functions, BQ parameters, and
normal Lucene scoring functions, but for documents older than two years,
I do
: So - is there any Solr code that I can look at - that imposes the
: restriction that the type has to be an int, string ,List (of what
: allowed objects ? ) . Map ( allowed key, value types ? ) etc.
see the javadocs for SolrQueryResponse...
http://lucene.apache.org/solr/api/org/apache/solr/re
Hi Kevin,
This is what I was exactly looking for. Thanks for your suggestions and
sample schema.
Guess you are professional in this Solr! =)
Regards,
Praveen
Cheng Zhang-2 wrote:
>
> One solr instance has only one doc type. So you have many types, the first
> option is to use multiple solr se
I am getting following exception on configuring dataImporthandler in
SolrConfig.xml
INFO: Processing configuration from solrconfig.xml: {config=data-config.xml}
[Fatal Error] :1:1: Content is not allowed in prolog.
Mar 9, 2009 12:01:37 PM org.apache.solr.handler.dataimport.DataImportHandler
inf
o
QueryResponse rsp = commonsHttpSolrServer.query( mySolrQuery);
MySerializableType obj = rsp.getResponse().get("myresult");
In the code - the API referred to is -
http://lucene.apache.org/solr/api/org/apache/solr/common/util/NamedList.html#get(java.lang.String)
.
That seems to return any object
I have a much smaller document set of 300 K documents that I am talking about.
I have some pre-defined queries (totally around 10K ) that I want to
implement as facets on the resultset of a given query and return the
top N (say 100) of the same.
I was planning to pre-compute the DocSet results fo
:
: and what I get instead is:
: numFound=26
: score=13.155498 (for doc with id=SP2514N)
:
: This is surprising for two reasons:
:
: -The score value is not the square of the "popularity" field.
the function query does square the popularity field, but then it becomes a
factor of the overall sc
: I was wondering if there was a way of passing parameters into
: the XSLTResponseWriter writer.
I don't think there's anyway to pass input in the traditional
sense, but you can set default/invariant params along with echoParams=all
to get the values you want into the XML doc itself where you
Thanks again.
I personally would think putting the doc in payload is cleaner because
I'd have one less system to worry about. But if payload is one big field,
retrieving specific fields would require additional parsing. Other than this,
is there any reason I should not put the document in payload?
On Mon, Mar 9, 2009 at 12:03 AM, jlist9 wrote:
> I haven't tried this but is it possible to store fields that are not
> defined in solr schema and retrieve them in the result?
>
> I understand there could be conflicts in terms of how each document
> understand/defines these fields but since these
Combining Lucene/Solr with an external document storage system is common.
CouchDB, BDB, etc. are all fine candidates.
Payloads are relatively new, yes. Storing fields in an external storage system
is the cleaner way to go.
Otis
--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
-
Thanks Otis, for the quick reply.
I see. I haven't used Payload before. Is it new in 1.3?
So if I have documents that have very different fields, I should
use an external document storage, such as CouchDB, and only
store the indexed fields in Solr? Is this a recommended set up?
How does this comp
Hello,
All fields you want to index or store in the index must be defined in the Solr
schema. If you prefer having schemaless indices, that's where straight Lucene
without Solr can be helpful. You can store additional information for each
term, though. This is known as "Payload". Perhaps t
I haven't tried this but is it possible to store fields that are not
defined in solr schema and retrieve them in the result?
I understand there could be conflicts in terms of how each document
understand/defines these fields but since these fields are not
defined, and thus not index, it should cau
Also note that the following is not doing what you want:
-is_mp_parent_b:true^50.0
You want something like:
is_mp_parent_b:true^0.20
for negative boosting use a boost that is less than 1.0.
Otis--
Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
- Original Message
> From
Hi. Did you get this working?
I think this is a problem on many German languages. Using "brute force
dictionary splitting" of compound words will generate to many words.
There is some words about using myspell dictionaries in the tsearch
project here:
http://www.sai.msu.su/~megera/wiki/Tsearch_V2
But it is still possible to have a RequestHandler (Say
BatchRequestHandler ) which can take in multiple queries .
say
bc.q.count=3
bc.1.q=[(+a +b) ]
bc.2.q=[(+a +c)]
bc.3.q=[(+a+ d)]
The response may contain several sections
...output one 1.q goes here
...output of 2.q goes here
..
19 matches
Mail list logo