Re: Find the matched field in each matched document

2012-11-26 Thread Alireza Salimi
grB > You can check https://issues.apache.org/jira/browse/LUCENE-1999 as a > starting point for your own specific implementation. > > Regards > > > On Fri, Nov 23, 2012 at 4:14 AM, Alireza Salimi >wrote: > > > Hi Jack, > > > > Thanks for the reply. > &

Re: Find the matched field in each matched document

2012-11-22 Thread Alireza Salimi
t; -- Jack Krupansky > > -Original Message- From: Alireza Salimi > Sent: Thursday, November 22, 2012 6:11 PM > To: solr-user@lucene.apache.org > Subject: Re: Find the matched field in each matched document > > > Maybe I should say it in different way: > > By having doc

Re: using Solr to search for names

2012-07-22 Thread Alireza Salimi
f the name into > one index > > example: > https://github.com/romanchyla/montysolr/blob/solr-trunk/contrib/adsabs/src/java/org/apache/lucene/analysis/synonym/AuthorSynonymFilter.java > > roman > > On Sun, Jul 22, 2012 at 10:52 AM, Alireza Salimi > wrote: > > Hi Ahme

Re: using Solr to search for names

2012-07-22 Thread Alireza Salimi
nk which is for using Solr to search > > for names, > > I would appreciate if you let me know. > > There is a flexible approach when you want to search over multiple fields > having different field types. http://wiki.apache.org/solr/ExtendedDisMax > You just specify the list of fields by qf parameter. > > &defType=edismax&qf=firstName^1.2 middleName lastName^1.5 nickname > -- Alireza Salimi Java EE Developer

Re: Synonyms and hyphens

2012-07-04 Thread Alireza Salimi
pound term. > > And the default "query operator" only applies to the "terms" as the query > parser parsed them, not for the sub-terms of a compound term like CD-ROM or > gb-mb. > > > -- Jack Krupansky > > -Original Message- From: Alir

Re: Synonyms and hyphens

2012-07-04 Thread Alireza Salimi
So, "gb-mb" is treated as if you had > enclosed the term in quotes. > > -- Jack Krupansky > -Original Message- From: Alireza Salimi > Sent: Wednesday, July 04, 2012 6:50 AM > To: solr-user@lucene.apache.org > Subject: Re: Synonyms and hyphens > > > Hi

Re: Synonyms and hyphens

2012-07-04 Thread Alireza Salimi
Hi, Does anybody know why hyphen '-' and q.op=AND causes such a big difference between the two queries? I thought hyphens are removed by StandardTokenizer which means theoretically the two queries should be the same! Thanks On Tue, Jul 3, 2012 at 4:05 PM, Alireza Salimi wrote: >

Re: Searching for digits with strings

2012-06-27 Thread Alireza Salimi
limited number by using synonyms, 0 is a synonym for > nought and zero, etc. > > Upayavira > > On Wed, Jun 27, 2012, at 05:22 PM, Alireza Salimi wrote: > > Hi, > > > > I was wondering if there's a built in solution in Solr so that you can > > search for docu

Re: Lucene vs Solr design decision

2012-03-09 Thread Alireza Salimi
On the other hand, I'm aware of the fact that if I go with Lucene approach, failover is something that I will have to support manually! which is a nightmare! On Fri, Mar 9, 2012 at 2:13 PM, Alireza Salimi wrote: > This solution makes sense, but I still don't know if I can use sol

Re: Lucene vs Solr design decision

2012-03-09 Thread Alireza Salimi
think even if you went the Lucene route you would run into same > hardware > >> limits. > >> > >> -- > >> View this message in context: > http://lucene.472066.n3.nabble.com/Lucene-vs-Solr-design-decision-tp3813457p3813511.html > >> Sent from the Solr - User mailing list archive at Nabble.com. > > > > > > > > -- > > - > > http://zzzoot.blogspot.com/ > > - > > -- Alireza Salimi Java EE Developer

Re: Lucene vs Solr design decision

2012-03-09 Thread Alireza Salimi
066.n3.nabble.com/Lucene-vs-Solr-design-decision-tp3813457p3813511.html > > Sent from the Solr - User mailing list archive at Nabble.com. > > > > -- > - > http://zzzoot.blogspot.com/ > - > -- Alireza Salimi Java EE Developer

Re: Lucene vs Solr design decision

2012-03-09 Thread Alireza Salimi
r user. > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Lucene-vs-Solr-design-decision-tp3813457p3813489.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Alireza Salimi Java EE Developer

Lucene vs Solr design decision

2012-03-09 Thread Alireza Salimi
ach commit() will take less time comparing to the case that we use Solr. Is there any suggested solution for cases like this? Thanks -- Alireza Salimi Java EE Developer

Re: Solr Distributed Search vs Hadoop

2011-12-20 Thread Alireza Salimi
wered your question. Thanks On Tue, Dec 20, 2011 at 4:00 PM, Ted Dunning wrote: > You didn't mention how big your data is or how you create it. > > Hadoop would mostly used in the preparation of the data or the off-line > creation of indexes. > > On Tue, Dec 20, 2011 at 12:28 PM,

Solr Distributed Search vs Hadoop

2011-12-20 Thread Alireza Salimi
t. So what's the point of using Hadoop? I'm pretty sure I'm missing something here. Can anyone suggest some links regarding this issue? Regards -- Alireza Salimi Java EE Developer

Re: Removing whitespace

2011-12-12 Thread Alireza Salimi
ers > from the phrase and create N-grams from the result. > > Ultimately, the effect I am after is that searching "bobdole" would match > "Bob Dole", "Bo B. Dole", and maybe "Bobdo". Maybe there is a better way... > can anyone lend some assistance? > > Thanks! > > Dev B > > -- Alireza Salimi Java EE Developer

Re: Solr Lucene Index Version

2011-12-06 Thread Alireza Salimi
to be able to specify a particular index format to avoid > having to do a complete reindex. Is this possible? > -- Alireza Salimi Java EE Developer

Re: Collection Distribution vs Replication in Solr

2011-11-23 Thread Alireza Salimi
Yeah, and actually later I've found someone mentioned that they had done some benchmarks and found that replication is faster than collection distribution. Thanks On Wed, Nov 23, 2011 at 9:02 AM, Mark Miller wrote: > > On Oct 27, 2011, at 2:57 PM, Alireza Salimi wrote: &g

Re: Locating index files?

2011-11-10 Thread Alireza Salimi
exer: done > > However, I don't see the index files in the Solr data directory. Any > suggestions for troubleshooting this? Thanks! > > -- > View this message in context: > http://lucene.472066.n3.nabble.com/Locating-index-files-tp3496865p3496865.html > Sent from the

Re: Questions about Solr's security

2011-11-01 Thread Alireza Salimi
such as HAProxy. You should be able to limit only certain > URIs (so you can prevent /select queries).HAProxy is a free software > load-balancer, and it is very configurable and fairly easy to setup. > > > On Nov 1, 2011, at 4:54 PM, Alireza Salimi wrote: > > > sorry

Re: Questions about Solr's security

2011-11-01 Thread Alireza Salimi
est handler > defined > (/select?qt=/update&stream.body=*:*&commit=true). > Be careful! > > But certainly knowing all the issues mentioned on this thread, it is > possible to lock Solr down and make it safe to hit directly. But not out > of the box or trivially. > >

Re: Questions about Solr's security

2011-11-01 Thread Alireza Salimi
to anything but a > controlled app server. > > Erik > > On Nov 1, 2011, at 15:51 , Alireza Salimi wrote: > > > What if we just expose '/select' paths - by firewalls and load balancers > - > > and > > also use SSL and HTTP basic or dige

Re: Questions about Solr's security

2011-11-01 Thread Alireza Salimi
y let that application generate "safe" welformed requests to > Solr... > > https://wiki.apache.org/solr/SolrSecurity > > > -Hoss > -- Alireza Salimi Java EE Developer

Re: Questions about Solr's security

2011-11-01 Thread Alireza Salimi
n order to > mitigate denial of service attacks. > > > On Nov 1, 2011, at 12:22 PM, Alireza Salimi wrote: > > > Hi, > > > > I was wondering if it's a good idea to expose Solr to the outside world, > > so that our clients running on smart phones will be able

Questions about Solr's security

2011-11-01 Thread Alireza Salimi
d in order to mitigate the attach of huge result set, but I personally don't think it's a great idea, because a hacker can run multiple queries simultaneously. Is there any good reference for this purpose? Regards -- Alireza Salimi Java EE Developer

Re: Collection Distribution vs Replication in Solr

2011-10-28 Thread Alireza Salimi
So I have to ask my question again. Is there any reason not to use Replication in Solr and use Collection Distribution? Thanks On Thu, Oct 27, 2011 at 5:33 PM, Alireza Salimi wrote: > I can't see those benchmarks, can you? > > On Thu, Oct 27, 2011 at 5:20 PM, Marc

Re: Collection Distribution vs Replication in Solr

2011-10-27 Thread Alireza Salimi
ne.472066.n3.nabble.com/Collection-Distribution-vs-Replication-in-Solr-tp3458724p3459178.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Alireza Salimi Java EE Developer

Collection Distribution vs Replication in Solr

2011-10-27 Thread Alireza Salimi
is a robust protocol. Which one do you recommend? Thanks -- Alireza Salimi Java EE Developer

Re: Regarding Solr Query

2011-10-27 Thread Alireza Salimi
ysnonyms.txt how i able to > search? > > Hints: already "wireleess mobilty kit" product already indexed in solr when > i am searching. > Is it checked Synonyms.txt when search is happening. > > Please let me know any solution for this ASAP,its an urgent requirement for > me > > Regards, > Jayanta > > -- Alireza Salimi Java EE Developer

Re: prefix search

2011-10-25 Thread Alireza Salimi
lete string that start with 'T'.means i want only 'Terry' as > the > result. > > Can i do this? > > Thanks and Regards, > Radha Krishna. > -- Alireza Salimi Java EE Developer

Re: data import in 4.0

2011-10-21 Thread Alireza Salimi
e you have this jar file in CATALINA_HOME\lib folder. On Fri, Oct 21, 2011 at 3:06 PM, Adeel Qureshi wrote: > its deployed on a tomcat server .. > > On Fri, Oct 21, 2011 at 12:49 PM, Alireza Salimi > wrote: > > > Hi, > > > > How do you start Solr, through start.

Re: data import in 4.0

2011-10-21 Thread Alireza Salimi
=/dataimport} > status=0 QTime=0 > > Any ideas whats going on .. its complaining about a missing method in > dataimport classes which doesnt makes sense. Is this some kind of version > mismatch or what is going on. > > I would appreciate any comments. > Thanks > Adeel > -- Alireza Salimi Java EE Developer

Re: Find Documents with field = maxValue

2011-10-19 Thread Alireza Salimi
Otis > > > > Sematext :: http://sematext.com/ :: Solr - Lucene - Nutch > > Lucene ecosystem search :: http://search-lucene.com/ > > > > > > > > > >From: Alireza Salimi > > >To: solr-user@lucene.apache.org > > >Sent: Tuesday, October 18, 2011 10:

Re: solr/lucene and its database (a silly question)

2011-10-18 Thread Alireza Salimi
ext: > http://lucene.472066.n3.nabble.com/solr-lucene-and-its-database-a-silly-question-tp3431436p3431436.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Alireza Salimi Java EE Developer

Re: performace jetty (jetty.xml)

2011-10-18 Thread Alireza Salimi
; my machine has 8gb of ram and 8 cpu.. > > i do like 200.000 - 250.000 calls to solr a day... > > someone can help me?? > > - Theads number (min,max and low) > - corepool size and maximum poolsize > > > * > * > -- Alireza Salimi Java EE Developer

Re: Find Documents with field = maxValue

2011-10-18 Thread Alireza Salimi
Hi Ahmet, Thanks for your reply, but I want ALL documents with age = max_age. On Tue, Oct 18, 2011 at 9:59 AM, Ahmet Arslan wrote: > > > --- On Tue, 10/18/11, Alireza Salimi wrote: > > > From: Alireza Salimi > > Subject: Find Documents with field = ma

Find Documents with field = maxValue

2011-10-18 Thread Alireza Salimi
s don't support aggregate functions, but how about nested queries. * *Thanks* * -- Alireza Salimi Java EE Developer

Re: feeding while solr is running ?

2011-10-17 Thread Alireza Salimi
is message in context: > http://lucene.472066.n3.nabble.com/feeding-while-solr-is-running-tp3428500p3428500.html > Sent from the Solr - User mailing list archive at Nabble.com. > -- Alireza Salimi Java EE Developer