You can only have one document tag and the entities must be nested
within that.
>From the wiki, if you issue a simple "/dataimport?command=full-import"
all top level entities will be processed.
>Maybe I should be more clear: I have multiple tables in my DB that I
>need to save to my Solr index.
Iam new to solr,
My requirement is that,i need to have Autocompletion text box in my blog
application,i need to know how to implement it with solr 1.4.
I have gone through TermsComponent,but TermsComponent is not available in
solr 1.4 which i have downloaded.
Can any one please help out ,how to
On Mon, Sep 7, 2009 at 2:49 AM, darniz wrote:
> Does solr provide any implementation for dictionary stemmer, please let me
> know
The Krovetz stemmer is dictionary based (english only):
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters/Kstem
But from your original question, maybe you ar
: Subject: Whitespace in query
:
: Hi all,
:
: I'm trying to filter by a 'document name' which has spaces in it.
: (E.g. "docname:Struts 1" )
1) if you want to make a string with field with a space in it, that
typically means using quotes -- either to query a literaly string field
exactly or
did you implement your own ValueSourceParser . the
FunctionQParser#parseArg() method supports strings
On Wed, Sep 9, 2009 at 12:10 AM, wojtekpia wrote:
>
> Hi,
>
> I'm writing a function query to score documents based on Levenshtein
> distance from a string. I want my function calls to look like:
which version of Solr are you using? the "backupAfter" name was
introduced recently
On Tue, Sep 8, 2009 at 10:26 PM, wojtekpia wrote:
>
> I'm trying to create data backups using the ReplicationHandler's built in
> functionality. I've configured my master as
> http://wiki.apache.org/solr/SolrReplic
: Thanks Hoss
: Could you please provide with any example
:
: Does solr provide any implementation for dictionary stemmer, please let me
As mentioned on the wiki...
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters
Expansion stemming -- Takes a root word and 'expands' it to all of its
I just removed it and checked it in.
Thanks
On Wed, Sep 9, 2009 at 8:12 AM, Ilan Rabinovitch wrote:
> Hello,
>
> We recently noticed that the inject method of DocumentObjectBinder [1] in
> solr4j logs to standard out using System.out.println if any variables in the
> returned result have null valu
Hi,
I tried the false in solr.xml
but it does not seem to be working for me. I manually modified
solrconfig.xml for core1 to have an invalid path in datadir. And when i
restarted my app server (jboss), it threw following error which is what is
expected. There were other cores which loaded just fi
DIH allows only tag. you may have multiple root
tags and you may invoke them by name(s). When no name is passed all
root entities are invoked one after another.
On Wed, Sep 9, 2009 at 5:12 AM, Rupert Fiasco wrote:
> Maybe I should be more clear: I have multiple tables in my DB that I
> need to s
I have a multi core Solr setup.
Is it possible to return results from the second core, if the search on the
first core, does not return any results.
Or if its possible to return, the results from both the cores, in
one response
Both the core, Have the different schema, one is getting its data fr
Hello,
We recently noticed that the inject method of DocumentObjectBinder [1]
in solr4j logs to standard out using System.out.println if any variables
in the returned result have null value.
The system.out.println statement was added on 2009-07-14 as part of
SOLR-1129.
This can get quite
Hi Gérard,
Concerning the issue with the ":" character you can use the
ClientUtils.escapeQueryChars() method to handle special characters that are
part of the query syntax.
The complete list of special characters is in the source code.
check out the following resources
org/apache/solr/client/so
: But the log message that is getting print in the server console, in my case
: jboss, is showing status as error.
: Why is this showing as ERROR, even though things are working fine.
Solr is not declaring that those messages are ERRORs, solr is just logging
informational messages (hence then "I
: My problem was that somewhere along the way I picked up the mis-understanding
: that I could do a phrase search like Text:"david pdf" and Solr/lucene would
pick up
: all documents that hit the field Text with either 'david' or 'pdf'. Now, I'm
just doing the
you were probably thinking of this.
: I ran into that problem as well but the solution was provided to me by
: this very list :) See
: http://www.nabble.com/Range-queries-td24057317.html It's not the
: cleanest solution, but as long as you know what you're doing it's not
: that bad.
Hmmm... yeah, that's a total hack. one of these
: I know I can make a facet query
: something like Europe/France/* to search all POI in France
: but how can I show the facet level under France (Paris, Lyon etc ...) ???
i don't fully understand your question, so i'm not sure if you mean
"filter query" (fq) instead of "facet query" (facet.query
: the field like "2009-05-01T12:45:32Z". However when I'm searching the user
: don't always give an exact date. for instance they give "2008-05-01" to get
whatever date your users give you, you'll need to format it in the full
ISO format in order to query on it (ie: 2008-05-01 into
2008-05-01T0
Maybe I should be more clear: I have multiple tables in my DB that I
need to save to my Solr index. In my app code I have logic to persist
each table, which maps to an application model to Solr. This is fine.
I am just trying to speed up indexing time by using DIH instead of
going through my applic
: Subject: Concept Expansion
: References:
: <847931a70909041446x79f7b600g27ea556c85691...@mail.gmail.com>
: <847931a70909051050x41d0b8b2jd6424312c3ee5...@mail.gmail.com>
http://people.apache.org/~hossman/#threadhijack
Thread Hijacking on Mailing Lists
When starting a new discussion on a
: Subject: Dynamically building the value of a field upon indexing
: References: <25332254.p...@talk.nabble.com> <25354786.p...@talk.nabble.com>
http://people.apache.org/~hossman/#threadhijack
Thread Hijacking on Mailing Lists
When starting a new discussion on a mailing list, please do not reply
I am using the DataImportHandler with a JDBC datasource. From my
understanding of DIH, for each of my "content types" e.g. Blog posts,
Mesh Categories, etc I would construct a series of document/entity
sets, like
Thanks a lot. I will try this.
markrmiller wrote:
>
>
>
>
>
> false
>
>
>
>
>
> djain101 wrote:
>> Thanks !!! Can you please give an example to put it in solr.xml? How is
>> the
>> xml structure look like for enabling this property?
>>
>>
>> markrmiller wrote:
>>
false
djain101 wrote:
> Thanks !!! Can you please give an example to put it in solr.xml? How is the
> xml structure look like for enabling this property?
>
>
> markrmiller wrote:
>
>> Yes - try adding it to solr.xml - thats where the CoreContainer looks
>> for it.
>>
Thanks !!! Can you please give an example to put it in solr.xml? How is the
xml structure look like for enabling this property?
markrmiller wrote:
>
> Yes - try adding it to solr.xml - thats where the CoreContainer looks
> for it.
>
> --
> - Mark
>
> http://www.lucidimagination.com
>
>
>
Yes - try adding it to solr.xml - thats where the CoreContainer looks
for it.
--
- Mark
http://www.lucidimagination.com
djain101 wrote:
> Any help is much appreciated.
>
> Thanks,
> Dharmveer
>
>
> djain101 wrote:
>
>> Hi,
>>
>> We have set false
>> in solrconfig.xml for all the cores but
I would like to build the value of a field based on the value of multiple other
fields at submission time. I.e. I would like to submit a document such as;
foo
baa
And would like SOLR to store the document as
foo
baa
foo:baa
Just to complicate matters I would like the aggregated field to be
Any help is much appreciated.
Thanks,
Dharmveer
djain101 wrote:
>
> Hi,
>
> We have set false
> in solrconfig.xml for all the cores but still whenever any configuration
> error occurs search does not work in any of the cores. Is there any other
> configuration we have to set so as to not affe
Hi
I am deploying solr in jboss and is indexing data from db.
Everything works fine and i am getting correct response.
But the log message that is getting print in the server console, in my case
jboss, is showing status as error.
Why is this showing as ERROR, even though things are working fine
Hi,
It seems like the problem can be on two layers: 1) getting the right
contents of stop* files for Carrot2, 2) making sure Solr picks up the
changes.
I tried your quick and dirty hack too. It didn't work also. phase like
> "Carbon Atoms in the Group" with "in" still appear in my clustering labe
> I currently have highlighting working, but when I search for
> Query: "smith~ category_id:(1 OR 2 OR 3)"
> Results: "name: Mr. John Smith,
> addresses: 1 Main St, NYC,
> NY, 552666"
> Why does it show highlights on the addresses, when I
> specifically sent in a
> query for category_id? When I s
seems to be an error with curl
Kevin Miller-17 wrote:
>
> I am getting the same error message. I am running Solr on a Windows
> machine. Is the commit command a curl command or is it a Solr command?
>
>
> Kevin Miller
> Web Services
>
> -Original Message-
> From: Grant Ingersoll
Hi,
I'm writing a function query to score documents based on Levenshtein
distance from a string. I want my function calls to look like:
lev(myFieldName, 'my string to match')
I'm running into trouble parsing the string I want to match ('my string to
match' above). It looks like all the built in
Hi Staszek,
I tried your quick and dirty hack too. It didn't work also. phase like
"Carbon Atoms in the Group" with "in" still appear in my clustering labels.
What i did is,
1. use "java uf carrot2-mini.jar stoplabels.en" command to replace the
stoplabel.en file.
2. apply clustering patch. re-co
I am getting the same error message. I am running Solr on a Windows
machine. Is the commit command a curl command or is it a Solr command?
Kevin Miller
Web Services
-Original Message-
From: Grant Ingersoll [mailto:gsing...@apache.org]
Sent: Tuesday, September 08, 2009 12:52 PM
To: so
On Tue, Sep 8, 2009 at 9:56 PM, Grant Ingersoll wrote:
>
> On Sep 8, 2009, at 5:11 AM, Wang Guangchen wrote:
>
> Hi Staszek,
>>
>> I try to apply the stoplabels with the instructions that you given in the
>> solr clustering Wiki. But it didn't work.
>>
>> I am runing the patched solr on tomcat.
I currently have highlighting working, but when I search for
Query: "smith~ category_id:(1 OR 2 OR 3)"
Results: "name: Mr. John Smith, addresses: 1 Main St, NYC,
NY, 552666"
Why does it show highlights on the addresses, when I specifically sent in a
query for category_id? When I set hl.requireFi
solr/examples/exampledocs/post.sh does:
curl $URL --data-binary '' -H 'Content-type:text/xml;
charset=utf-8'
Not sure if that helps or how it compares to the book.
On Sep 8, 2009, at 1:48 PM, Kevin Miller wrote:
I am using the Solr nightly build from 8/11/2009. I am able to
index my
docu
I am using the Solr nightly build from 8/11/2009. I am able to index my
documents using the Solr Cell but when I attempt to send the commit
command I get an error. I am using the example found in the Solr 1.4
Enterprise Search Server book (recently released) found on page 84. It
shows to commit
I'm trying to create data backups using the ReplicationHandler's built in
functionality. I've configured my master as
http://wiki.apache.org/solr/SolrReplication documented :
...
optimize
...
but I don't see any backups created on the master. Do I need the snapshooter
scrip
--- On Tue, 9/8/09, Dean Pullen wrote:
> From: Dean Pullen
> Subject: Whitespace in query
> To: "solr-user@lucene.apache.org"
> Date: Tuesday, September 8, 2009, 7:10 PM
> Hi all,
>
> I'm trying to filter by a 'document name' which has spaces
> in it.
> (E.g. "docname:Struts 1" )
You can tr
Hi all,
I'm trying to filter by a 'document name' which has spaces in it.
(E.g. "docname:Struts 1" )
However, the query parameter throws an exception:
[08 Sep 2009 17:01:36] DEBUG httpclient.wire.header - >> "GET
/solr/select/?q=((docname:Struts 1))&fl=id&start=0&rows=1 HTTP/1.1[\r][\n]"[08
S
there are clustering libraries like
http://bonsai.ims.u-tokyo.ac.jp/~mdehoon/software/cluster/, that have
bindings to perl/python, you can preprocess your results and create
clusters for each zoom level
On Tue, Sep 8, 2009 at 8:08 AM, gwk wrote:
> Hi,
>
> I just completed a simple proof-of-concept
Thanks for the answer.
However we don't have strong performance issue (for now) and it that case,
how do you face query where time part is missing ?
On Tue, Sep 8, 2009 at 17:44, Silent Surfer wrote:
> Hi,
>
> If you are still not went live already, I would suggest to use the long
> instead of d
Hi,
If you are still not went live already, I would suggest to use the long instead
of date field. According to our testing, search based on date fields are very
slow when compared to search based on long field.
You can use System.getTimeInMillis() to get the time
When showing it to the user, a
Hi there,
I try to apply the stoplabels with the instructions that you given in the
> solr clustering Wiki. But it didn't work.
>
> I am runing the patched solr on tomcat. So to enable the stop label. I add
> "-cp " in to my system's CATALINA_OPTS. I
> tried to change the file name from stoplabels
Hi,
I just completed a simple proof-of-concept clusterer component which
naively clusters with a specified bounding box around each position,
similar to what the javascript MarkerClusterer does. It's currently very
slow as I loop over the entire docset and request the longitude and
latitude of ea
All the follwing ".getTextContent()" failed , which caused my local solr build
failed, althogh it is just sync-ed with the SVN build.
list.add(nodeList.item(i).getTextContent());
assertEquals("prefix-proptwo-suffix", nl.item(0).getTextContent());
Node node = solrConfig.getNode("propTest", tr
The following works on the example data for me:
http://localhost:8983/solr/select?q=*:*&fq={!tag=foo}cat:memory&facet=true&facet.field={!ex=foo}cat
What's the line in the solr log after the exception (it should contain
the parameters solr thinks it got)?
-Yonik
http://www.lucidimagination.com
Mmmm
2009/9/8 Yonik Seeley :
> This should work, and there are unit tests. Make sure the server you
> are talking to is a recent release of 1.4, and then get the full stack
> trace from the solr server.
>
I'm running the release with the following in the CHANGES.txt file.
$Id: CHANGES.txt 81224
On Sep 8, 2009, at 5:10 AM, Marcin Kuptel wrote:
Hi,
How can I make this kind of query work:
...&fl=Output Channels
where "Output Channels" is the name of a field? Escaping the
whitespace in the field's name does not seem to work.
I don't think whitespace in a field name is ever recommen
On Sep 8, 2009, at 5:11 AM, Wang Guangchen wrote:
Hi Staszek,
I try to apply the stoplabels with the instructions that you given
in the
solr clustering Wiki. But it didn't work.
I am runing the patched solr on tomcat. So to enable the stop label.
I add
"-cp " in to my system's
CATALINA
Not directly related to geo clustering, but http://issues.apache.org/jira/browse/SOLR-769
is all about a pluggable interface to clustering implementations.
It currently has Carrot2 implemented, but the APIs are marked as
experimental. I would definitely be interested in hearing your
exper
This should work, and there are unit tests. Make sure the server you
are talking to is a recent release of 1.4, and then get the full stack
trace from the solr server.
-Yonik
http://www.lucidimagination.com
On Tue, Sep 8, 2009 at 9:08 AM, gareth
rushgrove wrote:
> Thanks for the quick replies
Thanks for the quick replies guys. Afraid that didn't work.
2009/9/8 gwk :
>
> Try removing the space between de closing bracket } and the field name, I
> think that should work.
>
I tried:
http://172.16.142.130:8983/solr/products/select/?q=material:metal&fq={!tag=colour}colour:Red&start=24&rows
Hi Gareth,
Try removing the space between de closing bracket } and the field name,
I think that should work.
Regards,
gwk
gareth rushgrove wrote:
Hi All
Hoping someone might be able to help me with a problem.
I downloaded and got up and running with the latest nightly release of Solr:
ht
Try changing
{!ex=colour}%20material
to
{!ex=colour}material
local params syntax is a prefix to a parameter value - whitespace
might be significant so it is not removed.
-Yonik
http://www.lucidimagination.com
On Tue, Sep 8, 2009 at 8:53 AM, gareth
rushgrove wrote:
> Hi All
>
> Hoping someone m
Hi All
Hoping someone might be able to help me with a problem.
I downloaded and got up and running with the latest nightly release of Solr:
http://people.apache.org/builds/lucene/solr/nightly/solr-2009-09-08.zip
In order to try out the tagging and excluding filters which have a
note saying they
Hi all,
I'm currently trying to build something similar to Lucid
imaginations's Solr showcase. There you can select a single message
and get all the related messages from the same thread as a menu on the
left.
How is that done? Is that menu using Solr's More Like This feature?
How is the
On Tue, Sep 8, 2009 at 2:40 PM, Marc Sturlese wrote:
>
> I'm wondering if I write a second transformer and put it in
> data-config.xml
> after CustomTransformer1. Will the input value of the row in the second
> transformer be the result of the transformed row in the CustomTransfomer1
> or
> will
Hi Staszek,
I try to apply the stoplabels with the instructions that you given in the
solr clustering Wiki. But it didn't work.
I am runing the patched solr on tomcat. So to enable the stop label. I add
"-cp " in to my system's CATALINA_OPTS. I
tried to change the file name from stoplabels.txt to
Hi,
How can I make this kind of query work:
...&fl=Output Channels
where "Output Channels" is the name of a field? Escaping the whitespace
in the field's name does not seem to work.
Regards,
Marcin Kuptel
Hey there, I am using DIH to import a db table and and have writed a custom
transformer following the example:
package foo;
public class CustomTransformer1{
public Object transformRow(Map row) {
String artist = row.get("artist");
if (artist != null)
Hi all,
I'm currently facing a little difficulty to index and search on date field.
The indexing is done in the right way (I guess) and I can find valid date in
the field like "2009-05-01T12:45:32Z". However when I'm searching the user
don't always give an exact date. for instance they give "2008-
Hi,
I'm working on a search-on-map interface for our website. I've created a
little proof of concept which uses the MarkerClusterer
(http://code.google.com/p/gmaps-utility-library-dev/) which clusters the
markers nicely. But because sending tens of thousands of markers over
Ajax is not quite
65 matches
Mail list logo