ine the desired outcome. Somewhere you have
> to coordinate the requests or your index will not be what you expect.
> That is, you have to define what rules index modifications follow and
> enforce them. Perhaps you can consider a queueing mechanism of
> some sort (that you'd have to i
Also in this regard the possibility to update document without giving
all required fields
but just uniqueKey and some other data
Julian Davchev wrote:
> Hi
> I have distributed messaging solution where I need to distinct between
> adding a document and just
> trying to update it.
Hi
I have distributed messaging solution where I need to distinct between
adding a document and just
trying to update it.
Scenario:
1. message sent for document to be updated
2. meanwhile another message is sent for document to be deleted and is
executed before 1
As a result when 1 comes instead o
Hello folks,
I have two questions regarding dataimport handler. Using mysql
datasource with mysql java connector.
1. Full import works fine
http://example.com:8983/solr/dataimport?command=full-import
delta-import as well
Question is how can I figure out if there are errors when running
delta
eld Collapsing patch (searching the archives/wiki will bring up
> pointers) that can filter on stats like this?
>
> : On Mon, Nov 23, 2009 at 8:49 AM, Julian Davchev wrote:
> : > Hi folks,
> : > I got documents like
> : > user:1 num:5
> : > user:1 num: 8
> :
Hi folks,
I got documents like
user:1 num:5
user:1 num: 8
user:5 num:7
user:5 num:1
I'd like to get per user that maches sum of num range 5 to 10
In this case it should return user 5 as 7+1=8 and is within range.
User 1 will be false cause sum of num is 5+8=13 hence outside range 5
Well,
Any explanation why I get different scores then?
Yonik Seeley wrote:
> On Fri, Oct 2, 2009 at 8:16 AM, Julian Davchev wrote:
>
>> It looks for "pari" in ancestorName field but first row looks in
>> 241135 records
>> and the second row it's j
Hi,
I run debug on a query to examine the score as I was surprised of results.
Here is the diff of same explain section of two different rows that I
found troubling.
It looks for "pari" in ancestorName field but first row looks in
241135 records
and the second row it's just 187821 records
Hi,
I run debug on a query to examine the score as I was surprised of results.
Here is the diff of same explain section of two different rows that I
found troubling.
It looks for "pari" in ancestorName field but first row looks in
241135 records
and the second row it's just 187821 records
Hi,
Long story short: how can I take every 100th row from solr resultset.
What would syntax for this be.
Long story:
Currently I have lots of say documents(articles) indexed. They all have
field title with corresponding value.
atitle
btitle
.
*title
How do I build menu so I can search
om the db goes to a separate field in solr as-is .
>> Then it is very simple.
>>
>> if you need to split/join fields before feeding it into solr fields
>> you may need to apply transformers
>> an example on how your db field looks like and how you wish it to look
Hi,
We have such case...we don't want to search in all of those languages at
once but just one of them.
So we took the approach of different indexes for each language. From
what I know it helps not breaking relevance of the stats as well.
You know, how much an index is used etc etc.
If you dig in
Hi folks,
I have around 50k documents that are reindexed now and then.
Question is what would be the fastest approach to all this.
Data is just text ~20fields or so. It comes from database but is first
specially formated to get to format suitable for passing in solr.
Currently xml post is use
Hi folks
I see that when calling wt=json I get json response but headers are
text/plain which totally bugs me.
I rather expect application/json response headers.
Any pointers are more than welcome how I can fix this.
Hi,
I got several issues with custom query parser. Actually all I am doing
is extending
org.apache.solr.search.LuceneQParserPluginoverwritingpublic
QParser createParser(String qstr, SolrParams localParams,
SolrParams params, SolrQueryRequest req) {
so that I can adjust params
David Baker wrote:
> Hi,
>
> I need to upgrade from solr 1.3 to solr 1.4. I was wondering if there
> is a particular revision of 1.4 that I should use that is considered
> very stable for a production environment?
Well it it's not pronounced stable and given in download page I don't
think you can
t; request handler:
>
> http://e-mats.org/2008/06/writing-a-solr-analysis-filter-plugin/
>
> Hope that helps.
>
> --mats
>
> On Wed, Jun 24, 2009 at 12:54 PM, Julian Davchev wrote:
>
>
>> Well it's really lovely whats in there but this is just configur
lugin/
>
> Hope that helps.
>
> --mats
>
> On Wed, Jun 24, 2009 at 12:54 PM, Julian Davchev wrote:
>
>
>> Well it's really lovely whats in there but this is just configuration
>> aspect. Is there sample where should I place my class etc
>> and howto c
ोब्ळ् wrote:
> this part of the doc explains what you shold do to write a custom
> requesthandler
>
> http://wiki.apache.org/solr/SolrPlugins#head-7c0d03515c496017f6c0116ebb096e34a872cb61
>
> On Wed, Jun 24, 2009 at 3:35 AM, Julian Davchev wrote:
>
>> Is it just me or th
gt;> play with it. However, the Reuters demo site was very easy to customize to
>> interact with my own Solr instance, and I went from there.
>>
>>
>> On Jun 23, 2009, at 11:30 AM, Julian Davchev wrote:
>>
>> Never used it.. I am just looking in docs how
gt;>
>
>
>> Like most things JavaScript, I found that I had to just dig through it and
>> play with it. However, the Reuters demo site was very easy to customize to
>> interact with my own Solr instance, and I went from there.
>>
>>
>> On Jun 23, 2009, at
nowhere in docs how is this done.
Julian Davchev wrote:
> Hi,
> I have build spellcheck dictionary based on name field.
> It works like a charm but I'd like to limit the returned suggestion.
> For example we have following sturcutre
>
> id name type
> 1
looking for!
>
> Eric
>
> On Jun 23, 2009, at 10:27 AM, Julian Davchev wrote:
>
>> I am using solr and php quite nicely.
>> Currently the work flow includes some manipulation on php side so I
>> correctly format the query string and pass to tomcat/solr.
>> I somehow
Hi,
Might be normal but I am confused why EnglishPorterFilterFactory
transforms germany to germani
Cheers
I am using solr and php quite nicely.
Currently the work flow includes some manipulation on php side so I
correctly format the query string and pass to tomcat/solr.
I somehow want to build own request handler in java so I skip the whole
apache/php request that is just for formating.
This will saves
Hi,
I have build spellcheck dictionary based on name field.
It works like a charm but I'd like to limit the returned suggestion.
For example we have following sturcutre
id name type
1Berlin city
2berganphony
So when I search for suggested words of "ber" I wou
Hi
Where can I read about understanding solr stats.
I got this in cache section but kinda not talking too much to me.
lookups : 149272
hits : 135267
hitratio : 0.90
inserts : 14018
evictions : 13506
size : 512
warmupTime : 0
cumulative_lookups : 7188459
cumulative_hits : 5429817
cumulative_hitrati
Hi,
Using solr 1.3
Where can I read thorough explanation how solrconfig and shema are
interalted and how all those requests etc work.
For example here...
http://wiki.apache.org/solr/SpellCheckComponentI read YOU WILL
LIKELY WANT TO BIND THE COMPONENT TO THE /select STANDARD REQUEST
HANDLER
Hi,
I got solr setup working smoothly with tomcat and all.
In general the application I use solr for is php driven but I somehow
want to remove this extra roundtrip to php that is made when I call solr
from javascript.
So bottom line I'd like to change this:
JS -> tiny php(apache processed etc) ->
Hi,
I am reading http://issues.apache.org/jira/browse/SOLR-218 and see
leading wildcard search is not possible.
Any pointers how I can implement/use search kinda search.
Using solr 1.3
Hi folks,
I am reading this issue and from what I see it's not possible yet to
search with first char wildcard.
http://issues.apache.org/jira/browse/SOLR-218
Are there any workarounds or anyway at all I could allow such search. I
looked into whole 2008,2009 mail archive but couldn't find anything.
uld be 'munchen'. Straight English
>> would be unaffected by the filter, but any German words with
>> diacritics that crept in would be folded into their low-ascii
>> "equivalents". This would also work at index time, just in case
>> you indexed English text
Hi,
I am doing fuzzy search. And works correctly. For some reason though it
has problems with uppercase words.
e.g if I search moo~I get results but if I do Moo~ I don't.
I see in analyzer that LowerCaseFilterFactory is hitting but I gess with
fuzzy it's getting messy.
Any clue someone?
Ch
Hi,
I currently have two indexes with solr. One for english version and one
with german version. They use respectively english/german2 snowball
factory.
Right now depending on which language is website currently I query
corresponding index.
There is requirement though that stuff is found regardless
I kinda don't get why would you reindex all data at once?
Each document has unique id you will reindex only whats needed. Also
if too many stuff I'd suggest using some
batch processor that will add N tasks with range query 1:10 10:20
etc... and cronjob executing those. Thousends seems ok but w
Hi,
I am trying to utilize solr into an autocomplete thingy.
Let's assume I query for 'foo'.
Assuming we work with case insensitive here.
I would like to have records returned in specific order. First all that
have exact match, then all that start with Foo in alphabetical order,
then all that con
Hi,
Any documents or something I can read on how locks work and how I can
controll it. When do they occur etc.
Cause only way I got out of this mess was restarting tomcat
SEVERE: org.apache.lucene.store.LockObtainFailedException: Lock obtain
timed out: SingleInstanceLock: write.lock
Cheers,
Not sure what you mean but you can always escape query special characters
and then enclose whatever passed in double quotes. This way you'll have
it treated as phrase each time.
http://lucene.apache.org/java/2_4_0/queryparsersyntax.html
Scroll to 'escaping special characters'
+ - && || ! ( ) { }
Hi,
Is there anything special that can be done for sanitizing user input
before passed as query to solr.
Not allowing * and ? as first char is only thing I can thing of right
now. Anything else it should somehow handle.
I am not able to find any relevant document.
/SolrTomcat#head-024d7e11209030f1dbcac9974e55106abae837ac
Links again are all smooth for admin and all but I still get 500 on pings :(
Is everyone using solr with single index(core) ?
Cheers
All setup is smooth, working
Julian Davchev wrote:
> Hi,
>
> I am trying with 1.3.
uild?
>
>
> Otis
> --
> Sematext -- http://sematext.com/ -- Lucene - Solr - Nutch
>
>
>
> - Original Message
>
>> From: Julian Davchev
>> To: solr-user@lucene.apache.org
>> Sent: Thursday, January 15, 2009 9:53:37 AM
>> Subject: Is it just me
Hi,
I am trying to setup multicore solr. So I just download default one with
jetty...goto example/
and run
java -Dsolr.solr.home=multicore -jar start.jar
All looks smooth without errors on startup.
Also can can open admin at
http://localhost:8983/solr/core1/admin/
But then trying to ping
h
se multi core .
>
> Please advice which is better in terms of scaling ,optimum use of existing
> resources (available ram which is abt 4GB for several instances of solr) .
>
> If we use multicore ,will it degrade in terms of speed etc?
>
> Any pointers will be helpful
>
ng concerns (if there are any). There are
>>> strong differences in the number of searches we receive for each
>>> language. We chose to create separate schema and config per language so
>>> that we can throw servers at a particular language (or set of languages)
Hi,
>From my study on solr and lucene so far it seems that I will use single
scheme.at least don't see scenario where I'd need more than that.
So question is how do I approach multilanguage indexing and multilang
searching. Will it really make sense for just searching word..or rather
I should s
Hi,
I am just going through
http://wiki.apache.org/solr/AnalyzersTokenizersTokenFilters and maillist
archive
but somehow can't find the solution. Is it possible that I treat
'möchten' , 'mochten' and 'moechten' the same way.
Of course not hardcoding this but rather work for any umlaut.
Cheers
gt; I'm a bit confused. The indexing is indeed being done through XML, but
> in searching it is possible to get JSON results by using the wt=json
> parameter, have a look here:
>
> http://wiki.apache.org/solr/SolJSON
>
> Best,
>
> Patrick
>
>
> -----Origina
.ibm.com/developerworks/library/os-php-apachesolr/index.html
>
> If anyone of you used it can you share your experiences.
>
> Thanks,
> Kishore Veleti A.V.K.
>
>
> Julian Davchev wrote:
>
>> Hi,
>> I am about to integrate solr for index/search of my docum
Hi,
I am about to integrate solr for index/search of my documents/data.
It's php application but I see it should be no problem as solr works
with xml by default.
Is there any read php lib that will ease/help whole communication with
solr and if possible to send/receive json data.
I looked up arch
49 matches
Mail list logo