Hi,
I am implementing phrase search query using my application. I am trying to
search "Glorious Revolution", I am expecting all the records which contains
this as whole string in any of its field should display.
Below is my query:
?q=fieldname:"Glorious Revolution"&qt=dismaxrequest
I am passin
Consider, I have following 3 fields
I want to query all documents where name:somevalue and actionuser value is
not equal to creationuser value.
Can we do this???
--
View this message in context:
http://www.nabble.com/filter-query-question-tp22863789p22863789.html
Sent from the Solr - User m
>I have a design question for all of those who might be willing to provide an
>answer.
>
>We are looking for a way to do a type of additive filters. Our documents
>are comprised of a single item of a specified color. We will use shoes as
>an example. Each document contains a multivalued ³size² f
On Fri, Apr 3, 2009 at 1:32 PM, Ashish P wrote:
>
> I want to query all documents where name:somevalue and actionuser value is
> not equal to creationuser value.
>
> Can we do this???
Nope. But you can create a new field which holds true if actionuser !=
creationuser and filter on that.
--
Re
On Fri, Apr 3, 2009 at 1:11 PM, dabboo wrote:
>
> I am passing this to my solr search engine using httpclient. But it is
> thrwoing me Invaild Query exception.
>
I suggest that you use the Solrj client. It will save a you a lot of effort.
http://wiki.apache.org/solr/Solrj
--
Regards,
Shalin S
Thanks Shalin.
Another question what is the meaning of this syntax
[* TO *]
Thanks,
Ashish
Shalin Shekhar Mangar wrote:
>
> On Fri, Apr 3, 2009 at 1:32 PM, Ashish P wrote:
>
>>
>> I want to query all documents where name:somevalue and actionuser value
>> is
>> not equal to creationuser valu
On Fri, Apr 3, 2009 at 2:04 PM, Ashish P wrote:
>
> Another question what is the meaning of this syntax
> [* TO *]
>
>
It means match all tokens from the beginning to the end.
--
Regards,
Shalin Shekhar Mangar.
Noble,
I put in a few 'System.out.println' statements in the ClobTransformer.java
file & remade the war. But I see none of these prints coming up in my
'catalina.out' file. Is that the right file to be looking at?
As an aside, is 'catalina.out' the ONLY log file for SOLR? I turned on the
logging
Thanks, Jeff.
Luke will work , but it's a GUI - unless they expose an API that I can call.
What I need is a way to get the informatiom as a client call to a SolrJ
SolrServer object. We want to be able to get this info whether we are running
Solr embedded or as a Web service. I guess I could wri
On Fri, Apr 3, 2009 at 6:11 PM, Fink, Clayton R. wrote:
> Thanks, Jeff.
>
> Luke will work , but it's a GUI - unless they expose an API that I can
> call. What I need is a way to get the informatiom as a client call to a
> SolrJ SolrServer object. We want to be able to get this info whether we are
Maybe you can have to escape quotes with the % folowed by the exa code
of the quote like is done by the php urlencode fonction.
"Returns a string in which all non-alphanumeric characters except /-_./
have been replaced with a percent (/%/) sign followed by two hex digits
and spaces encoded as
On Apr 2, 2009, at 3:07 PM, revas wrote:
Hi,
I typically issue a facetdrill down query thus
q=somequery and Facetfield:facetval .
Is there any issues with the above approach as opposed to
&fq=facetfield:value in terms of memory consumption and the use of
cache.
Yes... using fq allows tho
Also note that the dismax parser does NOT support fielded clauses, so
fieldname:"some phrase" is not parsed as you might expect with dismax.
Erik
On Apr 3, 2009, at 3:41 AM, dabboo wrote:
Hi,
I am implementing phrase search query using my application. I am
trying to
search "Glori
On Apr 3, 2009, at 9:26 AM, Shalin Shekhar Mangar wrote:
Note that the luke handler gives out a lot of information like term
frequency and therefore takes a longer time to execute.
It's fast if you say &numTerms=0 though, which is good enough to get
field/type info.
Erik
On 4/3/09, Erik Hatcher wrote:
>
> On Apr 3, 2009, at 9:26 AM, Shalin Shekhar Mangar wrote:
>> Note that the luke handler gives out a lot of information like term
>> frequency and therefore takes a longer time to execute.
>
> It's fast if you say &numTerms=0 though, which is good enough to get
> f
On Fri, Apr 3, 2009 at 9:56 AM, Dean Missikowski (Consultant), CLSA <
dean.missikow...@clsa.com> wrote:
> I've got a problem that's driving me crazy with parentheses.
>
> I'm using a recent nightly Solr 1.4
>
> My index includes these three docs.
>
> doc #1 has title: "saints & sinners"
>
> doc #2
Okay, I will give that a try.
I could resolve this any other day by being able to execute the same XPATH
retrieval twice. Why does the following not work:
When I do this, only the second_date_s will make it into the index. I know
first_date_d instruction is valid but, it just disappears.
An
We could do that by going down one level in our inventory, but then we
have other problems.. for example:
Right now a document looks like this:
1598548
12545
Adidas
1, 2, 3, 4, 5, 6, 7
AA, A, B, W, W,
Brown
If we went down a level, it could look like..
1598548
12545
654641654684
Adi
I same XPATH does not work . but what is stopping you from copying
one field to another using a Template
On Fri, Apr 3, 2009 at 8:39 PM, Wesley Small wrote:
> Okay, I will give that a try.
>
> I could resolve this any other day by being able to execute the same XPATH
> retrieval twice. Why
There is something else wrong with your setup.
can you just paste the whole data-config.xml
--Noble
On Fri, Apr 3, 2009 at 5:39 PM, ashokc wrote:
>
> Noble,
> I put in a few 'System.out.println' statements in the ClobTransformer.java
> file & remade the war. But I see none of these prints comin
Sure:
data-config Xml
===
===
A search result on the field short_desc:
--
1.8670129
oracle.sql.c...@155e3ab
4486
Develop Rating functionality
and which version of Solr are u using?
On Fri, Apr 3, 2009 at 10:09 PM, ashokc wrote:
>
> Sure:
>
> data-config Xml
> ===
>
>
> url="jdbc:oracle:thin:@x" user="remedy" password="y"/>
>
>
>
>
>
>
>
I downloaded the nightly build yesterday (2nd April), modified the
ClobTransformer.java file with some prints, compiled it all (ant dist). It
produced a war file, "apache-solr-1.4-dev.war". That is what I am using. My
modification & compilation has not affected the results. I was getting the
same
I guess u can write a custom transformer which gets a String out of
the oracle.sql.CLOB. I am just out of clue, why this may happen. I
even wrote a testcase and it seems to work fine
--Noble
On Fri, Apr 3, 2009 at 10:23 PM, ashokc wrote:
>
> I downloaded the nightly build yesterday (2nd April), m
Otis, Thanks for getting back...I did have to restart for the
schema/config changes to take effect which I'd guessed. : )
I am using the SpellCheckComponent and following the directions on the
wiki. It says to do a set it up using the component AND the RequestHandler.
> http://wiki.apache.org/solr
On Sat, Apr 4, 2009 at 12:01 AM, Anoop Atre wrote:
> I still don't get any suggestions when I do
> /spellCheckCompRH?q=helultrashar&spellcheck=true&spellcheck.collate=true
>
>
Did you build the spellcheck index? Try specifying a correct word which you
know is in the index. See if spellchecker ret
Happy to report that it is working. Looks like we have to use UPPER CASE for
all the column names. When I examined the map 'aRow', it had the column
names in upper case, where as my config had lower case. No match was found
so nothing happened. Changed my config and it works now. Thanks for your
h
Shalin, I "think" I did build the spellcheck index, I made the changes
to solrconfig and schema, restarted, passed a &spellcheck.build=true
which created the index.
ls -ltr ./spellchecker
-rw-r--r-- 1 XXX users 20 2009-04-03 13:23 segments.gen
-rw-r--r-- 1 XXX users 28 2009-04-03 13:23 segments_f
Hi,
I've a multi-core system (one core per day), so there would be around
30 cores in a month on a box running one Solr instance. We have two
boxes running the Solr instance and input data is feeded to them in
round-robin fashion. Each box can have up to 30 cores in a month. Here
are questions,
Hi,
I'm using Solr 1.4 (nightly build - 03/29/09). I'm stress testing my
application with Solr. My app uses Solrj to write to remote Solr (on
same box, but different JVM). The stress test sends over 2 million
records (1 record = 500 bytes, with each record having 10 fields)
within 5 minutes. All
Just an update on this issue, the Solr did come back after 80 min - so
not sure where was it stuck. I do use RAMBuffer of 64MB and have heap
size of 6G.
There is no error is Solr log and I'd it running under WARNING level
so missed the INFO if there was any during that period. I'm also not
running
I don't really understand your question. what do you mean by a "default
query" ?
as long as you have the caches that existing the example configs, then
solr with cache queries and filters for you. and as long as you have a
non-zero autowarm count for those caches, solr will use that number o
Hi,
more update. It happened again and this time I'd INFO logged in the Solr log,
INFO: {add=[330274716, 330274717, 330274718, 330274719, 330274720,
330274721, 330274722, 330274723, ...(14992 more)]} 0 6041
Apr 3, 2009 10:38:01 PM org.apache.solr.core.SolrCore execute
INFO: [20090403] w
: my documents (products) have a price field, and I want to have
: a "dynamically" calculated range facet for that in the response.
...
: So the question is how to get the dynamic facets response from solr.
:
: This is same question as previously posted back in 2007. But still waits an
Hi,
I need to assign multiple values to a field, with each value coming from a
different column of the sql query.
My data config snippet has lines like
where 'project_area' & 'project_version' are output by the sql query to the
datasource. The 'verbose-output'
Hi,
We built a Solr index on a set of documents a few times. Each time, we did
an optimize to reduce the index to a single segment. The index sizes are
slightly different across different runs. Even though the documents are not
inserted in the same order across runs, it seems to me that the fina
I think another challenge here is in distributed mode, how would you merge
the ranges from subsearchers?
-John
On Fri, Apr 3, 2009 at 3:03 PM, Chris Hostetter wrote:
>
> : my documents (products) have a price field, and I want to have
> : a "dynamically" calculated range facet for that in the res
Slightly different index sizes (even optimized) are normal - a same
document may get different internal docids in different runs. I don't
know why the number of terms are slight different.
On Fri, Apr 3, 2009 at 7:21 PM, Jun Rao wrote:
>
>
> Hi,
>
> We built a Solr index on a set of documents a
Hi,
I am using ExtractingRequestHandler to index rich text documents.
The way I am doing it is I get some data related to the document from database
and then post an xml (containing only this data ) to solr. Then I make another
call to solr, which sends the actual document to be indexed.
But
: http://lucene.apache.org/solr/tutorial.html#Getting+Started
:
: link - lucene QueryParser syntax
fixed in svn, ... the site should update in about 30 minutes.
thanks for pointing this out.
-Hoss
I want to use distributed search with some search components that I would
like to execute only on the main server, not on the shards, because they
reference some large in-memory lookup tables. After the search components
get done processing the orignal query, the query may contain SpanNearQueries
the column names are case sensitive try this
On Sat, Apr 4, 2009 at 3:58 AM, ashokc wrote:
>
> Hi,
> I need to assign multiple values to a field, with each value coming from a
> different column of the sql query.
>
> My data config snippet has lines like
>
>
>
it is very expensive to do a case insensitive lookup. It must first
convert all the keys to lower case and try looking up there. because
it may not be always in uppercase it can be in mixed case as well
On Sat, Apr 4, 2009 at 12:58 AM, ashokc wrote:
>
> Happy to report that it is working. Looks l
Erik,
Thanks a lot for your reply. I have made some changes in the solr code and
now field clauses are working fine with dismax request. Not only this,
wildcard characters are also working with dismax and q query parameter.
If you want I can share modified code with you.
Thanks,
Amit Garg
Er
44 matches
Mail list logo