Hi,
Otis Gospodnetic pisze:
Tom,
It looks like the machine might simply be running too many things.
> If the load is around 1 when Solr is not running, and this is a
dual-core server, it shows its already relatively busy (cca 50% idle).
The server is running the Postgresql and Apache/PHP as
Thanks Erick!
After reading your answer, and re-reading the Solr wiki, I realized my
folly. I used to think that index-time boosts when applied on a per-field
basis are equivalent to query time boosts to that field.
To ensure that my new understanding is correct , I'll state it in my words.
Index
Yeah, like I said, I was mistaken about setting field boost in
schema.xml - doesn't mean it's a bad idea though. At any rate, from
your penultimate sentence I reckon at least one of us is still confused
about field boosting, feel free to reply if you think it's me ;)
Ian.
-Original Message--
Tom,
AFAIK Lucene performance is very much dependent on file system cache size,
in case of large index. So if you see lots of IO, this probably means that
your system doesn't have enough memory to hold large file system cache,
suitable for your index size. In this case you don't need to give more
Hallo,
I search for a way, to output all content from one field..
Like name:
"NAME:*"
And Solr gifs me all Names
or "color:*"
and i become all colors
can io do this? or is this Impossible?
Jörg
Thanks for getting back to me. I've added inline responses below.
2009/11/20 Grant Ingersoll
>
> On Nov 20, 2009, at 3:15 AM, Oliver Beattie wrote:
>
> > Hi all,
> >
> > I'm a relative newcomer to Solr, and I'm trying to use it in a project
> > of mine. I need to do a function query (I believe) t
Hi,
I would like to boost documents with longer descriptions to move down
documents with 0 length description,
I'm wondering if there is possibility to boost document basing on the
field length while searching or the only way is to store field length as
an int in a separate field while indexin
Yep
On Mon, Nov 23, 2009 at 4:13 AM, Girish Redekar
wrote:
> Thanks Erick!
>
> After reading your answer, and re-reading the Solr wiki, I realized my
> folly. I used to think that index-time boosts when applied on a per-field
> basis are equivalent to query time boosts to that field.
>
> To
Any chance of getting the ExtractingRequestHandler to use the commitWithin
parameter?
--
View this message in context:
http://old.nabble.com/ExtractingRequestHandler-commitWithin-tp26478144p26478144.html
Sent from the Solr - User mailing list archive at Nabble.com.
On Nov 23, 2009, at 8:01 AM, Tomasz Kępski wrote:
> Hi,
>
> I would like to boost documents with longer descriptions to move down
> documents with 0 length description,
> I'm wondering if there is possibility to boost document basing on the field
> length while searching or the only way is to
On Nov 23, 2009, at 6:54 AM, Oliver Beattie wrote:
> Thanks for getting back to me. I've added inline responses below.
>
> 2009/11/20 Grant Ingersoll
>>
>> On Nov 20, 2009, at 3:15 AM, Oliver Beattie wrote:
>>
>>> Hi all,
>>>
>>> I'm a relative newcomer to Solr, and I'm trying to use it in a
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
See frange:
http://www.lucidimagination.com/blog/2009/07/06/ranges-over-functions-in-solr-14/
fq={!frange l=5 u=10}sum(user,num)
-Yonik
http://www.lucidimagination.com
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
Check. I even verified that the tomcat user could create the
directory (i.e. "sudo -u tomcat6 mkdir /opt/solr/steve/lib"). Still
solr complains.
On Sun, Nov 22, 2009 at 10:03 PM, Yonik Seeley wrote:
> Maybe ensuring that the full parent path (all parent directories) have
> "rx" permissions?
>
>
Thanks Yonik. That blog post was very interesting but it only has about a
sentence or two on the query() function, and it points the user to the same
link I have here at the wiki for examples. But those examples (which is really
1 example) doesn't explain the point. -- e.g. when/why would I use
On Mon, Nov 23, 2009 at 9:36 AM, Smiley, David W. wrote:
> Thanks Yonik. That blog post was very interesting but it only has about a
> sentence or two on the query() function
Ah, I had thought that you meant the "query" QParser.
The query function just allows you to use any other query type insi
Thankyou
2009/11/21 Lance Norskog
> Nice! I didn't notice that before. Very useful.
>
> 2009/11/19 Noble Paul നോബിള് नोब्ळ् :
> > you can pass the uniqueId as a param and use it in a sql query
> >
> http://wiki.apache.org/solr/DataImportHandler#Accessing_request_parameters
> .
> > --Noble
> >
I have a client who wants to search on almost every attribute of an object
(nearly 15 attributes) on the search screen. Search sreen looks very
crazy/busy. I was wondering if there are better ways to address these
requirements and build intelligent categorized/configurable searchs?
including allow
On Mon, Nov 23, 2009 at 10:31 PM, TCK wrote:
> Hi,
>
> I'd like to pull in the solr war from a public repository. I'm able to find
> the individual jars at http://repo2.maven.org/maven2/org/apache/solr/ but
> it
> seems like the war artifact isn't published. Is there a reason for this or
> is it
I currently put the war into my own Nexus repository. I use it to build a
war-overlay with the solr war to include my plugins & customizations (due to
classloading issues with Spring and the external plugin solution).
On Mon, Nov 23, 2009 at 12:08 PM, Shalin Shekhar Mangar <
shalinman...@gmail.co
On Mon, Nov 23, 2009 at 10:36 PM, javaxmlsoapdev wrote:
>
> I have a client who wants to search on almost every attribute of an object
> (nearly 15 attributes) on the search screen. Search sreen looks very
> crazy/busy. I was wondering if there are better ways to address these
> requirements and
Hey there,
I am using Solr 1.4 out of the box and am trying to create a core at runtime
using the CREATE action.
I am getting this error when executing:
http://localhost:8983/solr/admin/cores?action=CREATE&name=x&instanceDir=x&persist=true&config=solrconfig.xml&schema=schema.xml&dataDir=da
On Mon, Nov 23, 2009 at 10:41 PM, Stephen Duncan Jr <
stephen.dun...@gmail.com> wrote:
> I currently put the war into my own Nexus repository. I use it to build a
> war-overlay with the solr war to include my plugins & customizations (due
> to
> classloading issues with Spring and the external pl
On Mon, Nov 23, 2009 at 10:47 PM, Marc Sturlese wrote:
>
> Hey there,
> I am using Solr 1.4 out of the box and am trying to create a core at
> runtime
> using the CREATE action.
> I am getting this error when executing:
>
> http://localhost:8983/solr/admin/cores?action=CREATE&name=x&instanceDi
Thanks, yes that's what I do as well. I'd like to pull in the standard solr
war distribution from a public repository and then explode it and put my own
overlays.
Shalin, any pointers to where I would look to go about making a patch to the
artifact publishing process?
Thanks,
TCK
On Mon, Nov
On Mon, Nov 23, 2009 at 11:04 PM, TCK wrote:
> Thanks, yes that's what I do as well. I'd like to pull in the standard solr
> war distribution from a public repository and then explode it and put my
> own
> overlays.
>
> Shalin, any pointers to where I would look to go about making a patch to
> th
On Mon, Nov 23, 2009 at 4:29 PM, Jörg Agatz wrote:
> Hallo,
>
> I search for a way, to output all content from one field..
>
> Like name:
>
> "NAME:*"
>
> And Solr gifs me all Names
>
> or "color:*"
>
> and i become all colors
>
> can io do this? or is this Impossible?
>
>
Do you want to return ju
Are there any use cases for CREATE where the instance directory
*doesn't* yet exist? I ask because I've noticed that Solr will create
an instance directory for me sometimes with the CREATE command. In
particular, if I run something like
http://solrhost/solr/admin/cores?action=CREATE&name=newcore&i
: I think thats the case - I'm not seeing the problem - though I didn't
: follow your steps exactly, because I also set the data dir.
yeah ... i went back and tested again and verified that's what was
happening.
There is a bug with Luke when viewing "binary" based fields
introduced in Solr 1.4
: Yeah, like I said, I was mistaken about setting field boost in
: schema.xml - doesn't mean it's a bad idea though. At any rate, from
: your penultimate sentence I reckon at least one of us is still confused
: about field boosting, feel free to reply if you think it's me ;)
Yeah ... i think it'
: previously I was using a NGramFilterFactory for the completion on my website
: but the EdgeNGramTokenizerFactory seems to be more pertinent.
:
: I defined my own field type but when I start solr I got the error log :
:
: GRAVE: java.lang.ClassCastException:
: org.apache.solr.analysis.EdgeNGra
: Now I am trying *index-time *boosting to improve response time. So i created
: an algorithm where I do the following:-
: 1. sort the records i get from database on approval_dt asc and increase the
: boost value of the element for approval_dt by 0.1 as i encounter
: higer approval_dt records. If
: I had working index time boosting on documents like so:
:
: Everything was great until I made some changes that I thought where no
: related to the doc boost but after that my doc boosting appears to be
: missing.
:
: I'm having a tough time debugging this and didn't have the sense to version
: Subject: Re: Where is upgrading documentation?
:
: CHANGES.txt contains information, but no instructions.
Hmmm i see what you mean. we typically have a nice boiler plate set of
instructions, and somehow those got removed from the 1.4 changes.
in a nutshell, the instructions are the same a
: how to get the autocomplete/autosuggest feature in the solr1.4.plz give me
: the code also...
there is no magical "one size fits all" solution for autocomplete in solr.
if you look at the archives there have been lots of discussions about
differnet ways ot get auto complete functionality, us
: Thanks for your reply. Nested boolean queries is a valid concern. I also
: realized that isCoordDisabled needs to be considered in
: BooleanQuery.hashCode so that a query with coord=false will have a different
: cache key in Solr.
Hmmm... you're right, BooleanQuery.hashCode doesn't consider d
Hello,
Solr 1.3 reported the following error when our app tried to query it:
java.lang.RuntimeException: java.io.IOException: read past EOF
at
org.apache.solr.spelling.IndexBasedSpellChecker.build(IndexBasedSpellChecker.java:91)
at
org.apache.solr.handler.componen
Hi, I have solr all working nicely, except im trying to get deltas to
work on my data import handler
Here is a simplification of my data import config, I have a table
called "Book" which has categories, im doing subquries for the
category info and calling a javascript helper. This all works
: ?q="Here there be dragons"
: &qt=dismax
: &qf=title
...
: +DisjunctionMaxQuery((title:"here dragon")~0.01) ()
...the quotes cause the entire string to be passed to the analyzer for
the title field and the resulting Tokens are used to construct a phrase
query.
: ?q=Here there be drago
In addition to some of hte other coments mentioned about IO, this caught
my eye...
: I'm using SOLR(1.4) to search among about 3,500,000 documents. After the
: server kernel was updated to 64bit system has started to suffer.
...if the *only* thing that was upgraded was switching the kernel from
Chris Hostetter wrote:
: how to get the autocomplete/autosuggest feature in the solr1.4.plz give me
: the code also...
there is no magical "one size fits all" solution for autocomplete in solr.
if you look at the archives there have been lots of discussions about
differnet ways ot get auto co
: distirbution. When we run test cases our schema.xml has defintion for lucid
: kstem and it throws ClassNotFound Exception.
: We declared the depency for the two jars lucid-kstem.jar and
: lucid-solr-kstem.jar but still it throws an error.
explain what you mean by "declared the depency" ?
:
C:
Anyone any idea?
javaxmlsoapdev wrote:
>
> did you extend DIH to do this work? can you share code samples. I have
> similar requirement where I need tp index database records and each record
> has a column with document path so need to create another index for
> documents (we allow users to sear
Thanks Israel, exactly what I was looking for, but how would one get a
pre-compiled dll for windows? using PHP 5.3 VS9 TS.
On Mon, Oct 5, 2009 at 7:03 AM, Israel Ekpo wrote:
> Fellow Apache Solr users,
>
> I have been working on a PHP extension for Apache Solr in C for quite
> sometime now.
>
> I
: Specifying the file.encoding did work, although I don't think it is a
: suitable workaround for my use case. Any idea what my next step is to
: having a bug opened.
no, you shouldn't *have* to specifying -Dfile.encoding=UTF8, Shalin was
just asking to try that to verify that really was the
: If I understand you correctly, you really want to be constructing
: SolrInputDocuments (not Lucene's Documents) and indexing those with
: SolrJ. I don't think there is anything in the API that can read in an
I read your question differently then Otis did. My understanding is that
you alre
Guys --
What schema will you use for 500K docs with a variety of 0-30
different category ids, each carrying its own weight and completely
overriding the default scoring?
For example, these documents:
A: 1:0.21, 2:0.41, 3:0.15 ...
B: 1:0.18, 2:0.65 4:0.98 ...
C: 6:0.75 ...
D: 2:0.14 ...
When sear
: The response is not searching for Michael Jackson. Instead it is
: searching for (text:Micheal and text: Jackson).To monitor the parsed
: query, i turned on debugQuery, but in the present case, the parsed query
: string was searching Micheal and Jackson separately.
using index time synonyms
Hi Mike,
Thanks to Pierre, the Windows version of the extension are available here
compiled from trunk r 291135
http://downloads.php.net/pierre/
I am planning to have 0.9.8 compiled for windows as soon as it is out
sometime later this week.
The 1.0 release should be out sometime before mid Dec
This is definitely a bug. Please open a JIRA issue for this.
On Sat, Nov 21, 2009 at 10:53 AM, Bertie Shen wrote:
> Hey,
>
> I figured out why we always we have see Indexing failed.
> Rolled back all changes.. It is because we need a
> dataimport.properties file at conf/, into which indexing wi
: Do you want to return just one field from all documents? If yes, you can:
:
:1. Query with q=*:*&fl=name
:2. Use TermsComponent - http://wiki.apache.org/solr/TermsComponent
note that those are very differnet creatures ... #1 gives you all of the
stored values for every document. #2 g
: > I would like to boost documents with longer descriptions to move down
documents with 0 length description,
: > I'm wondering if there is possibility to boost document basing on the field
length while searching or the only way is to store field length as an int in a
separate field while inde
: fq={!frange l=5 u=10}sum(user,num)
H, One of us massivly missunderstood the original question - and i'm
pretty sure it's Yonik.
i don't think he wants results where the user field plus the num field are
in the range of 5-10 ... i think he wants the list of user Ids (which are
numbers in
Thanks Israel
I plan to try it and compare with rsolr
On Nov 23, 2009, at 2:28 PM, Michael Lugassy wrote:
Thanks Israel, exactly what I was looking for, but how would one get a
pre-compiled dll for windows? using PHP 5.3 VS9 TS.
On Mon, Oct 5, 2009 at 7:03 AM, Israel Ekpo
wrote:
Fellow
: Check. I even verified that the tomcat user could create the
: directory (i.e. "sudo -u tomcat6 mkdir /opt/solr/steve/lib"). Still
: solr complains.
Note that you have an AccessControlException, not a simple
FileNotFoundException ... the error here is coming from File.canRead (when
Solr is
On Mon, Nov 23, 2009 at 3:39 PM, Michael Lugassy wrote:
> Guys --
>
> What schema will you use for 500K docs with a variety of 0-30
> different category ids, each carrying its own weight and completely
> overriding the default scoring?
>
> For example, these documents:
> A: 1:0.21, 2:0.41, 3:0.15
Following code is from my test case where it tries to index a file (of type
.txt)
ContentStreamUpdateRequest up = new
ContentStreamUpdateRequest("/update/extract");
up.addFile(fileToIndex);
up.setParam("literal.key", "8978"); //key is the uniqueId
up.setParam("ext.literal.docName", "doc123.txt");
To deploy the Lucid KStem stemmer, copy these two files:
lucid-kstem.jar
lucid-solr-kstem.jar
to the lib/ directory in your running solr instance.
In the declaration for a text field, you would change this line:
to this:
(Remember that you have to make this chan
On Nov 23, 2009, at 5:04 PM, javaxmlsoapdev wrote:
>
> Following code is from my test case where it tries to index a file (of type
> .txt)
> ContentStreamUpdateRequest up = new
> ContentStreamUpdateRequest("/update/extract");
> up.addFile(fileToIndex);
> up.setParam("literal.key", "8978"); //key
On Mon, Nov 23, 2009 at 12:10:42PM -0800, Chris Hostetter said:
> ...hmm, you shouldn't have to reindex everything. arey ou sure you
> restarted solr after making the enablePositionIncrements="true" change to
> the query analyzer?
Yup - definitely restarted
> what do the offsets look like whe
Sweeet! you guys rock.
On Mon, Nov 23, 2009 at 11:12 PM, Thanh Doan wrote:
> Thanks Israel
>
> I plan to try it and compare with rsolr
>
>
> On Nov 23, 2009, at 2:28 PM, Michael Lugassy wrote:
>
>> Thanks Israel, exactly what I was looking for, but how would one get a
>> pre-compiled dll for win
*:* returns me 1 count but when I search for specific word (which was part of
.txt file I indexed before) it doesn't return me anything. I don't have luke
setup on my end. let me see if I can set that up quickly but otherwise do
you see anything I am missing in solrconfig mapping or something? whi
FYI: weirdly its returning me following when I run
rsp.getResults().get(0).getFieldValue("description")
[702, text/plain, doc123.txt, ]
so it seems like its storing
up.setParam("ext.literal.docName", "doc123.txt"); into description versus
file content in "description" attribute.
Any i
In this introductory technical presentation, renowned search expert Mark
Bennett, CTO of Search Consultancy New Idea Engineering,
will present practical tips and examples to help you quickly get productive
with Solr, including:
* Working with the "web command line" and controlling your inputs and
got to love it when yahoo thinks your own mail is spam, anyone have
any ideas how to get logging to work with 1.4.
I went to the admin panel and set all logging to finest.
In my jetty std out I see no SQL for any of the dataimport handler
run. I see
Nov 23, 2009 9:26:27 PM
org.apache.sol
On Nov 23, 2009, at 5:33 PM, javaxmlsoapdev wrote:
>
> *:* returns me 1 count but when I search for specific word (which was part of
> .txt file I indexed before) it doesn't return me anything. I don't have luke
> setup on my end.
http://localhost:8983/solr/admin/luke should give yo some info.
hello all
Let me first explain the task i am trying to do.
i have article with title for example
>Car Insurance for Teenage Drivers
−
A Total Loss?
If a user begins to type car insu i want the autopop to show up with the
entire phrase.
There are two ways to implement this.
First is to use the
Hello Solr users,
is there a live demo of the auto-completion feature somewhere?
thanks in advance
paul
I guess the field names do not match
in the deltaQuery you are selecting the field id
and in the deltaImportQuery you us the field as
${dataimporter.delta.job_jobs_id}
I guess it should be ${dataimporter.delta.id}
On Tue, Nov 24, 2009 at 1:19 AM, Joel Nylund wrote:
> Hi, I have solr all working
On Tue, Nov 24, 2009 at 10:39 AM, Paul Libbrecht wrote:
>
> Hello Solr users,
>
> is there a live demo of the auto-completion feature somewhere?
>
> thanks in advance
>
Well, there is no preview but I can give you a couple of live instances:
1. http://autos.aol.com/
2. http://travel.aol.co
On Tue, Nov 24, 2009 at 10:12 AM, darniz wrote:
>
> hello all
> Let me first explain the task i am trying to do.
> i have article with title for example
>
> >Car Insurance for Teenage Drivers
>
> −
>
> A Total Loss?
>
> If a user begins to type car insu i want the autopop to show up with the
On 23.11.2009 19:33 Chris Hostetter wrote:
> ...if there was a way to oost fields at index time that was configured in
> the schema.xml, then every doc would get that boost on it's instances of
> those fields but the only purpose of index time boosting is to indicate
> that one document is more
On Tue, Nov 24, 2009 at 1:14 AM, ranjitr wrote:
>
> Hello,
>
> Solr 1.3 reported the following error when our app tried to query it:
>
> java.lang.RuntimeException: java.io.IOException: read past EOF
>at
>
> org.apache.solr.spelling.IndexBasedSpellChecker.build(IndexBasedSpellCheck
73 matches
Mail list logo