Hello,
As long as I subclass SolrTestCaseJ4 I cannot do
this.getClass().getSimpleName(), I don't understand why. I wonder if the
following complicated methods in SolrTestCaseJ4 have anything to do with
it?
protected static String getClassName() {
StackTraceElement[] stack = new
Hi all,
Can someone tell wether the query parser must always be the first step in
the processing chain, before any other filter / tokenizer hits the query?
Problem is that the user query can contain punctuation and we would like to
clean it similarly to what we do on the index side. Is there any
Hi all,
As we all have known, solr put all index files in a single directory,
namely ${datadir}/index,
but the perfomance's getting slower when the size of index dir's getting
bigger and bigger,
so I wanna split the single dir into serveral dirs, e.g. ${datadir}/index1
and ${datadir}/index2,
On Mon, May 23, 2011 at 2:39 PM, LeoYuan88 yuanlihao1...@gmail.com wrote:
Hi all,
As we all have known, solr put all index files in a single directory,
namely ${datadir}/index,
but the perfomance's getting slower when the size of index dir's getting
bigger and bigger,
so I wanna split
Hi,
Could be possible if we implement
https://issues.apache.org/jira/browse/SOLR-2136
Until then, perhaps you can try to pre-calculate a sort field during indexing,
based on input data?
You can also emulate an if() function using map() function
http://wiki.apache.org/solr/FunctionQuery#map
Hi Jason,
I got the same question with you, I'm wondering that have you figured
that out?
Plz take a look of the topic below:
http://lucene.472066.n3.nabble.com/Did-anyone-rewrite-the-solr-indexing-section-td2974539.html
Thanks in advance!
--
View this message in context:
Hi Gora,
Thanks for you quick response, I will take a look of that page.
Thanks again!
--
View this message in context:
http://lucene.472066.n3.nabble.com/Did-anyone-rewrite-the-solr-indexing-section-tp2974539p2974568.html
Sent from the Solr - User mailing list archive at Nabble.com.
Jayendra,
I cleared out my local repository, and replayed all of my steps from
Friday and it now it works. The only difference (or the only one that's
obvious to me) was that I applied the patch before doing a full
compile/test/dist. But I assumed that given I was seeing my new log
entries
Hi,
When uploading csv using
curl http://localhost:8983/solr/update/csv --data-binary @books.csv -H
'Content-type:text/plain; charset=utf-8'
as mentioned at the Wiki, you can get a missing content stream error
on the jetty console. The problem is that on Windows, the -H parameter
should be put
Hello,
We were initially doing a query with multiple OR as follows
original query AND id:(1 2 3 4 5 ...n number )
Which gave maxBoolean Exception on exceeding 1024 boolean operators
Then we changed this to a filter query as follows , as filter Query is not
supposed to result in
Sujatha,
On Mon, May 23, 2011 at 1:05 PM, Sujatha Arun suja.a...@gmail.com wrote:
Then we changed this to a filter query as follows , as filter Query is not
supposed to result in MaxBoolean Clause Exception
Where did you read this? I'm pretty sure, that both is based on the
same check for the
But this also gives the same TOO many Boolean Caluses
Exception
You can adjust that parameter in solrconfig.xml
maxBooleanClauses3024/maxBooleanClauses
I got the info from this artice
http://www.lucidimagination.com/blog/2009/06/08/bringing-the-highlighter-back-to-wildcard-queries-in-solr-14/
Yes ,I know this can be configured ,but this will not scale to n ,what is
the performance implication of this with n Boolean Clauses .
Regards
Sujatha
Not that I know of... and I'm no expert on it!! I know there are at
least two possibilities -- ChineseAnalyzer / CJKAnalyzer (from trunk's
modules/analysis), but I don't know the tradeoffs of each.
Hopefully others will chime in here?
However, once you do figure out a good schema, could you
You can use the postCommit event listener as an callback mechanism to let
you know that a commit has happened.
Bill
On Sun, May 22, 2011 at 9:31 PM, Jeff Crump jeffrey.cr...@gmail.com wrote:
I don't have an answer to this but only another question: I don't think I
can use auto-commit in my
okay. i didn find the problem =(
it sstill the same shit.
i cannot conver with DateTimeFormater dates form -00-00 =
-MM-dd'T'hh:mm:ss'Z'
i put my date fields into another entity:
entity name=dates query=SELECT * FROM consumer WHERE
id='${main.cp_id}'
field
On Mon, May 23, 2011 at 6:51 PM, stockii stock.jo...@googlemail.com wrote:
okay. i didn find the problem =(
it sstill the same shit.
i cannot conver with DateTimeFormater dates form -00-00 =
-MM-dd'T'hh:mm:ss'Z'
[...]
Please post the exact Solr exception.
Have you tried the last
yes. i put the zeroDateTimeBehavior=convertToNull to my url like:
url=jdbc:mysql://localhost/databaseName?zeroDateTimeBehavoir=convertToNull
ExceptoiN:
May 23, 2011 3:30:22 PM org.apache.solr.handler.dataimport.DataImporter
doFullImport
SEVERE: Full Import failed
the problems are not the empty -00-00 values. the problem is the missing
timestamp at the end of the string !
-
--- System
One Server, 12 GB RAM, 2 Solr Instances, 7 Cores,
1 Core with 31 Million Documents other
Hi,
I'm new in solr and would like to index documents that have complex
multivalued fields. I do want to do something like:
doc
id1/id
car
car_id1/car_id
car_colorred/car_color
/car
car
car_id2/car_id
car_colorgreen/car_color
/car
...
/doc
...
How can i
I would like to request this feature. How can I do that?
Thanks.
--
View this message in context:
http://lucene.472066.n3.nabble.com/Pivot-with-Stats-or-Stats-with-Pivot-tp2953789p2975341.html
Sent from the Solr - User mailing list archive at Nabble.com.
Let us say I have 3 fields I index
f1, f2, f3.
f1 and f2 are copied to f4.
f4 is the default searched field.
There is a value that is found in f2 and f3.
When I am searching in f3 I want to return only f3 and none other.
when I am searching in f4 I do not want to return f3.
I only want to
Hi,
I am a new user and I have installed SOLR 3.1.0 and running Tomcat 7.0.
I was able to run the example which shows the SOLR Admin screen. Also posted
an XML file by this command from dos prompt: java -jar post.jar solr.xml.
How can I get SOLR to search web sites and also search through
Anass,
what about combining them both into one? so to say:
1|red
2|green
synchronized multivalued fields are not possible, afaik.
Regards
Stefan
On Mon, May 23, 2011 at 3:40 PM, anass talby anass.ta...@gmail.com wrote:
Hi,
I'm new in solr and would like to index documents that have complex
Hi,
you could look at this recent thread [1], it is similar to your problem.
[1]
http://search.lucidimagination.com/search/document/33ec1a98d3f93217/search_across_related_correlated_multivalue_fields_in_solr#1f66876c782c78d5
--
Renaud Delbru
On 23/05/11 14:40, anass talby wrote:
Hi,
I'm
Hi,
On Mon, May 23, 2011 at 7:27 PM, bryan rasmussen
rasmussen.br...@gmail.comwrote:
Let us say I have 3 fields I index
f1, f2, f3.
f1 and f2 are copied to f4.
f4 is the default searched field.
There is a value that is found in f2 and f3.
When I am searching in f3 I want to return only
On Mon, May 23, 2011 at 7:03 PM, stockii stock.jo...@googlemail.com wrote:
yes. i put the zeroDateTimeBehavior=convertToNull to my url like:
url=jdbc:mysql://localhost/databaseName?zeroDateTimeBehavoir=convertToNull
I presume that
this is just a typo here, i.e., Behavoir
Hi,
I have been trying to set up spellchecking on our system using the
SpellCheckComponent.
According to the wiki by using spellcheck.collate any fq parameters that are
passed through to the original query while doing spellcheck will return
results if the collation is re-run. So far this has not
On Mon, May 23, 2011 at 7:40 PM, Roger Shah rs...@caci.com wrote:
Hi,
I am a new user and I have installed SOLR 3.1.0 and running Tomcat 7.0.
I was able to run the example which shows the SOLR Admin screen. Also posted
an XML file by this command from dos prompt: java -jar post.jar
Hi,
I am currently using Solr and indexing/reading my documents as POJO. The
question i have is how can i include the score in the POJO for each document
found in the index?
Thanks.
Hi,
If you mean SolrJ (as I understand by your description of POJOs), you can
add the score by setting the property IncludeScore to true. For example-
SolrQuery query = new SolrQuery().
setQuery(keyword).
*setIncludeScore(true);*
Regards,
Anuj
On Mon, May 23, 2011 at 8:31 PM, Kissue
Thank you Renaud.
I appreciate your help
On Mon, May 23, 2011 at 4:47 PM, Renaud Delbru renaud.del...@deri.orgwrote:
Hi,
you could look at this recent thread [1], it is similar to your problem.
[1]
Thanks Anuj for your reply. Would it then include it as a field in my POJO?
How do i define such field? I have a POJO with the @Field annotation which
is mapped to fields in my schema.
Thanks.
On Mon, May 23, 2011 at 4:10 PM, Anuj Kumar anujs...@gmail.com wrote:
Hi,
If you mean SolrJ (as I
Thank you very much
On Mon, May 23, 2011 at 4:27 PM, Stefan Matheis
matheis.ste...@googlemail.com wrote:
Anass,
what about combining them both into one? so to say:
1|red
2|green
synchronized multivalued fields are not possible, afaik.
Regards
Stefan
On Mon, May 23, 2011 at 3:40 PM,
Hi,
I know about the behaviour of the onlyMorePopular setting. It can return
suggestions while the actual query is correctly spelled. There is, in my
opinion, some bad behaviour, consider the following query that is correctly
spelled and yields results and never suggestions:
Hi,
On Mon, May 23, 2011 at 8:52 PM, Kissue Kissue kissue...@gmail.com wrote:
Thanks Anuj for your reply. Would it then include it as a field in my POJO?
I meant the score given by Solr in response to the search query. Is it an
application specific score that you want to include?
How do i
Richard,
To enable the guarantee you need to specify spellcheck.maxCollationTries with
a value other than zero (which is default). There is cost involved with
verifying beforehand if the collations will return hits so this feature is
off by default. Also, you may want to enable extended
Hi all,
I'm having trouble getting the basic similarity example to work. If you
notice at the bottom of the schema.xml file, there is a line there that is
commented out:
!-- similarity class=org.apache.lucene.search.DefaultSimilarity/ --
I uncomment that line and replace it with the following:
As far as i know, SweetSpotSimilarty needs be configured. I did use it once but
wrapped a factory around it to configure the sweet spot. It worked just as
expected and explained in that paper about the subject.
If you use a custom similarity that , for example, caps tf to 1. Does it then
work?
I am new to solr and am trying to determine the best way to take the text
field type (the one in the example) and add phonetic searches to it.
Currently I have done the following:
fieldType name=text class=solr.TextField positionIncrementGap=100
autoGeneratePhraseQueries=true
analyzer
Jamie,
the problem with that is that you cannot do exact matching anymore.
For this reason, it is good style to have two fields, to use a query expander
such as dismax (prefer exact matches, and less phonetic matches), and to only
use that when you sort by score.
hope it helps
paul
Le 23
Ah, yes very helpful thanks Paul. I knew there would be something that I
broke :). I will need to go back and consider the use cases and see which
will and will not require exact matches. Thanks again!
I have never heard of DisMax so this is new to me as well but have found
some posts about
Paul,
Do you have an example of how to enable this in the solr config on the
default request handler? Is it as simple as adding
str name=defTypeedismax/str
str name=qf
text^0.5 features^1.0 name^1.2 sku^1.5 id^10.0 manu^1.1 cat^1.4
/str
to the requestHandler named
Okay well this is encouraging. I changed SweetSpotSimilarity to
MyClassSimilarity. I created this class in:
lucene/contrib/misc/src/java/org/apache/lucene/misc/
I am getting a ClassNotFoundException when I try to start solr.
Here is the contents of the MyClassSimilarity file:
package
Hmm. I don't add code to Apache packages but create my own packages and
namespaces, build a jar and add it to the lib directory as specified in
solrconfig. Then you can use the FQCN to in the similarity config to point to
the class.
May be it can work when messing inside the apache namespace
Hello,
I am just getting started with Solr and have a question about date/time
indexing. I know from the javadoc documentation (
http://lucene.apache.org/solr/api/org/apache/solr/schema/DateField.html ) that
the format should be a restricted form of
I'm not sure i understand what you're looking for but if you write about
unknown values i think of lack of precission. Solr allows you to reduce
precission of dates using the flexible DateMathParser.
http://lucene.apache.org/solr/api/org/apache/solr/util/DateMathParser.html
Hello,
I am
It looks like someone asked this question a few months ago and didn't get an
answer either ...
http://lucene.472066.n3.nabble.com/Spatial-Solr-Representing-a-bounding-box-and-searching-for-it-tc2447262.html#none
I really thought this would be a pretty simple question to answer? Is there no
way
What are some ways that one can increase the performance of PayloadTermQuery's?
I'm currently getting a max of 22 QPS after 90k unique queries from a
payload-enhanced keyword field on a dataset of 18 million documents,
where a simple term search on the equivalent multivalue string field
gives a
Hi Raj,
To index files using java, use solrj:
http://www.google.com/search?q=solrjie=utf-8oe=utf-8aq=trls=org.mozilla:en-US:officialclient=firefox-a
To index files by a post request, follow this tutorial:
http://www.xml.com/pub/a/2006/08/09/solr-indexing-xml-with-lucene-andrest.html
Yuhan
On
A filter query does not affect the scoring of the document ,so is filter
query like constantScore query and hence should not be affected by the
maxBoolean clause?
Regards
Sujatha
On Mon, May 23, 2011 at 4:56 PM, Sujatha Arun suja.a...@gmail.com wrote:
I got the info from this artice
Hi all,
I took a look at:
http://lucene.472066.n3.nabble.com/Tuning-StatsComponent-td2225809.html
which is a similar problem.
I have a price field, on which I'm faceting (stats.field=price). But
the currency of those docs is different, so the returned value is
useless without converting the
52 matches
Mail list logo