Search Discussions

105 discussions - 392 posts

  • I was wondering if people thought that making Highlighter.mergeContiguousFragments() public (and non-final) would be acceptable. In my application, I want to strip all fragments with score == 0 ...
    Dave GolombekDave Golombek
    Oct 23, 2007 at 2:53 pm
    Nov 2, 2007 at 3:14 pm
  • Hi, I've been going nuts trying to use LuceneParser parse query strings using the default operator AND correctly: String queryString = getQueryString(); QueryParser parser = new QueryParser("text", ...
    Martin DietzeMartin Dietze
    Oct 9, 2007 at 7:56 am
    Oct 12, 2007 at 8:15 am
  • Hi, Has anyone written an analyzer that preserves puncuation and synmbols ("£", "$", "%" etc.) as tokens? That way we could distinguish between searching for "100" and "100%" or "$100". Does anyone ...
    John ByrneJohn Byrne
    Oct 1, 2007 at 1:37 pm
    Dec 21, 2007 at 12:23 am
  • Folks! We are building a web-based multi-user system. Users of our system are able to categorize items that they have found into groups of related documents. We would like users to be able to search ...
    Lucene userLucene user
    Oct 24, 2007 at 6:18 am
    Oct 25, 2007 at 10:00 am
  • Hi All I am getting this error when I am doing Indexing using Lucene. java.io.IOException: Access is denied on java.io.WinNTFileSystem.createFileExclusively Please let me know if there is any fix for ...
    Narendra yadalaNarendra yadala
    Oct 8, 2007 at 1:59 pm
    Oct 9, 2007 at 4:54 am
  • Hai, Has any one tried to port lucene on to a mobile phone. I need a text-based search engine for mobile phone as part of my project. Or is there any other J2ME based API which can be used to search ...
    Saikrishna venkata pendyalaSaikrishna venkata pendyala
    Oct 8, 2007 at 1:37 pm
    Oct 8, 2007 at 5:28 pm
  • I was just looking into couple of search engines like indeed.com or bixee.com and I really got surprised the accuracy of information they have built in their indexes and also they provide for search ...
    Cool CoderCool Coder
    Oct 23, 2007 at 4:11 pm
    Oct 23, 2007 at 6:23 pm
  • I've been using the Lucene demo from http://lucene.apache.org/java/2_1_0/demo.html I have a set of documents with filenames that give a good indication of content. A filename of 12 digits (I think ...
    Oct 29, 2007 at 5:06 pm
    Nov 12, 2007 at 7:31 pm
  • Hi, Were planning to use Lucene or Solr within our application and wanted to know if it can support the following: Scenario: We have (say) 5 fields in a document which need to be indexed. 4 fields ...
    Oct 4, 2007 at 6:47 pm
    Oct 10, 2007 at 5:02 pm
  • Hi again,As the subject would suggest I'm trying to implement a layer of proximity weighting over lucene. This has greatly increased search relevance, but at the same time has knocked down ...
    Kyle MaxwellKyle Maxwell
    Oct 4, 2007 at 12:17 am
    Oct 7, 2007 at 10:20 pm
  • Hi, We are using Lucene 2.3. The problem we are facing is quite a few times if our application is stopped (killed or crash) while Indexer is doing its job, the next time when we bring up the ...
    Vivek sarVivek sar
    Oct 5, 2007 at 1:31 am
    Oct 7, 2007 at 10:03 pm
  • Hello, I am seeing that a query with boolean queries in boolean queries takes much longer than just a single boolean query when the number of hits if fairly large. For example +prop1:a +prop2:b ...
    Ard SchrijversArd Schrijvers
    Oct 26, 2007 at 7:37 am
    Nov 6, 2007 at 11:13 pm
  • Hi all the following is using Lucene 2.2.0. I've been trying to alter the scoring of my search results to boost by date. My idea was to boost documents while indexing using the date but it doesn't ...
    Bruno DeryBruno Dery
    Oct 30, 2007 at 8:34 pm
    Oct 31, 2007 at 4:36 pm
  • Hi, We have a requirement to allow users of our search application to use "NOT" operator on a single term. For example, if the user enters "not customer", they are expecting the search to return ...
    Oct 25, 2007 at 5:57 pm
    Oct 29, 2007 at 4:22 pm
  • Hi, I am thinking about caching search results for common queries and just want to check that for small numbers of results it would be better to store the doc number as ints or shorts than to store a ...
    John PattersonJohn Patterson
    Oct 26, 2007 at 8:51 pm
    Oct 28, 2007 at 11:59 pm
  • Hi, I am looking for an easy (~preferred) way of implementing customized search with Lucene. What I mean by this is changing order of returned hits according to user profile. In simple words I would ...
    Lukas VlcekLukas Vlcek
    Oct 13, 2007 at 6:54 am
    Oct 25, 2007 at 8:41 am
  • Hi everyone, I have a question that I can't quite seem to find the answer to by googling or searching the archives of this mailing list. The problem is I would like to weight some fields more than ...
    Scott PhillipsScott Phillips
    Oct 10, 2007 at 4:42 am
    Oct 12, 2007 at 3:14 pm
  • I'm confused by this method. Why is the length set to maxDoc() and not bytes.length? This means that the following snippet will throw an ArrayIndexOutOfBoundsException in most cases: byte[] b = new ...
    Karl WettinKarl Wettin
    Oct 6, 2007 at 4:40 pm
    Oct 7, 2007 at 10:15 pm
  • Hi, We have an application in which we want to index feeds. Each feed is a collection of articles and some other metadata. The problem is that sometimes we want to search for feeds and sometimes for ...
    Raghu RamRaghu Ram
    Oct 6, 2007 at 3:21 am
    Oct 7, 2007 at 9:50 pm
  • I'm indexing a dataset with lots of short fields. I have determined that it would be useful to highly boost matches where every term in this field is represented in the query. i.e.: Query: lucene ...
    Kyle MaxwellKyle Maxwell
    Oct 3, 2007 at 6:21 pm
    Oct 3, 2007 at 9:36 pm
  • Hi, Is there any way to find out if an instance of Query has any terms within it? I have a custom parser (QueryParser does not do everything I need) and it somtimes creates empty BooleanQuerys. (This ...
    John ByrneJohn Byrne
    Oct 5, 2007 at 4:23 pm
    Jan 16, 2013 at 9:25 pm
  • The subject pretty much describes the issue. If I multithread an indexing process can two or more processes write to the same index? My knowledge of Lucene says no but I am hoping that I am missing ...
    Michael PrichardMichael Prichard
    Oct 30, 2007 at 4:06 am
    Oct 31, 2007 at 10:20 am
  • Hello, I am getting one exception while running my Search.jsp. Exception is org.apache.lucene.store.Directory.* ; not found. Even I have using lucene1.3, lucene1.4,lucene2.2 jars in my project. ...
    Dinesh chotheDinesh chothe
    Oct 27, 2007 at 11:20 am
    Oct 29, 2007 at 6:07 am
  • hi, Can anyone of you guide me, how to index into an already indexed folder. Right now, I am deleting the indexed info and running the indexer again. I dont want to do that. I want a method, how to ...
    Oct 25, 2007 at 5:35 pm
    Oct 26, 2007 at 12:52 pm
  • Hi Guys, I have made tests with the CJKAnalyzer and the results show something that seems very strange to me. First I have to say that I do not understand non of the CJK languages. What I do is the ...
    Ivan VasilevIvan Vasilev
    Oct 22, 2007 at 3:40 pm
    Oct 24, 2007 at 10:33 am
  • Hi All! We use lucene 2.0.0 as the search index of our portal (liferay based) and are trying to use it correctly in a cluster... I'm very foggy on wether i should share the index file using NFS (the ...
    Alexander WallaceAlexander Wallace
    Oct 17, 2007 at 9:57 pm
    Oct 19, 2007 at 2:37 am
  • I'm trying to over-ride QueryParser.getWildcardQuery to use filtering. I'm missing something, because the following still gets the maxBooleanClauses limit. I guess the terms are still expanded even ...
    Beard, BrianBeard, Brian
    Oct 12, 2007 at 5:43 pm
    Oct 12, 2007 at 6:21 pm
  • I would like to score a single document from a corpus based on a given query. The formula score(q,d) is basically what I am looking for. Pseudo Code of Something Close to what I am looking for: ...
    Oct 10, 2007 at 5:19 pm
    Oct 12, 2007 at 3:12 pm
  • I don't understand, why does the following code create 2 phrase queries instead of 20 term queries? I'm quite sure I've previously had QueryParser doing the latter. System.out.println(new ...
    Karl WettinKarl Wettin
    Oct 11, 2007 at 5:48 pm
    Oct 12, 2007 at 8:41 am
  • Hello, How is progress on the new Lucene in Action coming? Thanks, Peter W. --------------------------------------------------------------------- To unsubscribe, e-mail: ...
    Peter W.Peter W.
    Oct 9, 2007 at 5:20 pm
    Oct 10, 2007 at 12:30 pm
  • Hello, I have simple lucene 2.2 index created. I want to list all the terms and their positions in a document. how can I do it ? Can you please provide some sample code. Thanks !
    Developer DeveloperDeveloper Developer
    Oct 7, 2007 at 4:22 pm
    Oct 9, 2007 at 1:03 pm
  • I have been experimenting with payloads and BoostingTermQuery, which I think are excellent additions to Lucene core. Currently, BoostingTermQuery extends SpanQuery. I would suggest changing this ...
    Peter KeeganPeter Keegan
    Oct 2, 2007 at 10:45 pm
    Oct 3, 2007 at 1:20 am
  • Hi, I can't seem to find a way to delete duplicate in lucene index. I hve a unique key so it seems to be straight forward. But I can't find a simple way to do it except for putting each record in the ...
    Johnny R. Ruiz IIIJohnny R. Ruiz III
    Oct 2, 2007 at 2:26 am
    Oct 2, 2007 at 3:27 pm
  • Are there any issues surrounding TermDocs.skipTo(). I have a index that works okay if I use TermDocs.next() to find next doc id, but using skipTo to go to the one after a point can miss sometimes. ...
    Mike StreetonMike Streeton
    Oct 29, 2007 at 2:11 pm
    Nov 5, 2007 at 2:30 pm
  • Hi all, I'm following the suggestion of this forum on how create a suggestion service like google suggest. I'm parsing a words/rank file with my words. For each word, I'm adding a document with ...
    Oct 30, 2007 at 4:56 pm
    Nov 4, 2007 at 9:30 am
  • Dear experts, I need to store and index a string of text into Lucene, and later I want to get the Id of each term inside this string. Is it possible? How can I do that? I want a unique association, ...
    Ilias FlaounasIlias Flaounas
    Oct 31, 2007 at 10:57 am
    Oct 31, 2007 at 1:20 pm
  • I want to match on the exact phrase "foo bar dot" on a specific field on my set of documents. I only want results where that field has exactly "foo bar dot" and no more terms. I.e. A document with ...
    Tobias HillTobias Hill
    Oct 30, 2007 at 4:10 pm
    Oct 30, 2007 at 4:59 pm
  • I'm trying to use the class org.apache.lucene.analysis.ngram.EdgeNGramTokenizer. I 'm using lucene 2.2.0 and I included i my classpath lucene-core-2.2.0.jar. I have: Java HotSpot(TM) Client VM (build ...
    Oct 30, 2007 at 10:59 am
    Oct 30, 2007 at 11:41 am
  • Hi, What's the best way to maintain an index that is sorted? -- View this message in context: http://www.nabble.com/Sorted-Index-tf4701044.html#a13438928 Sent from the Lucene - Java Users mailing ...
    John PattersonJohn Patterson
    Oct 27, 2007 at 3:03 am
    Oct 27, 2007 at 9:12 am
  • Hi, I am doing a simple conjunction search for documents that do not need to be scored or sorted and was wondering if there is a way to stop the search from a hit collector when I have enough hits? I ...
    John PattersonJohn Patterson
    Oct 26, 2007 at 8:41 pm
    Oct 27, 2007 at 12:08 am
  • hi, I am using lucene2.2.0 for my application. I have a searcher.java class. The problem I am facing is, it is not supporting Query query = QueryParser.parse(q, "contents",new StandardAnalyzer()); it ...
    Oct 25, 2007 at 5:39 pm
    Oct 26, 2007 at 4:34 am
  • hello-- i'm using MoreLikeThis. i'm trying to run the document comparison across more than one field in my index, but i'm not at all sure that it's actually happening -- when i examine the ...
    Chris SizemoreChris Sizemore
    Oct 21, 2007 at 3:22 pm
    Oct 22, 2007 at 7:01 pm
  • Hi all, I need the ability to match documents that have two terms that occur within n paragraphs of each other. I had a look through the archives, and although many people have explained ways to ...
    John ByrneJohn Byrne
    Oct 22, 2007 at 11:32 am
    Oct 22, 2007 at 1:33 pm
  • Hi All, I was looking for a way to do a range query on 2 numeric field of my index. The tricky part is, I don't directly use the numeric field but I have to use it on a computation formula to satisfy ...
    Johnny R. Ruiz IIIJohnny R. Ruiz III
    Oct 21, 2007 at 1:45 am
    Oct 21, 2007 at 10:23 pm
  • We've run into a situation where having "NOT NEAR" queries would really help. I haven't been able to find any discussion of adding this to Lucene in the past, so wanted to ask if people had any ...
    Dave GolombekDave Golombek
    Oct 17, 2007 at 3:58 pm
    Oct 17, 2007 at 7:37 pm
  • Hi, Does Lucene have the function to return top 5 most frequency keywords in the article? Thanks, Jae
    Jae JooJae Joo
    Oct 16, 2007 at 8:15 pm
    Oct 16, 2007 at 11:27 pm
  • Could those "in the know" comment on my current understanding of stemming and stopwords using the snowball analyzer? In my application, I am using the MoreLikeThis class to find similar documents to ...
    Donna L GreshDonna L Gresh
    Oct 15, 2007 at 2:24 pm
    Oct 15, 2007 at 3:47 pm
  • Hi, i tried to implement a 'did you mean'-function (and successed in some way). But the hints from the SpellChecker are the stemmed versions of the keywords. For example, the search for the wrong ...
    Christian AschoffChristian Aschoff
    Oct 12, 2007 at 1:52 pm
    Oct 13, 2007 at 8:38 am
  • Hello Gurus, I just started working on a lucene based project and I need your help on the following queries. The result of search needs to show a summary based on a Field value. One of the field in ...
    Cool CoderCool Coder
    Oct 8, 2007 at 5:01 pm
    Oct 9, 2007 at 1:10 pm
  • Hi, I am working on a lucene email indexing system which potentially can get documents in various languages. Currently I am using StandardAnalyzer, which works for English but not for many of the ...
    Dino KorahDino Korah
    Oct 1, 2007 at 1:27 pm
    Oct 1, 2007 at 10:05 pm
Group Navigation
period‹ prev | Oct 2007 | next ›
Group Overview
groupjava-user @

112 users for October 2007

Karl Wettin: 29 posts Mark Miller: 21 posts Chris Hostetter: 19 posts Erick Erickson: 17 posts Grant Ingersoll: 17 posts Daniel Naber: 13 posts Cool Coder: 9 posts Yonik Seeley: 9 posts Chris Lu: 8 posts Ivan Vasilev: 8 posts John Byrne: 8 posts Mark harwood: 8 posts Paul Elschot: 8 posts Martin Dietze: 7 posts Michael McCandless: 7 posts Narendra yadala: 7 posts Doron Cohen: 6 posts John Patterson: 6 posts Saikrishna venkata pendyala: 6 posts Beard, Brian: 5 posts
show more