error faced on line
solrCore.add(docs);
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.solr.common.params.SolrParams.wrapDefaults(Lorg/apache/solr/common/params/SolrParams;Lorg/apache/solr/common/params/SolrParams;)Lorg/apache/solr/common/params/SolrParams;
at
org.apache.s
i found it error was appearing because i included a a lib file
solr-common-1.3.0.jar
On Thu, Jul 12, 2012 at 1:34 PM, Sachin Aggarwal wrote:
> error faced on line
>
> solrCore.add(docs);
>
> Exception in thread "main" java.lang.NoSuchMethodError:
> org.apache.solr.common.params.SolrParams.wrapDe
Hi,
Thanks Chris, but actually, it turns out that "query text" from elevate.xml
has to match the query (q=...). So in this case, elevation works only for
http://localhost:8080/solr/elevate?q=brain, but not for
http://localhost:8080/solr/elevate?q=indexingabstract:brain type of queries.
This could
Hi Avenka,
you asked for a HowTo to add a field "inverseID" which allows to calculate
max(id) from its first term:
If you do not use solr you have to calculate "1 - id" and store it in
an extra field "inverseID".
If you fill solr with your own code, add a TrieLongField "inverseID" and fi
Hi,
I understand that the cache for multi-value facet is multi-segment. So every
time a document is updated the entire cache needs to be rebuilt.
Is there any rule of thumb on the highest update rate NRT can handle before
this cache-rebuild-on-each-commit becomes too expensive? I know it depend
Hi, Jason,
That's a huge heap. Which Directory implementation are you using? It
might make more sense to drastically reduce that heap and let the OS
buffer the index at a lower level.
Michael Della Bitta
Appinions, Inc. -- Where Influence Isn’t a
Hi Andy,
as long as the cache for facetting is not per segment there is no NRT together
with facetting.
This is what Jason told you in
http://lucene.472066.n3.nabble.com/Nrt-and-caching-td3993612.html
and I am agree.
Possible you could use multicore.
Beste regards
Karsten
Original
don't know why but doesn't work. :(
Best Regards
Alexander Aristov
On 11 July 2012 23:54, Yury Kats wrote:
> On 7/11/2012 2:55 PM, Alexander Aristov wrote:
>
> > content:?? doesn't work :)
>
> I would try escaping them: content:\?\?\?\?\?\?
>
>
>
>
I have an indexed, not stored, not multiValued field in the schema.
If I change this field to be multiValued, would I need to re-index
everything, or would all existing documents (that were indexed while
the field was not multiValued) still be queryable?
Thanks,
Yury
Perhaps they're being displayed as question marks, but the actual
character is different?
Michael Della Bitta
Appinions, Inc. -- Where Influence Isn’t a Game.
http://www.appinions.com
On Thu, Jul 12, 2012 at 9:30 AM, Alexander Aristov
wrote:
> d
Hi Andy,
Multi-value faceting is a special case of taxonomy. So it is covered by the
"org.apache.lucene.facet" package (lucene/facet).
This is not per segment but works without "per IndexSearcher" cache.
So imho the taxonomy faceting will work with NRT.
Because of the new TermsEnum#ord() Method
it works, with a "few" changes :) I think we don't need a new issue in jura.
Solr 4.0 is no longer Solr 4.0 since late february.
There were some changes in solrconfig.xml in this time.
I migrate my solr 4.0 trunk-config, which works till late february in
a new config from 4.0 alpha.
A couple of c
Vinicius:
No, fetching the document from the index, changing selected values and
re-indexing probably
won't work at all. The problem is that you only get _stored_ values
back from Solr. So unless
you've specified 'stored="true" ' for all your fields, you can't use
the doc fetched from Solr to
upda
Bruno:
You can also reduce your memory requirements by storing fewer unique values.
All the _unique_ values for a field in the index are read in for
sorting. People often
store timestamps in milliseconds, which essentially means that every
document has
a unique value.
Storing your timestamps in t
Sure, you can have as complex an FQ clause as you need.
Best
Erick
On Thu, Jul 12, 2012 at 1:48 AM, davidbougearel
wrote:
> Ok this is the id but in fact (sorry about this) my wish is the reverse, i
> want to get just the facet for which a have the right so i want to put
> fq=user:10 in order to
On 12 July 2012 19:28, Michael Della Bitta
wrote:
> Perhaps they're being displayed as question marks, but the actual
> character is different?
This is very likely to be the case, as messing up the encoding can
leave one with entirely unexpected characters. The '?' probably
corresponds to a non-d
Erick,
On Thu, Jul 12, 2012 at 11:05 AM, Erick Erickson
wrote:
> Vinicius:
>
> No, fetching the document from the index, changing selected values and
> re-indexing probably
> won't work at all. The problem is that you only get _stored_ values
> back from Solr. So unless
> you've specified 'stored
On Thu, Jul 12, 2012 at 12:38 PM, Jonatan Fournier
wrote:
> On Thu, Jul 12, 2012 at 11:05 AM, Erick Erickson
>> The partial documents update that Jonatan references also requires
>> that all the fields be stored.
>
> If my only fields with stored="false" are copyField (e.g. I don't need
> their co
: I have an indexed, not stored, not multiValued field in the schema.
:
: If I change this field to be multiValued, would I need to re-index
: everything, or would all existing documents (that were indexed while
: the field was not multiValued) still be queryable?
usually a change like this is f
Hello all.
I have a field configured with the LowerCaseFilterFactory as the only
analyzer (for botth indexing and searching). The problem is that
facet.prefix doesn't work on that field as expected.
For example:
Indexed term: house --> LowerCaseFilterFactory applied
facet.prefix=hou --> returns a
Yonik,
On Thu, Jul 12, 2012 at 12:52 PM, Yonik Seeley
wrote:
> On Thu, Jul 12, 2012 at 12:38 PM, Jonatan Fournier
> wrote:
>> On Thu, Jul 12, 2012 at 11:05 AM, Erick Erickson
>>> The partial documents update that Jonatan references also requires
>>> that all the fields be stored.
>>
>> If my onl
I have created the following sample xslt which highlights the keyword in the
content field for anybody who wants to use it.
1) In your solrconfig.xml
...
Add following params to this defaults section
on
highlighting,title,url
xslt
custom-solr.xsl
title,content
2) Crea
: Thanks Chris, but actually, it turns out that "query text" from elevate.xml
: has to match the query (q=...). So in this case, elevation works only for
: http://localhost:8080/solr/elevate?q=brain, but not for
: http://localhost:8080/solr/elevate?q=indexingabstract:brain type of queries.
right
I'm pretty sure a sharded query/response gets tagged in a special way
that might be incompatible with multiple tiers like this.
Had you considered a single tier that consisted of a load-balanced
pool of 'aggregator' servers?
Michael Della Bitta
Ap
well it's an interesting solution but my use case is such that any of the
daily servers could hold the data for a query and hence i need an
aggregator to sum up the results. The only issue is, an aggregator could
sum up only certain number (I heard around 200) of cores. Hence I would
need to manual
When you put a backslash in a Java string you need to escape it with another
backslash:
"content:\\?\\?\\?\\?\\?\\?"
-- Jack Krupansky
-Original Message-
From: Alexander Aristov
Sent: Thursday, July 12, 2012 8:30 AM
To: solr-user@lucene.apache.org
Subject: Re: query syntax to find ??
I currently have this example test case working against lucene
RAMDirectory.
very simple test case...
https://github.com/deanhiller/nosqlORM/blob/memoryindexer/input/javasrc/com/alvazan/test/TestIndexAndOrParens.java
with this Entity and his namedQueries
https://github.com/deanhiller/nosql
Hi,
I am running solr 1.4.0+ds1-1ubuntu1. I have a master server that has a
number of solr instances running on it (150 or so), and nightly most of
them have documents written to them. The script that does these writes
(adds) does a commit and an optimize on the indexes when it's entirely
finished
On Thu, Jul 12, 2012 at 3:20 PM, Jonatan Fournier
wrote:
> Is there a flag for: if document does not exist, create it for me?
Not currently, but it certainly makes sense.
The implementation should be easy. The most difficult part is figuring
out the best syntax to specify this.
Another idea: we
Ok well i know about the complexity that i can put into fq with AND and OR
conditions but at the moment when i put fq=user:10,facet.field=user, the
query returns me all the facets not taking into account the fq=user:10
that's the problem.
--
View this message in context:
http://lucene.472066.n3.n
Whenever I reply to an email to this list I got a failure notice (please see
below)
What can I do?
Sorry, we were unable to deliver your message to the following address.
:
Remote host said: 552 spam score (6.0) exceeded threshold
(FREEMAIL_FORGED_REPLYTO,FSL_FREEMAIL_1,FSL_FREEMAIL_2,HTM
31 matches
Mail list logo