Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
100% Quality Score
Upvotes Received
1
Posts with Upvotes
1
Upvoting Members
1
Downvotes Received
0
Posts with Downvotes
0
Downvoting Members
0
0 Endorsements
~876 People Reached
Favorite Tags
Member Avatar for mayank.15

Hey Everyone! I am a newcomer to Lucene and Nutch usage. I crawled a few webpages to create an Index using Nutch. Now instead of using Tomcat to search through this created index, I wanted to search through this index using a typical search in Lucene. Now, I realized that …

Member Avatar for b.s.herbert
1
91
Member Avatar for mayank.15

I am using Lucene Highlighter 2.4.1 for my application. I use the highlighter to get the best matching fragments, and display them. I make a call to a function String[] getFragmentsWithHighlightedTerms(Analyzer analyzer, Query query, String fieldName, String fieldContents, int fragmentsNumber, int fragmentSize). For example : [code=java] String text = doc.get("MetaData"); …

Member Avatar for ~s.o.s~
0
163
Member Avatar for mayank.15

Im trying to run my java application, but after some time it automatically stops and throws OutOfMemoryException: Java heap space. Now when i try to run it using (say) (-Xmx allocates the maximum heap memory) java -Xmx2000m [AppName] then it says Error occured during initialization of VM Could not reserve …

Member Avatar for mayank.15
0
175
Member Avatar for mayank.15

I am working on a project in which i have to crawl through a number of *.jsp files and index some data from them. These files contain links to other jsps and .wav files. However, these links are of the form $root_dir$/<%=language%>ABC.wav, there language is a variable defined in the …

Member Avatar for jwenting
0
128
Member Avatar for mayank.15

I had this basic question. Suppose I have a directory on my computer C:\Abc\New. Now I can access this directory using : File file = new File("C:\\Abc\\New"); Now I can open all the files inside this directory using : File[] files = file.listFiles(); And I can process the files individually …

Member Avatar for mayank.15
0
319