What are the results of the two var_dumps?
dave
On Nov 5, 2007, at 10:06 PM, James liu wrote:
first: i m sure i enable php and phps in my solrconfig.xml
two: i can't get answer.
*phps:
*http://localhost:8080/solr1/select/?
q=2&version=2.2&start=0&rows=10&indent=on&wt=phps
';
$a = file_get_c
Hi
I have in index document with field "name" and its value is
"somename123"
Why I can't find anything with query
name:somename123*
but there are results on query
name:"somename123*"
As far as I understand first query is just fine. why
On 11/6/07, Traut <[EMAIL PROTECTED]> wrote:
> I have in index document with field "name" and its value is
> "somename123"
> Why I can't find anything with query
> name:somename123*
This is a prefix query. No analysis is done on the prefix, so it may
not match analy
So you think my problem is caused by different index/query data
analysis? i'll check it. thank you
On Nov 6, 2007 6:02 PM, Yonik Seeley <[EMAIL PROTECTED]> wrote:
> On 11/6/07, Traut <[EMAIL PROTECTED]> wrote:
> > I have in index document with field "name" and its value is
> > "somename12
Are there any security risks to passing a query directly to Solr without
doing any sort of escaping? I am using URL encoding, so '&' and such
are being encoded into their %XX equivalents.
Still, should I be doing anything else? Is there such a thing as a
Solr-injection attack?
Thanks,
Micah
On Tue, 2007-11-06 at 11:52 -0500, Micah Wedemeyer wrote:
> Are there any security risks to passing a query directly to Solr without
> doing any sort of escaping? I am using URL encoding, so '&' and such
> are being encoded into their %XX equivalents.
>
> Still, should I be doing anything else?
Solr queries can't do updates, so passing on raw user queries is OK.
Solr errors for bad query syntax are not pretty, so you will want to
catch those and print a real error message.
wunder
On 11/6/07 8:52 AM, "Micah Wedemeyer" <[EMAIL PROTECTED]> wrote:
> Are there any security risks to passing
Also, this page has a list of special characters that you may want
to escape:
http://lucene.apache.org/java/docs/queryparsersyntax.html
wunder
On 11/6/07 9:15 AM, "Walter Underwood" <[EMAIL PROTECTED]> wrote:
> Solr queries can't do updates, so passing on raw user queries is OK.
>
> Solr err
If you need to allow HTTP access to solr, then just use standard solr
with your embedded stuff in a custom request handler (or something).
Any other path, you will be re-inventing many wheels.
If at all possible, I reccomend checking out:
http://wiki.apache.org/solr/Solrj
this is nice becaus
Hi All,
How to do Geo Spatial search in SOLR/Lucene?
Thanks,
Kishore Veleti
I have a query
SolrServer server = getSolrServer();
SolrQuery solrQuery = new SolrQuery();
solrQuery.setQuery(..);
QueryResponse rsp = server.query(solrQuery);
Now where can I set the result limit for this query?
Another question : Where can I download the test cases
Snapshots are in that directory, and the spellchecker has its own
indexes under there.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Yonik
Seeley
Sent: Monday, November 05, 2007 8:57 PM
To: solr-user@lucene.apache.org
Subject: Re: specify index location
I can't figure out why running the same query twice in a row using facets
takes the same amount of time:
INFO: /select
> facet=true&fl=pk_i,score&facet.mincount=1&q=(510)+AND+type_t:Candidate&facet.limit=-1&facet.field=company_facet&qt=standard&wt=ruby
> 0 6670
> Nov 6, 2007 12:54:59 PM org.apache
On 6-Nov-07, at 11:08 AM, Jonathan ter Horst wrote:
I can't figure out why running the same query twice in a row using
facets
takes the same amount of time:
INFO: /select
facet=true&fl=pk_i,score&facet.mincount=1&q=(510)+AND
+type_t:Candidate&facet.limit=-1&facet.field=company_facet&qt=stand
What is the performance profile of this against merely searching against
one field? My situation is millions of small records with an average of
200 bytes/text field.
Lance
-Original Message-
From: Walter Underwood [mailto:[EMAIL PROTECTED]
Sent: Monday, November 05, 2007 9:38 PM
To: so
On 6-Nov-07, at 10:52 AM, Jörg Kiegeland wrote:
If you need to allow HTTP access to solr, then just use standard
solr with your embedded stuff in a custom request handler (or
something). Any other path, you will be re-inventing many wheels.
If at all possible, I reccomend checking out:
ht
Yonik - thanks so much for your help! Just to clarify; where should the
regex go for each field?
Thanks!
Kristen
Kristen Roth
Associate Software Engineer
P 617.218.6661
F 617.218.6861
E [EMAIL PROTECTED]
Molecular
343 Arsenal Street
Watertown, MA 02472
www.M
Thanks. That's what I wanted to know.
Micah
Walter Underwood wrote:
> Also, this page has a list of special characters that you may want
> to escape:
>
> http://lucene.apache.org/java/docs/queryparsersyntax.html
>
> wunder
>
> On 11/6/07 9:15 AM, "Walter Underwood" <[EMAIL PROTECTED]> wrote
Hi Chris,
Thanks for getting back to me. The folder /var/lib/tomcat5/solr/home
exists as does /var/lib/tomcat5/solr/home/conf/solrconfig.xml. It's
basically a copy of the files from examples folder at this point.
I put war files in /var/lib/tomcat5/webapps, so I have the
apache-solr-1.2.0.war fil
We used a custom fieldType that segments the values of a field A into
tokens. We then define uniqueKey as that field A. It seems when we update
a document by solr, documents that have different values (one contains the
other as a substring) gets collided into one so the result is the new
documen
On 6-Nov-07, at 2:31 PM, Yu-Hui Jin wrote:
We used a custom fieldType that segments the values of a field A into
tokens. We then define uniqueKey as that field A. It seems when
we update
a document by solr, documents that have different values (one
contains the
other as a substring) gets
Got it. Thanks, Mike. That explains.
regards,
-Hui
On 11/6/07, Mike Klaas <[EMAIL PROTECTED]> wrote:
>
> On 6-Nov-07, at 2:31 PM, Yu-Hui Jin wrote:
>
> > We used a custom fieldType that segments the values of a field A into
> > tokens. We then define uniqueKey as that field A. It seems when
How reliable are the nightly builds? Can it be used in production?
The nightly builds are stable in that they do what they say they do --
and if not, they are fixed quickly. However, the interfaces that have
changed since 1.2 are not totally stable. That is, the interfaces from
1.2 will
Jörg Kiegeland wrote:
I have a query
SolrServer server = getSolrServer();
SolrQuery solrQuery = new SolrQuery();
solrQuery.setQuery(..);
QueryResponse rsp = server.query(solrQuery);
Now where can I set the result limit for this query?
solrQuery.setRows( # )
To s
first var_dump result(part not all):
string(50506)
> "a:2:{s:14:"responseHeader";a:3:{s:6:"status";i:0;s:5:"QTime";i:2906;s:6:"params";a:6:{s:6:"indent";s:2:"on";s:5:"start";s:1:"0";s:1:"q";s:1:"2";s:2:"wt";s:4:"phps";s:4:"rows";s:2:"10";s:7:"version";s:3:"
> 2.2";}}
>
two var_dump result:
bool(f
Hi UG,
I just installed the latest nightly solr build
(1.2.2007.11.06.08.06.05). I get an exception when I do descending
relevancy sorting. Ascending relevancy sorting works fine and sorting
on all other fields as well.
http://localhost:8080/solr/select/?q=title%3Atest&sort=score%20desc
Nov 7, 2
On Nov 6, 2007, at 8:10 PM, James liu wrote:
first var_dump result(part not all):
string(50506)
"a:2:{s:14:"responseHeader";a:3:{s:6:"status";i:0;s:5:"QTime";i:
2906;s:6:"params";a:6:{s:6:"indent";s:2:"on";s:5:"start";s:1:"0";s:
1:"q";s:1:"2";s:2:"wt";s:4:"phps";s:4:"rows";s:2:"10";s:
7:"ve
afternoon,,i will update svn...and try the newest...
On Nov 7, 2007 11:23 AM, Dave Lewis <[EMAIL PROTECTED]> wrote:
>
> On Nov 6, 2007, at 8:10 PM, James liu wrote:
>
> > first var_dump result(part not all):
> >
> > string(50506)
> >> "a:2:{s:14:"responseHeader";a:3:{s:6:"status";i:0;s:5:"QTime
Hey all, I have a fairly odd case of duplicate documents in our solr index
(See attached xml sample). THe index is roughtly 35k in documents. The only
way I've found to fix the problem is to run a delete statement by id, which
deletes both, I can then re-index that one document. This happened
prev
: Thanks for getting back to me. The folder /var/lib/tomcat5/solr/home
: exists as does /var/lib/tomcat5/solr/home/conf/solrconfig.xml. It's
: basically a copy of the files from examples folder at this point.
:
: I put war files in /var/lib/tomcat5/webapps, so I have the
: apache-solr-1.2.0.war fi
same answer.
On Nov 7, 2007 11:41 AM, James liu <[EMAIL PROTECTED]> wrote:
> afternoon,,i will update svn...and try the newest...
>
>
>
>
> On Nov 7, 2007 11:23 AM, Dave Lewis <[EMAIL PROTECTED]> wrote:
>
> >
> > On Nov 6, 2007, at 8:10 PM, James liu wrote:
> >
> > > first var_dump result(part no
i just decrease answer information...and u will see my result(full, not
part)
*before unserialize*
> string(433)
> "a:2:{s:14:"responseHeader";a:3:{s:6:"status";i:0;s:5:"QTime";i:0;s:6:"params";a:7:{s:2:"fl";s:5:"Title";s:6:"indent";s:2:"on";s:5:"start";s:1:"0";s:1:"q";s:1:"2";s:2:"wt";s:4:"ph
32 matches
Mail list logo