On Thu, Jul 14, 2011 at 8:43 PM, Lucas Miguez wrote:
> Thanks for your help!
>
> DIH XPathEntityProcessor helps me to index the XML Files, but, does it
> help to me to know from where the node comes? Following the example in
> my previous post:
>
>>> example: Imagine that the user search the word
you need to give us some more info in order to give you meaningful
assistance..
1) what does your solr.xml look like?
2) what files/directories are in pathToSolrHome?
3) what is the full stack trace?
: Hi,
:
: I tried to create a solr core but I always get "No such solr core:"-Exception.
:
:
I tried putting single quote like following, it does not work.
deletedPkQuery="select p.pId as id from products p join products_large
pl on p.pId=pl.pId where p.pId= '${dataimporter.delta.id}' and
pl.deleted='' having count(*)=0"
I don't have quotes in where p.pId =${dataimporter.delta.id} for my
: We have set locktype to simple in solrconfig.xml using:
: simple. However on the page
: localhost:8983/solr/admin/cores shows:
:
:
org.apache.lucene.store.MMapDirectory:org.apache.lucene.store.MMapDirectory/solr-cores/core0/data/index
: lockFactory=*org.apache.lucene.store.NativeFSLockFact
: return IndexReader.open(FSDirectory.open(new
: File(h.getCore().getIndexDir())), true);
: }
:
: *org.apache.lucene.index.IndexNotFoundException: no segments* file found in
I haven't dug into it, but i seem to recall that there were some changes a
while back to the TestHarness and
: I using solr 3.3 which in schema.xml contain this :
...
: however, when I try on /analysis.jsp, it show difference result compare to
: using Lucene.
...
: so my question is, how to make it analysis like in Lucene ?
To be certain of the differences, you need to be more explicit
: Sorry I should have made the objectives clear. The goal is to reduce the
: index size by avoiding TermFrequency stored in the index (in .frq
: segment files).
Hmmm... why?
you're talking about eliminating a single (compressed) int per term, and
yet you want positions which take up a lot mor
i don't know about the path, TestHarness chose it (seems like a temporary
directory). Does this work for you?
assertU(adoc(id, "0", "url", getURL(docUID), content, "blah blah
blah");
assertU(commit());
assertNumFound(1); //this is a helper method of mine
IndexReader.open(F
On Thu, Jul 14, 2011 at 1:39 AM, Elaine Li wrote:
> Hi Folks,
>
> I am trying to use the deletedPkQuery to enable deltaImport to remove
> the inactive products from solr.
> I am keeping getting the syntax error saying the query syntax is not
> right. I have tried many alternatives to the followin
On Thu, Jul 14, 2011 at 12:29 AM, Jamie Johnson wrote:
> Reading the SolrCloud wiki I see that there are goals to support
> different shardding algorithms, what is currently implemented today?
> Is the shardding logic the responsibility of the application doing the
> index?
>
Nothing has been co
On Thu, Jul 14, 2011 at 1:56 PM, Gabriele Kahlout
wrote:
> IndexReader getReader() throws CorruptIndexException, IOException {
>return IndexReader.open(FSDirectory.open(new
> File(h.getCore().getIndexDir())), true);
>}
>
> *org.apache.lucene.index.IndexNotFoundException: no segments*
On Fri, Jul 15, 2011 at 12:33 AM, Anirudha Jadhav wrote:
> Is this implemented ? I was just seeing the doc-wiki , was not sure if it
> was up-to-date.
>
No, this is not implemented yet.
You may want to see:
http://wiki.apache.org/solr/LotsOfCores
https://issues.apache.org/jira/browse/SOLR-880
h
You're in XML so you must escape it properly with & etc.
> Hi:
>
> I am using the solr.PatternReplaceFilterFactory with pattern as follows to
> escape ampersand and $ signs:
>
> replacement="" />
>
> I am getting error due to embedded ampersand
>
> [Fatal Error] schema.xml:
Hi:
I am using the solr.PatternReplaceFilterFactory with pattern as follows to
escape ampersand and $ signs:
I am getting error due to embedded ampersand
[Fatal Error] schema.xml:82:71: The entity name must immediately follow the '&'
in the entity reference.
Exception in thread "main
I am using the trunk version of solr and I am getting a ton more logging
information than I really care to see and definitely more than 1.4, but I cant
really see a way to change it.
A little background:
I am faceting on fields that have a very high number of distinct values and
also returning
Is this implemented ? I was just seeing the doc-wiki , was not sure if it
was up-to-date.
Are there any specific resources for someone new to start working,
contributin Solr code viz.
current architecture, steps to compile and get it to build from source.
thanks a lot
--
Anirudha
Hi Jörg,
what exactly do you mean by "it doesn't work"? Is there some kind of error
message?
In any case you will at least want to url_encode() the data you add into
that Curl url.
Generally:
- You can import data e.g. via a CSV file
- You can use the Solr PHP PECL extension (which offers a few
Joerg -
In your PHP code, you can create a snippet of XML with your fields and send
that to your solr server via a form post. Example of XML Schema here
http://wiki.apache.org/solr/UpdateXmlMessages.
> Date: Thu, 14 Jul 2011 20:48:20 +0200
> Subject: import Data via PHP
> From: joerg.ag...@
hallo users...
i have a Problem..
I have ti indexin Data via PHP.. the Information for data existing... and
the Fiels too..
"fields id, name, url, color, size" are existing in schema, and it work..
But how can i send it to solr, i try it with curl.. but it dosent work
curl "
http://myserver
This will be much easier on an XML database, because that supports XPath
natively.
For open source, try eXist.
For a commercial XML database, try MarkLogic (much, much faster than eXist).
wunder
Walter Underwood
Lead Engineer, MarkLogic
www.marklogic.com
On Jul 14, 2011, at 12:31 AM, Lucas Mig
Thanks Edorado. I will try installing manually.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Upgrading-solr-from-1-4-to-latest-version-tp3164312p3169768.html
Sent from the Solr - User mailing list archive at Nabble.com.
I'm also open to ideas on useful ways to use XInclude while only
targeting a single element. I haven't been able to come up with a way
that that's useful enough for me, but maybe I'm not thinking about the
problem from the proper point of view. For the schema, I could have
the types as a single i
I have eventually gotten it to work with the following:
fq=supplierName:"first" + supplierName:"second" + supplierName:"third"
...
Thanks.
On Thu, Jul 14, 2011 at 4:14 PM, Kissue Kissue wrote:
> I have tried this but not working too. Thanks for your help.
>
>
>
> On Thu, Jul 14, 2011 at 3:
When I used "group=true" in ver3.4, then I get the numFound includes grouped
record, but I don't get the numFound without grouped, what about I do?
Thanks.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Problem-with-numFound-of-grouped-tp3169450p3169450.html
Sent from the Sol
I have tried this but not working too. Thanks for your help.
On Thu, Jul 14, 2011 at 3:59 PM, Edoardo Tosca wrote:
> As far as i know if you add multiple FQs they will be joined always with
> AND.
> You can do something like
> fq={!q.op=OR df=supplierName}first second third ...
>
> HTH
>
> Edo
>
Thanks for your help!
DIH XPathEntityProcessor helps me to index the XML Files, but, does it
help to me to know from where the node comes? Following the example in
my previous post:
>> example: Imagine that the user search the word "zona", then I have to
>> show the TitleP, the TextP, the TitlePa
As far as i know if you add multiple FQs they will be joined always with
AND.
You can do something like
fq={!q.op=OR df=supplierName}first second third ...
HTH
Edo
On Thu, Jul 14, 2011 at 3:50 PM, Kissue Kissue wrote:
> No its not a multivalue field. Yes i can see that it looks like its doing
No its not a multivalue field. Yes i can see that it looks like its doing an
AND on all the filter values but how can i get it to do an OR?
I just want it to return documents that have any of the supplied values as
their supplier name.
I have also tried: solrQuery.addFilterQuery(arrayOfSupplierNam
I think that at the moment there isn't any Ubuntu package available with
solr 3.x
My suggestion is to uninstall it (via apt-get) and "install" solr manually
in your /opt or wherever you want
After all what you have to do is easily extract the zipped archive.
Edo
On Wed, Jul 13, 2011 at 1:35 AM,
So with
&fq=supplierName:first&fq=supplierName:second
you don't get any results?
is this field a multivalue?
Mutliple FQs are evaluated as AND
so your document must have in supplierName both "first" and "second"
Edo
On Thu, Jul 14, 2011 at 3:00 PM, Kissue Kissue wrote:
> Thanks for yo
Thanks for your response.
Actually the elements are composed as follows:
&fq=first&fq=second
But using Solr admin query screen i have modified the query to:
&fq=supplierName:first&fq=supplierName:second
i still get the same results.
I will try to use solrQuery.addFilterQuery(
Hi,
have you tried with:
solrQuery.addFilterQuery(arrayOfSupplierNames) ?
other question, is every element of your array composed in this way:
supplierName:FIRST
supplierName:SECOND
etc..
HTH
edo
On Thu, Jul 14, 2011 at 2:18 PM, Kissue Kissue wrote:
> Hi,
>
> I am using Solr 3.1 with SolrJ. I
Hi All
I worked without integrating UIMA in to Solr but doing it seperately..and it
worked now!
I did not use the Solr-UIMA update processor this time. What I did is this:
1) Take the document, extract the static fields i need... and later send it
in to the pipeline.
2) Take the output of the pip
On Thu, Jul 14, 2011 at 8:42 AM, Zoltan Altfatter wrote:
> Would be interested in the status of the development in returning the
> distance in a spatial query?
This is a feature in trunk (pseudo-fields).
For example:
fl=id,score,geodist()
-Yonik
http://www.lucidimagination.com
Hi,
I am using Solr 3.1 with SolrJ. I have a field called supplierName in my
index which i am trying to do filtering on. When i select about 5 suppliers
to filter on at the same time and use their supplier name to contruct a
filter query i do not get any results but when i filter which each
indivi
I once achieve this by using the highlighting feature, I don't know if there
is a more direct way of doing it.
On Wed, Jul 13, 2011 at 1:51 PM, Lucas Miguez wrote:
> Hi all,
>
> I have a multivalued field. I need to make a search in the multivalued
> field and get only the values that match with
Hi,
Would be interested in the status of the development in returning the
distance in a spatial query?
I would need the distance to be returned but also would need the
document score which is related to other criteria.
I am using solr 3.1.
Zoltan
Yes, i had some tokenizer like this:
Now i removed the - from this tokenizer and the debugQuery looks like this:
(name:arsenal | city:arsenal)~1.0 (name:\- | city:\-)~1.0 (name:london |
city:london)~1.0
Still i get no results..
--
View this message in context:
http://lucene.472066.n3.nabble
Hi
Do Stored field values get added to the index for each document field
combination literally or is a pointer used ?
I've been reading http://lucene.apache.org/java/2_4_0/fileformats.pdf
and I think thats the case but not 100% so thought I'd ask.
In logical terms for stored fields do we get this
(11/07/14 13:12), Pawan Darira wrote:
Hi
my readercycle script is not reloading the searcher. where i may be wrong.
please help
readercycle is somewhat old or broken and it's been removed at SOLR-2046.
I recommend you to use commit script instead:
https://issues.apache.org/jira/browse/SOLR-20
use* keywordfilter *that will helpfull for your requirement
Thanks and Regards,
S SYED ABDUL KATHER
9731841519
On Thu, Jul 14, 2011 at 2:57 PM, Mohammad Shariq [via Lucene] <
ml-node+3168601-303697702-389...@n3.nabble.com> wrote:
> I need exact match On Phras
Have a look at
http://wiki.apache.org/solr/DataImportHandler#XPathEntityProcessor
It might be just what you need?
-Mike
On 7/14/2011 3:31 AM, Lucas Miguez wrote:
Hi,
yes, I was asking about it, is it possible to index an XML file?
Is it possible to know which node of the XML the search resu
See the Yonik's reply : http://search-lucene.com/m/tCmky1v94D92/
In short you need to use NamedList getResponse().
> I am currently trying to run a
> collapsable query using SolrJ using SolR 3.3.
> The problem is that when I run the query through the web
> interface, with
> this url:
>
> http:/
Not sure but, don't you need to use CommonGramsQueryFilterFactory at query time?
http://lucene.apache.org/solr/api/org/apache/solr/analysis/CommonGramsQueryFilter.html
--- On Thu, 7/14/11, Mohammad Shariq wrote:
> From: Mohammad Shariq
> Subject: how to do ExactMatch for PhraseQuery
> To: sol
Easy, the hyphen is out on its own (with spaces on either side) and is probably
getting removed from the search by the tokenizer. Check your analysis.
François
On Jul 14, 2011, at 6:05 AM, roySolr wrote:
> It looks like it's still not working.
>
> I send this to SOLR: q=arsenal \- london
>
>
It looks like it's still not working.
I send this to SOLR: q=arsenal \- london
I get no results. When i look at the debugQuery i see this:
(name: arsenal | city:arsenal)~1.0 (name: \ | city:\)~1.0 (name: london |
city: london)~1.0
my requesthandler:
dismax
2011/7/13 Sowmya V.B.
> Hello Tomasso
>
> Thanks for the reply.
>
> I did added uima chain to /javabin handler as you suggested. Now, I get an
> internal server error!
>
> Here is the stacktrace.
>
> request:
> http://localhost:8080/apache-solr-3.3.0/update/javabin?wt=javabin&version=2
> org.apac
thanks!
I use the escape function of the solr pecl package to escape special
characters
http://docs.php.net/manual/kr/solrutils.escapequerychars.php
--
View this message in context:
http://lucene.472066.n3.nabble.com/character-in-search-query-tp3168604p3168638.html
Sent from the Solr - User mai
Using '\' to escape.
--
View this message in context:
http://lucene.472066.n3.nabble.com/character-in-search-query-tp3168604p3168612.html
Sent from the Solr - User mailing list archive at Nabble.com.
using '\' to escape.
Best Wishes.
--
Best wishes
James Bond Fang
方 振鹏
Dept. Software Engineering
Xiamen University
-- Original --
From: "roySolr";
Date: 2011年7月14日(星期四) 下午5:29
To: "solr-user";
Subject: - character in se
Hello,
I have some problem with characters in the search term. I have some query's
like this:
Arsenal - london
Ajax - amsterdam
Arsenal - moskou
Arsenal - China
When i send arsenal - london to SOLR i get 2 results, China and moskou. I
looked in the debugQuery and it looks like solr is searching
I need exact match On PhraseQuery.
when I search for the phrase "call it spring" I get the result for :
1) It's spring
2) The spring
but my requirement is ExactMatch for PhraseQuery.
my search field is text.
Along with PhraseQuery I am doing RegularQuery too.
how to tune the solr to do Exactmatc
well i know it is totally weird... i have tried many things , including the
ones in this forum, but the result is the same... somehow some words are
just invisible...
-
Zeki ama calismiyor... Calissa yapar...
--
View this message in context:
http://lucene.472066.n3.nabble.com/invisible-wor
You can use lucene for doing this. It provides TermEnum API to enumerate all
terms of field(s).
SOLR-1.4.+ also provides a special request handler for this purpose. Check
it if that helps
Thanx
Pravesh
--
View this message in context:
http://lucene.472066.n3.nabble.com/Is-it-possible-to-extract
I am currently trying to run a collapsable query using SolrJ using SolR 3.3.
The problem is that when I run the query through the web interface, with
this url:
http://localhost:8080/solr/select/?q=attr_content%3Alynx&sort=attr_location+desc&group=true&group.field=attr_directory
I am able to see t
IndexReader getReader() throws CorruptIndexException, IOException {
return IndexReader.open(FSDirectory.open(new
File(h.getCore().getIndexDir())), true);
}
*org.apache.lucene.index.IndexNotFoundException: no segments* file found in
org.apache.lucene.store.NIOFSDirectory@/private/var/f
hey
We have set locktype to simple in solrconfig.xml using:
simple. However on the page
localhost:8983/solr/admin/cores shows:
org.apache.lucene.store.MMapDirectory:org.apache.lucene.store.MMapDirectory/solr-cores/core0/data/index
lockFactory=*org.apache.lucene.store.NativeFSLockFactory*@3415d
Hi,
yes, I was asking about it, is it possible to index an XML file?
Is it possible to know which node of the XML the search result comes from?
So I have 2 XML files, the original and the summary. I want to index
the summary. So, that is an example of the summary XML:
A.
Strange .. the only other difference that I see is the different
configurations for the word delimiter filter, with the catenatewords
and catenatenumbers @ index and query but it should not impact normal
word searches.
As others suggested, you may just want to use the same chain for both
Index and
Hello Everyone,
How to extract all the tokens from solr, not from one document but from all
the documents indexed in solr?
- Thanks
60 matches
Mail list logo