RE: Update a field without reindexing the entire document?

2008-03-26 Thread Ard Schrijvers
Hello Otis, I have been looking for something similar for Jackrabbit's lucene index, but I still have some uncertainty about wether I understand correctly what the patches in SOLR-139 supply: Do they just retrieve formerly stored fields of a lucene Document, change some field, and then analyze

RE: Search not working for indexed words...

2008-02-04 Thread Ard Schrijvers
Hello, your problem stems ( :-) ) from stemming. You can search this list, and probably will find many threads. Last week somebody had the same question, see archive of last week, Regards Ard Hi All, From past 6 months i am working and using SOLR. Now i am facing some problem with

RE: wildcard newbie question

2008-01-31 Thread Ard Schrijvers
I have a text field type called courseTitle and it contains Struts 2 If I search courseTitle:strut* I get the documents but if I search with courseTitle:struts* I do not get any results. Could you please explain why? Just a guess: It might be because of stemming. Do you

RE: Replacing existing documents

2007-08-22 Thread Ard Schrijvers
Hello, Recently someone mentioned that it would be possible to have a 'replace existing document' feature rather than just dropping and adding documents with the same unique id. AFAIK, this is not possible. You have the update in lucene, but internally it just does a delete/add operation We

RE: How to read values of a field efficiently

2007-08-19 Thread Ard Schrijvers
Hello, On Mon, 2007-07-30 at 00:30 -0700, Chris Hostetter wrote: : Is it possible to get the values from the ValueSource (or from : getFieldCacheCounts) sorted by its natural order (from lowest to : highest values)? well, an inverted term index is already a data structure listing

RE: Pagination of results and XSLT.

2007-07-24 Thread Ard Schrijvers
We do pagination in XSL 1.0 often -- direct from a solr response right to HTML/CSS/JS. You get both the start and total rows from the solr response, so I don't know what else you'd need. I have been using similar xsls like you describe below in the past, butI think after 3 years of

RE: reg exp

2007-07-17 Thread Ard Schrijvers
In general, the type of feature you are interested in is typcially caleld a PrefixQuery you can acomplish it with the SolrQueryParser using a* http://wiki.apache.org/solr/SolrQuerySyntax : example show all docs starting with an a or A, I would just add an : extra field only

RE: reg exp

2007-07-16 Thread Ard Schrijvers
I don't know if there is one, but if you need this kind of search to for example show all docs starting with an a or A, I would just add an extra field only containing the first letter. This is *much* faster in lucene, and for many documents you don't risk the too many boolean clauses (though

RE: Question about synonyms

2007-07-12 Thread Ard Schrijvers
Hello, Brievly, what I'm looking for is a query that launch something like this: Giving the user search expression A B C D Generated Lucene query : (myfield:I OR myfield:J OR myfield:O OR myfield:K) if someone knows a way to reach this goal, please tell me how, i'm actually

RE: A few questions regarding multi-word synonyms and parameters encoding

2007-07-12 Thread Ard Schrijvers
Hello, but honestly i haven't relaly tried anything like this ... the code for parsing the synonyms.txt file probaly splits the individual synonyms on whitespace to prodce multiple tokens which might screw you up ... you may need to get creative (perhaps use a PatternReplaceFilter to

RE: Problems running SOLR 1.2 - documents not being indexed properly

2007-07-09 Thread Ard Schrijvers
Hello Daniel, it sounds strange to me because in SolrCore you can find in initIndex() that locks are removed at initialisation Regards Ard Hi I'm developing a search application using SOLR/Lucene and I think I found a bug. I was trying to index more documents and the total

RE: indexing documents (or pieces of a document) by access controls

2007-06-14 Thread Ard Schrijvers
Hello, When I had those kind of problems (less complex) with lucene, the only idea was to filter from the front-end, according to the ACL policy. Lucene docs and fields weren't protected, but tagged. Searching was always applied with a field audience, with hierarchical values like

RE: indexing documents (or pieces of a document) by access controls

2007-06-13 Thread Ard Schrijvers
Hello, Given the requirement to break down a document into separately controlled pieces, I'd create a servlet that fronts the Solr servlet and handles this conversion. I could think of ways to do it using Solr, but they feel like unnatural acts. As a general comment on ACLs, one

RE: indexing documents (or pieces of a document) by access controls

2007-06-13 Thread Ard Schrijvers
Hello, Hi And about the fields, if they are/aren't going to be present on the responses based on the user group, you can do it in many different ways (using XML transformation to remove the undesirable fields, implementing your own RequestHandler able to process your group

storing the document URI in the index

2007-06-12 Thread Ard Schrijvers
Hello, is it possible to configure solr to store the document URI in the lucene index (the URI is not an xml field, but just the document's location)? Or is everybody used to storing the contents of a document in the lucene index (doesn't this imply a much larger index though?), so instead of

RE: storing the document URI in the index

2007-06-12 Thread Ard Schrijvers
some directory with xml files, Regards Ard Schrijvers Yes. Set the field to be store and non-indexed, field type string is what I use. Or is everybody used to storing the contents of a document in the lucene index (doesn't this imply a much larger index though?), so instead

RE: storing the document URI in the index

2007-06-12 Thread Ard Schrijvers
value when adding documents. Otis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Simpy -- http://www.simpy.com/ - Tag - Search - Share - Original Message From: Ard Schrijvers [EMAIL PROTECTED] To: solr-user@lucene.apache.org Sent: Tuesday, June 12, 2007 9:02:25 AM

RE: indexing documents (or pieces of a document) by access controls

2007-06-12 Thread Ard Schrijvers
Hello Nate, IMHO, you will not be able to do this in solr unless you accept pretty hard constraints on your ACLs (I will get back to this in a moment). IMO, it is not possible to index documents along with ACLs. ACLs can be very fine grained, and the thing you describe, ACL specific parts of a

RE: storing the document URI in the index

2007-06-12 Thread Ard Schrijvers
Thanks Yonik and Walter, putting it that way, it does make good sense to not store the transient xml file which it is most of the usecases (I was thinking differently because I do have xml files on file system or over http, like from a webdav call) Anyway, thx for all answers, and again, sry

RE: indexing documents (or pieces of a document) by access controls

2007-06-12 Thread Ard Schrijvers
Excuse me, I meant solr ofcourse :-) For these reasons, I do not think you can achieve with solar