you do not need to pass the values as shown here. Make use of the
Context parameter (second implicit parameter) to get hold of the value
of ${item.category}
context.getVariableResolver().resolve('item.category'))
On Wed, Dec 2, 2009 at 7:20 PM, Joel Nylund wrote:
> Hi, I have an entity that has
the deltaQuery select 'product_id' and your deltaImportQuery uses
${dataimporter.delta.id}
I guess it should have been ${dataimporter.delta. product_id}
On Wed, Dec 2, 2009 at 11:52 PM, Thomas Woodard wrote:
>
> I'm trying to get delta indexing set up. My configuration allows a full index
> no p
I saw an interesting thread in the solr-dev forum about multiple fields per
fieldtype (https://issues.apache.org/jira/browse/SOLR-1131)
from the sounds of it, it might be of interest and/or use in these types of
problems; for your example, you might be able to define a fieldtype that
houses the
thanks that worked! and yes I have some with no categoryType
thanks
Joel
On Dec 2, 2009, at 2:24 PM, AHMET ARSLAN wrote:
Hi, thanks, but still get 530 results
for this new query your proposed.
May be you have some documents that has empty categoryType field.
Can you try this:
q = ((*:* -cat
Rodrigo,
It sounds like you're asking about near realtime search support,
I'm not sure. So here's few ideas.
#1 How often do you need to be able to search on the latest
updates (as opposed to updates from lets say, 10 minutes ago)?
To topic #2, Solr provides master slave replication. The
optimi
Yeah, screen cast or video of talk will be good for those who missed it.
Highly recommend it..
Paul Rosen wrote:
>
> Is there, or will there be, a screencast of this available?
>
> I'm sorry to have missed it.
>
> Tom Hill wrote:
>> In this introductory technical presentation, renowned search
I finally got around to testing the patch and it works well.
Thanks,
Joe
> Date: Mon, 23 Nov 2009 12:32:46 -0800
> From: hossman_luc...@fucit.org
> To: solr-user@lucene.apache.org
> Subject: RE: UTF-8 Character Set not specifed on OutputStreamWriter in
> StreamingUpdateSolrServer
>
>
>
: I think I solved the problem of retrieving 300 docs per request for now. The
: problem was that I was storing 2 moderately large multivalued text fields
: though I was not retrieving them during search time. I reindexed all my
: data without storing these fields. Now the response time (time for
Is there, or will there be, a screencast of this available?
I'm sorry to have missed it.
Tom Hill wrote:
In this introductory technical presentation, renowned search expert Mark
Bennett, CTO of Search Consultancy New Idea Engineering,
will present practical tips and examples to help you quickl
Hello folks!
I'm attempting (!) to pull some data from the stats.jsp page using XPath so
that it can be reported in a different application. I cannot seem to get the
average QPS for the dismax handler, no matter how I try:
try {
XPathExpression reqPerSec =
xpath.compile("/s
I'm using a very slightly modified version of a nightly build from the middle
of September.
It seems like this isn't the only report of problems of this sort:
http://markmail.org/message/zept5u3hv4ytunfv#query:solr%20commit%20connection%20reset%20mergeids+page:1+mid:aqzaaphbuow4sa5o+state:resu
This is the expected behavior for any lucene based application -- as long
as an IndexReader is opened on an index, it maintains open filehandles for
the segments of the index at that moment in time -- as other changes are
made to the index, new segments are created, and segment merges may resul
: > : directory is created if it does not exist. Since it calls File#mkdirs,
: > all
: > : parent directories are also created. I don't think Solr creates those
: > : directories by itself.
...
: Yes, that is correct but those changes are not in trunk right now. We're
: planning to spend s
: Is there an API to upload files over one connection versus looping through
: all the files and creating new ContentStreamUpdateRequest for each file.
: This, as expected, doesn't work if there are large number of files and
: quickly run into memory problems. Please advise.
can you elaborate on
: // " one possibility to think about is that instead of modifying the
documents
: before sending them to Solr, you could write an UpdateProcessor tha runs
: direclty in Solr and gets access to those Documents after Solr has already
: parsed that XML (or even if the documents come from someplace
We are considering Solr to store events which will be added and deleted from
the index in a very fast rate. Solr will be used, in this case, to find the
right event we need to process (since they may have several attributes and
we may search the best match based on the query attributes). Our
unders
> Hi, thanks, but still get 530 results
> for this new query your proposed.
May be you have some documents that has empty categoryType field.
Can you try this:
q = ((*:* -categoryType:"MEDIATYPE") OR fmMediaType:"text")
It should return at lest 292289 documents.
Piero,
it sounds you're looking for an integration of Solr Cell and Solr's DIH
facility -- a feature that isn't implemented yet (but the issue is
already addressed in Solr-1358).
As a workaround, you could store the extracted contents in plain text
files (either by using Solr Cell or Apache
WEBINAR:
Hosted by KMWorld and featuring speakers from The Motley Fool and
Lucid Imagination
Tuesday, Dec 8: 2pm ET/11amPT/1900 GMT
Sign up here: http://www.kmworld.com/webinars/lucid/08dec2009/luc3
Greetings,
I'll be presenting along with some of our customers from Motley Fool
at a free we
Hi,
I am developing a search application. When I try to create an instance of
CommonsHttpSolrServer I get an Error: java.lang.NoSuchMethodError:
org.apache.commons.httpclient.HttpConnectionManager.getParams()Lorg/apache/commons/httpclient/params/HttpConnectionManagerParams;
Strangely i dont
Hi, thanks, but still get 530 results for this new query your proposed.
thanks
Joel
On Dec 2, 2009, at 12:00 PM, AHMET ARSLAN wrote:
http://localhost:8983/solr/select?q=%28NOT%20categoryType:%22MEDIATYPE%22%29
:gives
292289 results
http://localhost:8983/solr/select?q=fmMediaType:%22text%
I'm trying to get delta indexing set up. My configuration allows a full index
no problem, but when I create a test delta of a single record, the delta import
finds the record but then does nothing. I can only assume I have something
subtly wrong with my configuration, but according to the wiki,
What version are you using? If a nightly build, from when?
Thanks
Erick
On Wed, Dec 2, 2009 at 12:53 PM, smock wrote:
>
> Hi,
> I'm running a distributed solr index (3 nodes) and have noticed frequent
> exceptions thrown during updates. The exception (see below for full trace)
> occurs in the
Hi,
I'm running a distributed solr index (3 nodes) and have noticed frequent
exceptions thrown during updates. The exception (see below for full trace)
occurs in the mergeIds function of QueryComponents, in this code block:
Map resultIds = new HashMap();
for (int i=resultSize-1; i>=0;
Hello ,
Our objective is to modify the Document (
org.apache.lucene.document.Document ) before its being indexed. I am
just wondering about the places where we get the reference of the
Document object, so that we can perform modification.
Modifying, does just mean that changing name of so
http://localhost:8983/solr/select?q=%28NOT%20categoryType:%22MEDIATYPE%22%29 :gives
> 292289 results
>
>
> http://localhost:8983/solr/select?q=fmMediaType:%22text%22 :gives
> 530 results
>
>
> http://localhost:8983/solr/select?q=%28NOT%20categoryType:%22MEDIATYPE%22%29%20OR%20fmMediaType:
Grant Ingersoll-6 wrote:
>
> ...
> Yep. Also note that I added deg() and rad() functions, but for the most
> part is probably better to do the conversion during indexing.
> ...
>
as it is not possible for me to convert my data from deg to rad during
import (since queries are done using degree
I dont believe there is any way to link values in one multivalue field to
values in other multivalue fields.
Re "where each doc contains the customer info and info for ALL products that
the customer might have (likely done via dynamicfields)":
one thing you might want to consider is that this s
http://localhost:8983/solr/select?q=%28NOT%20categoryType:%22MEDIATYPE%22%29
:gives 292289 results
http://localhost:8983/solr/select?q=fmMediaType:%22text%22 :gives
530 results
http://localhost:8983/solr/select?q=%28NOT%20categoryType:%22MEDIATYPE%22%29%20OR%20fmMediaType:%22text%22
cbennett wrote:
>
> Solr supports multi value fields so you could store one document per
> customer and have multi value fields for the product information.
>
> Colin.
Quoted from:
http://old.nabble.com/question-about-schemas-tp26600956p26608618.html
Thanks Colin. From the online docs, there
Hi, I have an entity that has a entity within it that executes a query
for each row and calls a transformer. Is there a way to pass a value
from the parent query into the transformer?
For example, I have an entity called document, and it it has an ID and
sometimes it has a category.
I hav
Search the user list thread for "leading wildcard" and you'll find that this
has
been discussed many times, and you'll quickly locate several approaches
to handling this.
Best
Erick
On Wed, Dec 2, 2009 at 3:55 AM, amittripathi wrote:
>
> i am getting this error
>
> Query parsing error: Cannot pa
Solr supports multi value fields so you could store one document per customer
and have multi value fields for the product information.
Colin.
> -Original Message-
> From: solr-user [mailto:solr-u...@hotmail.com]
> Sent: Tuesday, December 01, 2009 6:27 PM
> To: solr-user@lucene.apache.org
The DismaxRequestHandler can handle that query input.
Add qt=dismax to your call.
There is a default configuration of dismax in the solrconfig sample that
ships with each release. You want to adopt that to your schema. Dismax
will also allow you to search on multiple selected fields with differe
Am 02.12.2009 um 09:55 schrieb amittripathi:
> its accepting the trailing wildcard character but solr is not accepting the
> leading wildcard character
The Error message says it all.
'*' or '?' not allowed as first character in WildcardQuery
solr is not SQL.
Olivier
--
Olivier Dobberkau
Hi,
I need to index the contents of a file (doc, pdf, ecc) and a set of
custom metadata specified in the XML like a standard request to Solr.
>From the documentation I can extract the contents of a file with the
request "/update/extract" (tika) and index metadata with a second
request "/update" by
Hi,
I installed solr 1.4 on Windows7 64bit with Java 1.6.0_17-b04 64bit and
when
I run the command:
java -Dsolr.solr.home=multicore -jar start.jar
I get the following error message:
PS C:\nginx\solr\jetty> java
-Dsolr.solr.home=c:\nginx\solr\solr\multicore -jar start.jar
Exception in thread "ma
Pooja Verlani wrote:
Hi,
I want to index an xml like following:
John
1979-29-17T28:14:48Z
ABC College
1998
PQRS College
2001
XYZ College
2003
Pooja,
have a look at Solr's DataImportHandler. XPathEntityProcessor [1] should
suit your needs.
Best,
Sascha
[1] http://wiki.apache.org/solr/DataImportHandler#XPathEntityProcessor
Pooja Verlani schrieb:
Hi,
I want to index an xml like following:
John
1979-29-17T28:14:48Z
i am getting this error
Query parsing error: Cannot parse '*droid*': '*' or '?' not allowed as first
character in WildcardQuery
i want to use something like *query* similar to database - %query% like
search
its accepting the trailing wildcard character but solr is not accepting the
leading wi
40 matches
Mail list logo