Search Discussions

66 discussions - 301 posts

  • I'm now studying lucene 4.0. 1, what is the startOffset and endOffset for ? is there a code example ? 2, what is payload ? I know just a little about it, and it can be used for things like font ...
    Nov 18, 2012 at 5:09 pm
    Jan 4, 2013 at 1:59 am
  • Does anyone have any experience with the stemmers? I know that Porter is what "everyone" uses. Am I better off with KStemFilter (better performance) or ?? Does anyone understand the differences ...
    Scott SmithScott Smith
    Nov 14, 2012 at 6:55 pm
    Nov 26, 2012 at 5:55 pm
  • Hi list, a user reported wrong sorting of our search service running on solr. While chasing this issue I traced it back through lucene into the index. I have a text field for sorting ...
    Bernd FehlingBernd Fehling
    Nov 12, 2012 at 1:19 pm
    Nov 15, 2012 at 4:34 pm
  • hi, I want to make sure that every comma (,) and semi-colon (;) is followed by a space prior to tokenizing. the idea is to then use a WhitespaceTokenizer which will keep commas but still split the ...
    Igal @ getRailo.orgIgal @ getRailo.org
    Nov 3, 2012 at 11:36 pm
    Nov 4, 2012 at 2:27 pm
  • We are trying to do a grouping search that spans multiple shards ordered by time. *ENTITY PARENT TIME SHARD* M1 C1 12-Nov-2010 A1 M2 C2 12-Nov-2011 A2 M3 C4 12-Feb-2012 A3 M4 C1 12-Nov-2012 A4 M5 C2 ...
    Ravikumar GovindarajanRavikumar Govindarajan
    Nov 16, 2012 at 2:35 pm
    Nov 21, 2012 at 1:32 pm
  • I understand lucene 2.x indexes are not compatible with the latest version of lucene 4.0. However we have all our indexes indexed with lucene 2.3. Now that we are planning to migrate to Lucene 4.0, ...
    Ramprakash RamamoorthyRamprakash Ramamoorthy
    Nov 20, 2012 at 10:16 am
    Dec 7, 2012 at 11:51 am
  • I recently implemented the ability for multiple users to open the index in the same process ("whoa", you might think, but this has been a single user application forever and we're only just making ...
    Nov 23, 2012 at 4:11 am
    Nov 30, 2012 at 7:01 am
  • Hi, why does virtually every method (exaggerating) throw an IOE? I know there might be a failure in the underlying IO (corrupt files, passing checked exc up, etc) but 1. Almost none of the has a ...
    Nov 2, 2012 at 1:20 pm
    Nov 5, 2012 at 7:50 am
  • Hi all. trying to figure out what I was doing wrong in some of my own code so I looked to LowerCaseFilter since I thought I remembered it doing this correctly, and lo and behold, it failed the same ...
    Nov 30, 2012 at 3:31 am
    Dec 4, 2012 at 9:44 am
  • Hello, I have two questin regarding handling German umlauts in Lucene: 1. I'm trying to find a way to convert German Umlauts written as 'ue', 'ae', etc to folded form 'u', 'a' and so on. This is done ...
    Dyga, AdamDyga, Adam
    Nov 19, 2012 at 9:47 am
    Nov 19, 2012 at 10:45 am
  • Hi list, while walking through the code with debugger (eclipse juno) I get the following: com.sun.jdi.InvocationException occurred invoking method. This is while trying to see ...
    Bernd FehlingBernd Fehling
    Nov 14, 2012 at 12:05 pm
    Nov 14, 2012 at 1:52 pm
  • I have two confused questions regarding Lucene implementation, hope someone can give me some clues. 1. It's about the AttributeSource/AttributeSourceImpl implemenation. Seems like the default ...
    Nov 4, 2012 at 9:41 pm
    Nov 5, 2012 at 12:31 am
  • Hi folks, while I do understand the workflow with this class, I do not understand when to call close(). The JavaDoc is not crystal clear on that. Am I supposed to call this method after release() or ...
    Nov 1, 2012 at 9:28 pm
    Nov 2, 2012 at 8:51 am
  • Hello all, can someone point me to info or docs on how a lucene search is conducted? i would like to have a better understanding of how this works in general - but also from a design perspective. for ...
    Nov 27, 2012 at 3:56 pm
    Nov 27, 2012 at 8:30 pm
  • Hi all, Recently, we are developing a platform with lucene. The ordering rule we specified is the document with the shortest distance between query terms ranks the first. But there may be a little ...
    Nov 19, 2012 at 1:07 pm
    Nov 21, 2012 at 6:35 pm
  • Hi, I have recently updated to Lucene 4.0, but having problems with my custom Analyzer/Tokenizer. In the days of Lucene 3.6, it would work like this: 0. define constants lucene_version and indexdir ...
    Carsten SchnoberCarsten Schnober
    Nov 19, 2012 at 4:45 pm
    Nov 20, 2012 at 11:44 am
  • Hi All, We are using lucene for searching data from the database in our enterprise application. The searches would be in a single index, whose documents are indexed from two different databases A and ...
    Selvakumar netajiSelvakumar netaji
    Nov 13, 2012 at 3:16 am
    Nov 13, 2012 at 12:02 pm
  • In our application, most users sit around in read-only mode all the time but there is one place where write access can occur, which is essentially scripted at the moment. (*) Currently, we start out ...
    Nov 7, 2012 at 4:09 am
    Nov 10, 2012 at 5:49 am
  • Hi , i'm hanging with a NPE Problem. This occurs only on production environment from day to day. Do anyone know some thing about this ? java.lang.NullPointerException at ...
    Martin SachsMartin Sachs
    Nov 12, 2012 at 8:19 am
    Nov 12, 2012 at 9:35 am
  • Hi folks, I have a question on PerFieldSimilarityWrapper. It seems that it is not possible to get per-field behavior on queryNorm() and coord()... The documentation for PerFieldAnalyzerWrapper ...
    Joel BarryJoel Barry
    Nov 7, 2012 at 10:24 pm
    Nov 9, 2012 at 8:24 pm
  • hi, I'm trying to migrate to Lucene 4. in Lucene 3.5 I extended org.apache.lucene.analysis.FilteringTokenFilter and overrode accept() to remove undesired shingles. in Lucene 4 ...
    Igal @ getRailo.orgIgal @ getRailo.org
    Nov 1, 2012 at 7:44 pm
    Nov 1, 2012 at 9:19 pm
  • Hi All, Now I want to sort by a field and the relevance For example SortField sortField[] = {new SortField("id", new CustomComparatorSource(bitSet)),SortField.FIELD_SCORE}; Sort sort = new ...
    Andy YuAndy Yu
    Nov 27, 2012 at 3:51 am
    Dec 2, 2012 at 8:47 am
  • Hi List, I'm working on a search engine for our forum using Lucene 4. Since its a brand new search engine, I can change it as I see fit. We have about 1.5M topics in the various subforums and on ...
    Arjen van der MeijdenArjen van der Meijden
    Nov 13, 2012 at 7:36 am
    Nov 24, 2012 at 9:31 am
  • is this method has been moved to some other class ? please provide alternative .. -- View this message in context ...
    Nov 23, 2012 at 7:27 am
    Nov 23, 2012 at 1:27 pm
  • Hi Guys, Having upgraded from lucene2.3.2 to lucene3.6.0 and jumping through a few hoops, we note that the CPU usage on the new version is perhaps 20-30% higher. The i/o wait appears about the same ...
    Kiwi cliveKiwi clive
    Nov 7, 2012 at 10:59 am
    Nov 9, 2012 at 3:42 pm
  • I don't mean to sound critical, but is there a reason that the API is not simpler? for example, if I want to read/modify a CharTermAttribute's value, I need to use toString() to get the value, which ...
    Igal @ getRailo.orgIgal @ getRailo.org
    Nov 5, 2012 at 6:33 pm
    Nov 5, 2012 at 8:20 pm
  • Is this a bug? when using group function, I set "groupingSearch.setAllGroups(true);", but it return groupCount = 0 I saw the source , I found that : if (allGroupHeads) { ...
    Nov 28, 2012 at 12:55 pm
    Dec 1, 2012 at 1:25 pm
  • Hi, I'm trying to use Lucene Facet for doing faceted searches. I've hit a problem with a use case where users in my application needs to be able to select multiple facets then run a search for things ...
    Jan StetteJan Stette
    Nov 21, 2012 at 5:27 pm
    Nov 22, 2012 at 11:53 am
  • I have a feature I wanted to implement which required a quick way to check whether an individual document matched a query or not. IndexSearcher.explain seemed to be a good fit for this. The query I ...
    Nov 20, 2012 at 11:19 pm
    Nov 21, 2012 at 2:07 am
  • Hi, Quick announcement for Uwe & Friends. UweSays is now a super-duper-special query operator over on http://search-lucene.com/ . Now whenever you want to know what Uwe says about something just ...
    Otis GospodneticOtis Gospodnetic
    Nov 19, 2012 at 8:40 pm
    Nov 20, 2012 at 8:30 am
  • for example: I indexed a doc with path=c:/books/appach.txt, author=Mike After a long time, I wanted to modify the author to John. But the quethion is how I can get the exact same doc fastly ?? My ...
    Nov 17, 2012 at 4:08 pm
    Nov 17, 2012 at 4:46 pm
  • Hi, Somebody asked about BM25 on solr-user and comparison to other relevancy scoring methods. Similarity has to be set at index time and should not be changed... but is there any one Similarity that ...
    Otis GospodneticOtis Gospodnetic
    Nov 16, 2012 at 4:31 am
    Nov 17, 2012 at 7:21 am
  • So currently, if I use StandardAnalyzer to construct a QueryParser, and pass tString "From: <span class="m_body_email_addr" title="3acd39d3ac95331a5a806fb31b64d6e2" someone@gmail.com</span " to the ...
    Bin LanBin Lan
    Nov 14, 2012 at 5:22 am
    Nov 15, 2012 at 2:27 am
  • Reading the documentation for these two filters seems to imply that CJKWidthFilter is a subset of ICUFoldingFilter. Is that true? I'm basically using the CjkAnalyzer (from Lucene 4.0) but adding ...
    Scott SmithScott Smith
    Nov 14, 2012 at 5:48 pm
    Nov 15, 2012 at 12:13 am
  • 2


    Hi.. can someone help me? i need to integrate LUCENE + SPRING + HIBERNATE and don't find any articlhe about this.. tks
    Fabio EbnerFabio Ebner
    Nov 9, 2012 at 1:15 pm
    Nov 9, 2012 at 2:53 pm
  • We recently upgrade our lucene library from 1.9.1 to 3.6.1 and we run into multiple AlreadyClosedException when doing search. Here is the stack: RetrievedDateMarker=2012-11-08 08:36:34.393 Error ...
    Bin LanBin Lan
    Nov 8, 2012 at 2:41 pm
    Nov 9, 2012 at 1:33 pm
  • Hi :) I would like the "text" field of my index to be case-insensitive. I'm using a PerFieldAnalyzerWrapper with a standardAnalyzer for this field for both indexing and querying. I read that ...
    Nov 7, 2012 at 3:51 pm
    Nov 8, 2012 at 9:15 am
  • Hi All, I am using lucene 3.x . I need some flexibility for document scoring . For instance, after the score of a document has been calculated with respect to a query , i want to look up additional ...
    Parnab kumarParnab kumar
    Nov 6, 2012 at 6:53 pm
    Nov 8, 2012 at 8:48 am
  • I've been reading about NRT thinking it might be good to integrate it into my code. However, I have a question. Suppose that the index writer and the index reader run in totally different JVMs (i.e., ...
    Scott SmithScott Smith
    Nov 5, 2012 at 11:33 pm
    Nov 7, 2012 at 6:17 pm
  • I'm trying to write a very simple method to show the different tokens that come out of a tokenizer. when I call WhitespaceTokenizer's (or LetterTokenizer's) incrementToken() method though I get an ...
    Igal @ getRailo.orgIgal @ getRailo.org
    Nov 1, 2012 at 11:32 pm
    Nov 1, 2012 at 11:50 pm
  • Hy Guys, I intend to extend DocumentStoredFieldVisitor class like this: class DocumentStoredNonRepeatableFieldVisitor extends DocumentStoredFieldVisitor { @Override public Status needsField(FieldInfo ...
    Ivan VasilevIvan Vasilev
    Nov 1, 2012 at 10:12 am
    Nov 1, 2012 at 5:42 pm
  • You know, I do search like below: Query query = new TermQuery(new Term(fieldName, *queryString*)); TopDocs topDocs = searcher.search(query, 100); int totalHits = topDocs.totalHits ...
    Nov 22, 2012 at 4:45 am
    Jun 27, 2013 at 5:51 pm
  • Hi, ShingleMatrixFilter was removed in https://issues.apache.org/jira/browse/LUCENE-2920 What do people use instead? Something custom? Or is there something in Lucene itself that can be used to get ...
    Otis GospodneticOtis Gospodnetic
    Nov 29, 2012 at 7:41 pm
    Nov 29, 2012 at 7:45 pm
  • I'm migrating code from Lucene 3.5 to 4.0. I have the following code which is supposed to highlight text. I get the exception InvalidTokenOffsetsException. I have no idea what that means. I am using ...
    Scott SmithScott Smith
    Nov 1, 2012 at 12:37 am
    Nov 28, 2012 at 10:50 am
  • for a search string hello*~ how the scoring is calculated? as the formula given in the url ...
    Sri krishnaSri krishna
    Nov 27, 2012 at 5:39 pm
    Nov 27, 2012 at 6:16 pm
  • How does lucene handle the prefix queries(wild card) and fuzzy queries internally? Lucene stores date in in for of inverted index in segments, i.e term- doc id's. How does it search a word in the ...
    Sri krishnaSri krishna
    Nov 27, 2012 at 5:37 pm
    Nov 27, 2012 at 6:08 pm
  • Hi, How can I get the last indexed timestamp of a Lucene Index? I am using Lucene 3.6. -- With Regards, Deepak Shakya
    Deepak ShakyaDeepak Shakya
    Nov 23, 2012 at 2:21 pm
    Nov 23, 2012 at 8:34 pm
  • Hi, I'm indexing names in a dedicated Lucene field and I wonder which analyzer to use for that purpose. Typically, the names are in the format "John Smith", so the WhitespaceAnalyzer is likely the ...
    Carsten SchnoberCarsten Schnober
    Nov 23, 2012 at 2:37 pm
    Nov 23, 2012 at 8:23 pm
  • Hi, We have a 32-bit python app which uses pylucence and bundles the JRE with it. This is installed on a 64-bit Windows 2012 Server with 16GB of RAM. The heap settings are: -Xms=64Mb and -Xmx=1024Mb ...
    Antony JosephAntony Joseph
    Nov 22, 2012 at 1:16 pm
    Nov 22, 2012 at 2:13 pm
  • Hi, I use a custom analyzer and tokenizer. The analyzer is very basic and it merely comprises the method createComponents(): ------------------------------------------------------------- @Override ...
    Carsten SchnoberCarsten Schnober
    Nov 21, 2012 at 1:51 pm
    Nov 21, 2012 at 3:19 pm
Group Navigation
period‹ prev | Nov 2012 | next ›
Group Overview
groupjava-user @

82 users for November 2012

Michael McCandless: 18 posts Robert Muir: 18 posts Ian Lea: 16 posts Uwe Schindler: 16 posts Igal Sapir: 15 posts Trejkaz: 14 posts Jack Krupansky: 13 posts Scott Smith: 11 posts Ravikumar Govindarajan: 10 posts Bernd Fehling: 9 posts Erick Erickson: 8 posts Kiwi clive: 8 posts Wgggfiy: 8 posts Michael-O: 7 posts Carsten Schnober: 6 posts Arjen van der Meijden: 5 posts Michael Sokolov: 5 posts Shai Erera: 5 posts Bin Lan: 4 posts Lukai: 4 posts
show more